Carna  Version 3.0.1
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
Carna::helpers::details::VolumeGridHelper::HUComponent< SegmentHUVolumeType, SegmentNormalsVolumeType > Class Template Reference

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

#include <VolumeGridHelperDetails.h>

+ Inheritance diagram for Carna::helpers::details::VolumeGridHelper::HUComponent< SegmentHUVolumeType, SegmentNormalsVolumeType >:
+ Collaboration diagram for Carna::helpers::details::VolumeGridHelper::HUComponent< SegmentHUVolumeType, SegmentNormalsVolumeType >:

Public Member Functions

 HUComponent ()
 Sets the role to use for attaching textures to base::Geometry nodes to DEFAULT_ROLE_HU_VOLUME.
 
void setHUVolumeRole (unsigned int role)
 Sets the role to use for attaching textures to base::Geometry nodes.
 
unsigned int huVolumeRole () const
 Tels the role used for attaching textures to base::Geometry nodes.
 
- Public Member Functions inherited from Carna::helpers::details::VolumeGridHelper::TextureManager< HUTextureFactory< SegmentHUVolumeType, SegmentNormalsVolumeType > >
virtual ~TextureManager ()
 Releases all textures and deletes.
 
void releaseGeometryFeatures ()
 Releases all textures.
 

Static Public Attributes

static const unsigned int DEFAULT_ROLE_HU_VOLUME = 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< SegmentHUVolumeType, SegmentNormalsVolumeType > &segment) const
 Attaches the texture that represents the base::VolumeSegment::huVolume of segment to geometry using the previously configured role.
 
void initializeSegment (base::VolumeSegment< SegmentHUVolumeType, SegmentNormalsVolumeType > &segment, const base::math::Vector3ui &size) const
 Initializes HU volume of segment.
 
- Protected Member Functions inherited from Carna::helpers::details::VolumeGridHelper::TextureManager< HUTextureFactory< SegmentHUVolumeType, SegmentNormalsVolumeType > >
void attachTexture (base::Geometry &geometry, unsigned int role, const base::VolumeSegment< typename HUTextureFactory< SegmentHUVolumeType, SegmentNormalsVolumeType >::SegmentHUVolume, typename HUTextureFactory< SegmentHUVolumeType, SegmentNormalsVolumeType >::SegmentNormalsVolume > &segment) const
 Attaches the texture that TextureFactory creates from segment to geometry using role.
 

Detailed Description

template<typename SegmentHUVolumeType, typename SegmentNormalsVolumeType>
class Carna::helpers::details::VolumeGridHelper::HUComponent< SegmentHUVolumeType, SegmentNormalsVolumeType >

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

Author
Leonid Kostrykin
Date
27.3.15 - 29.3.15

Definition at line 260 of file VolumeGridHelperDetails.h.


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