Carna
Version 3.3.2
|
Represents a single volumetric data partition. More...
#include <VolumeSegment.h>
Public Types | |
typedef VolumeGrid< SegmentIntensityVolumeType, SegmentNormalsVolumeType > | Grid |
Reflects the type to use for representation of the whole volumetric data partitioning. | |
typedef SegmentIntensityVolumeType | IntensityVolume |
Reflects the type to use for storing the intensity volume of a single partition. | |
typedef SegmentNormalsVolumeType | NormalsVolume |
Reflects the type to use for storing the normal map of a single partition. | |
Public Member Functions | |
VolumeSegment (Grid &grid) | |
Instantiates. More... | |
void | setIntensities (Association< SegmentIntensityVolumeType > *intensities) |
Sets the intensity volume data of this partition. | |
SegmentIntensityVolumeType & | intensities () |
References the intensity volume data of this partition. More... | |
const SegmentIntensityVolumeType & | intensities () const |
bool | hasIntensities () const |
Tells whether this partition has intensity volume data associated. | |
![]() | |
virtual | ~VolumeSegmentNormalsComponent () |
Deletes. | |
void | setNormals (Association< SegmentNormalsVolumeType > *volume) |
Sets the normal map of this partition. | |
SegmentNormalsVolumeType & | normals () |
References the normal map of this partition. More... | |
const SegmentNormalsVolumeType & | normals () const |
bool | hasNormals () const |
Tells whether this partition has a normal map associated. | |
Public Attributes | |
Grid & | grid |
References the volumetric data partitioning this partition belongs to. | |
math::Vector3ui | offset |
Holds the coordinate offset this partition within the whole volumetric data partitioning. | |
Represents a single volumetric data partition.
Definition at line 163 of file VolumeSegment.h.
Carna::base::VolumeSegment< SegmentIntensityVolumeType, SegmentNormalsVolumeType >::VolumeSegment | ( | Grid & | grid | ) |
Instantiates.
grid | references the volumetric data partitioning this partition belongs to. |
Definition at line 236 of file VolumeSegment.h.
SegmentIntensityVolumeType & Carna::base::VolumeSegment< SegmentIntensityVolumeType, SegmentNormalsVolumeType >::intensities | ( | ) |
References the intensity volume data of this partition.
hasIntensities() == true
Definition at line 250 of file VolumeSegment.h.
const SegmentIntensityVolumeType & Carna::base::VolumeSegment< SegmentIntensityVolumeType, SegmentNormalsVolumeType >::intensities | ( | ) | const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 258 of file VolumeSegment.h.
Documentation generated by Doxygen