Carna Version 3.3.3
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
Carna::helpers::details::VolumeGridHelper::IntensityComponent< SegmentIntensityVolumeType, SegmentNormalsVolumeType > Class Template Reference

Defines the helpers::VolumeGridHelper component that maintains intensity volume data. More...

#include <VolumeGridHelperDetails.h>

+ Inheritance diagram for Carna::helpers::details::VolumeGridHelper::IntensityComponent< SegmentIntensityVolumeType, SegmentNormalsVolumeType >:
+ Collaboration diagram for Carna::helpers::details::VolumeGridHelper::IntensityComponent< SegmentIntensityVolumeType, SegmentNormalsVolumeType >:

Public Member Functions

 IntensityComponent ()
 Sets the role to use for attaching textures to base::Geometry nodes to DEFAULT_ROLE_INTENSITIES.
 
void setIntensitiesRole (unsigned int role)
 Sets the role to use for attaching textures to base::Geometry nodes.
 
unsigned int intensitiesRole () const
 Tels the role used for attaching textures to base::Geometry nodes.
 
- Public Member Functions inherited from Carna::helpers::details::VolumeGridHelper::TextureManager< IntensityTextureFactory< SegmentIntensityVolumeType, SegmentNormalsVolumeType > >
virtual ~TextureManager ()
 Releases all textures and deletes.
 
void releaseGeometryFeatures ()
 Releases all textures.
 

Static Public Attributes

static const unsigned int DEFAULT_ROLE_INTENSITIES = 0
 Holds the default role to use for attaching textures to base::Geometry nodes.
 

Protected Member Functions

void attachTexture (base::Geometry &geometry, const base::VolumeSegment< SegmentIntensityVolumeType, SegmentNormalsVolumeType > &segment) const
 Attaches the texture that represents the base::VolumeSegment::intensities of segment to geometry using the previously configured role.
 
void initializeSegment (base::VolumeSegment< SegmentIntensityVolumeType, SegmentNormalsVolumeType > &segment, const base::math::Vector3ui &size) const
 Initializes intensity volume of segment.
 
- Protected Member Functions inherited from Carna::helpers::details::VolumeGridHelper::TextureManager< IntensityTextureFactory< SegmentIntensityVolumeType, SegmentNormalsVolumeType > >
void attachTexture (base::Geometry &geometry, unsigned int role, const base::VolumeSegment< typename TextureFactory::SegmentIntensityVolume, typename TextureFactory::SegmentNormalsVolume > &segment) const
 Attaches the texture that TextureFactory creates from segment to geometry using role.
 

Detailed Description

template<typename SegmentIntensityVolumeType, typename SegmentNormalsVolumeType>
class Carna::helpers::details::VolumeGridHelper::IntensityComponent< SegmentIntensityVolumeType, SegmentNormalsVolumeType >

Defines the helpers::VolumeGridHelper component that maintains intensity volume data.

Author
Leonid Kostrykin
Date
27.3.15 - 29.3.15

Definition at line 260 of file VolumeGridHelperDetails.h.

Constructor & Destructor Documentation

◆ IntensityComponent()

template<typename SegmentIntensityVolumeType , typename SegmentNormalsVolumeType >
Carna::helpers::details::VolumeGridHelper::IntensityComponent< SegmentIntensityVolumeType, SegmentNormalsVolumeType >::IntensityComponent ( )

Sets the role to use for attaching textures to base::Geometry nodes to DEFAULT_ROLE_INTENSITIES.

Definition at line 314 of file VolumeGridHelperDetails.h.

Member Function Documentation

◆ attachTexture()

template<typename SegmentIntensityVolumeType , typename SegmentNormalsVolumeType >
void Carna::helpers::details::VolumeGridHelper::IntensityComponent< SegmentIntensityVolumeType, SegmentNormalsVolumeType >::attachTexture ( base::Geometry geometry,
const base::VolumeSegment< SegmentIntensityVolumeType, SegmentNormalsVolumeType > &  segment 
) const
protected

Attaches the texture that represents the base::VolumeSegment::intensities of segment to geometry using the previously configured role.

Definition at line 335 of file VolumeGridHelperDetails.h.

◆ initializeSegment()

template<typename SegmentIntensityVolumeType , typename SegmentNormalsVolumeType >
void Carna::helpers::details::VolumeGridHelper::IntensityComponent< SegmentIntensityVolumeType, SegmentNormalsVolumeType >::initializeSegment ( base::VolumeSegment< SegmentIntensityVolumeType, SegmentNormalsVolumeType > &  segment,
const base::math::Vector3ui size 
) const
protected

Initializes intensity volume of segment.

Definition at line 345 of file VolumeGridHelperDetails.h.

◆ intensitiesRole()

template<typename SegmentIntensityVolumeType , typename SegmentNormalsVolumeType >
unsigned int Carna::helpers::details::VolumeGridHelper::IntensityComponent< SegmentIntensityVolumeType, SegmentNormalsVolumeType >::intensitiesRole ( ) const

Tels the role used for attaching textures to base::Geometry nodes.

Definition at line 328 of file VolumeGridHelperDetails.h.

◆ setIntensitiesRole()

template<typename SegmentIntensityVolumeType , typename SegmentNormalsVolumeType >
void Carna::helpers::details::VolumeGridHelper::IntensityComponent< SegmentIntensityVolumeType, SegmentNormalsVolumeType >::setIntensitiesRole ( unsigned int  role)

Sets the role to use for attaching textures to base::Geometry nodes.

Definition at line 321 of file VolumeGridHelperDetails.h.

Member Data Documentation

◆ DEFAULT_ROLE_INTENSITIES

template<typename SegmentIntensityVolumeType , typename SegmentNormalsVolumeType >
const unsigned int Carna::helpers::details::VolumeGridHelper::IntensityComponent< SegmentIntensityVolumeType, SegmentNormalsVolumeType >::DEFAULT_ROLE_INTENSITIES = 0
static

Holds the default role to use for attaching textures to base::Geometry nodes.

Definition at line 271 of file VolumeGridHelperDetails.h.


The documentation for this class was generated from the following file: