Carna
Version 3.0.1
|
Represents a single volumetric data partition. More...
#include <VolumeSegment.h>
Public Types | |
typedef VolumeGrid< SegmentHUVolumeType, SegmentNormalsVolumeType > | Grid |
Reflects the type to use for representation of the whole volumetric data partitioning. | |
typedef SegmentHUVolumeType | HUVolume |
Reflects the type to use for storing the HU 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 | setHUVolume (Association< SegmentHUVolumeType > *huVolume) |
Sets the HU volume data of this partition. | |
SegmentHUVolumeType & | huVolume () |
References the HU volume data of this partition. More... | |
const SegmentHUVolumeType & | huVolume () const |
bool | hasHUVolume () const |
Tells whether this partition has HU 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< SegmentHUVolumeType, SegmentNormalsVolumeType >::VolumeSegment | ( | Grid & | grid | ) |
Instantiates.
grid | references the volumetric data partitioning this partition belongs to. |
Definition at line 236 of file VolumeSegment.h.
SegmentHUVolumeType & Carna::base::VolumeSegment< SegmentHUVolumeType, SegmentNormalsVolumeType >::huVolume | ( | ) |
References the HU volume data of this partition.
hasHUVolume() == true
Definition at line 250 of file VolumeSegment.h.
const SegmentHUVolumeType & Carna::base::VolumeSegment< SegmentHUVolumeType, SegmentNormalsVolumeType >::huVolume | ( | ) | 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