LibCarna Version 3.4.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
LibCarna::base::VolumeSegment< SegmentIntensityVolumeType, SegmentNormalsVolumeType > Class Template Reference

Represents a single volumetric data partition. More...

#include <VolumeSegment.hpp>

+ Inheritance diagram for LibCarna::base::VolumeSegment< SegmentIntensityVolumeType, SegmentNormalsVolumeType >:
+ Collaboration diagram for LibCarna::base::VolumeSegment< SegmentIntensityVolumeType, SegmentNormalsVolumeType >:

Public Types

typedef VolumeGrid< SegmentIntensityVolumeType, SegmentNormalsVolumeTypeGrid
 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.
 
void setIntensities (Association< SegmentIntensityVolumeType > *intensities)
 Sets the intensity volume data of this partition.
 
SegmentIntensityVolumeTypeintensities ()
 References the intensity volume data of this partition.
 
const SegmentIntensityVolumeTypeintensities () const
 
bool hasIntensities () const
 Tells whether this partition has intensity volume data associated.
 
- Public Member Functions inherited from LibCarna::base::VolumeSegmentNormalsComponent< SegmentNormalsVolumeType >
virtual ~VolumeSegmentNormalsComponent ()
 Deletes.
 
void setNormals (Association< SegmentNormalsVolumeType > *volume)
 Sets the normal map of this partition.
 
SegmentNormalsVolumeTypenormals ()
 References the normal map of this partition.
 
const SegmentNormalsVolumeTypenormals () const
 
bool hasNormals () const
 Tells whether this partition has a normal map associated.
 

Public Attributes

Gridgrid
 References the volumetric data partitioning this partition belongs to.
 
math::Vector3ui offset
 Holds the coordinate offset this partition within the whole volumetric data partitioning.
 

Detailed Description

template<typename SegmentIntensityVolumeType, typename SegmentNormalsVolumeType>
class LibCarna::base::VolumeSegment< SegmentIntensityVolumeType, SegmentNormalsVolumeType >

Represents a single volumetric data partition.

Author
Leonid Kostrykin

Definition at line 160 of file VolumeSegment.hpp.

Member Typedef Documentation

◆ Grid

Reflects the type to use for representation of the whole volumetric data partitioning.

Definition at line 171 of file VolumeSegment.hpp.

◆ IntensityVolume

Reflects the type to use for storing the intensity volume of a single partition.

Definition at line 176 of file VolumeSegment.hpp.

◆ NormalsVolume

Reflects the type to use for storing the normal map of a single partition.

Definition at line 181 of file VolumeSegment.hpp.

Constructor & Destructor Documentation

◆ VolumeSegment()

Instantiates.

Parameters
gridreferences the volumetric data partitioning this partition belongs to.

Definition at line 232 of file VolumeSegment.hpp.

Member Function Documentation

◆ hasIntensities()

Tells whether this partition has intensity volume data associated.

Definition at line 263 of file VolumeSegment.hpp.

◆ intensities() [1/2]

References the intensity volume data of this partition.

Precondition
hasIntensities() == true

Definition at line 247 of file VolumeSegment.hpp.

◆ intensities() [2/2]

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 255 of file VolumeSegment.hpp.

◆ setIntensities()

Sets the intensity volume data of this partition.

Definition at line 240 of file VolumeSegment.hpp.

Member Data Documentation

◆ grid

References the volumetric data partitioning this partition belongs to.

Definition at line 187 of file VolumeSegment.hpp.

◆ offset

Holds the coordinate offset this partition within the whole volumetric data partitioning.

Definition at line 222 of file VolumeSegment.hpp.


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