Carna  Version 3.3.2
Public Member Functions | Public Attributes | List of all members
Carna::base::IntensityVolume Class Referenceabstract

Defines interface to \(\mathbb N_0^3 \to \left[0,1\right]\) volume data. More...

#include <IntensityVolume.h>

+ Inheritance diagram for Carna::base::IntensityVolume:
+ Collaboration diagram for Carna::base::IntensityVolume:

Public Member Functions

 IntensityVolume ()
 Instantiates.
 
 IntensityVolume (const math::Vector3ui &size)
 Instantiates.
 
virtual float operator() (unsigned int x, unsigned int y, unsigned int z) const override=0
 Returns intensity of specified voxel.
 
virtual float operator() (const math::Vector3ui &at) const override=0
 
- Public Member Functions inherited from Carna::base::math::VectorField< float >
virtual ~VectorField ()
 Does nothing.
 

Public Attributes

math::Vector3ui size
 Holds the resolution.
 

Additional Inherited Members

- Public Types inherited from Carna::base::math::VectorField< float >
typedef float Value
 Holds the co-domain type of the vector field.
 

Detailed Description

Defines interface to \(\mathbb N_0^3 \to \left[0,1\right]\) volume data.

Author
Leonid Kostrykin
Date
June 2021
Since
API Version 3.2.0

Definition at line 39 of file IntensityVolume.h.

Member Function Documentation

◆ operator()()

virtual float Carna::base::IntensityVolume::operator() ( const math::Vector3ui at) const
overridepure virtual

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Reimplemented from Carna::base::math::VectorField< float >.

Implemented in Carna::base::BufferedIntensityVolume< VoxelType, BufferType >.


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