Defines type-parameters-independent VolumeGridHelper base interface.
More...
#include <VolumeGridHelper.h>
|
struct | Dimensions |
| Specifies the dimensions of the whole dataset in millimeters. More...
|
|
struct | Spacing |
| Specifies the spacing between two succeeding voxel centers in millimeters. More...
|
|
|
static const std::size_t | DEFAULT_MAX_SEGMENT_BYTESIZE = 2 * 300 * 300 * 300 |
| Default maximum memory size of a single segment volume, 50 megabytes approximately. This determines the segments partitioning. More...
|
|
Defines type-parameters-independent VolumeGridHelper base interface.
- Author
- Leonid Kostrykin
- Date
- 3.4.15
Definition at line 48 of file VolumeGridHelper.h.
Carna::helpers::VolumeGridHelperBase::VolumeGridHelperBase |
( |
const base::math::Vector3ui & |
nativeResolution | ) |
|
Instantiates.
- Parameters
-
nativeResolution | is the resolution the grid is to be prepared for. |
- Since
- API Version 3.0.1
virtual base::Node* Carna::helpers::VolumeGridHelperBase::createNode |
( |
unsigned int |
geometryType, |
|
|
const Spacing & |
spacing |
|
) |
| const |
|
pure virtual |
virtual base::Node* Carna::helpers::VolumeGridHelperBase::createNode |
( |
unsigned int |
geometryType, |
|
|
const Dimensions & |
dimensions |
|
) |
| const |
|
pure virtual |
virtual void Carna::helpers::VolumeGridHelperBase::releaseGeometryFeatures |
( |
| ) |
|
|
pure virtual |
Releases all previously acquired textures. Invoke this method when the volume data changes.
If this method is not invoked after an update of the volume data, succeeding calls to createNode will not reflect the new data. Note however, that if you call this method between two invocations of createNode without the volume data been altered, same textures will get uploaded twice to video memory, i.e. video resources will be wasted.
Implemented in Carna::helpers::VolumeGridHelper< SegmentHUVolumeType, SegmentNormalsVolumeType >.
const std::size_t Carna::helpers::VolumeGridHelperBase::DEFAULT_MAX_SEGMENT_BYTESIZE = 2 * 300 * 300 * 300 |
|
static |
Default maximum memory size of a single segment volume, 50 megabytes approximately. This determines the segments partitioning.
- Since
- API Version 3.0.1
Definition at line 59 of file VolumeGridHelper.h.
The documentation for this class was generated from the following file: