MeVisLab Toolbox Reference
ml::CSOInterpolate3DFunction Class Reference

The CSOInterpolate3DFunction holds the interpolation function which is a smooth thin-plate spline surface. More...

#include <CSOInterpolate3DFunction.h>

Inheritance diagram for ml::CSOInterpolate3DFunction:
ml::CSOFunction

Public Types

typedef std::vector< Vector3StartingPositions
 
typedef std::map< unsigned int, StartingPositionsStartingPositionsMap
 

Public Member Functions

 CSOInterpolate3DFunction ()
 Constructor. More...
 
 CSOInterpolate3DFunction (const CSOList *csoList, const Matrix4 &worldToVoxelMatrix, const Matrix4 &voxelToWorldMatrix, const CSOInterpolate3DFunctionSettings &settings)
 Constructor, takes a CSOList and the voxel matrix as arguments. More...
 
 ~CSOInterpolate3DFunction () override
 Destructor. More...
 
float evaluateAtPos (const Vector3 &pos) const override
 Returns a scalar for a given 3D voxel position; can be thought of as evaluating a smoothed distance function. More...
 
bool shouldParallelize () const override
 Returns whether calls to evaluateAtPos should and can be done from different threads. More...
 
StartingPositionsMapgetStartingPositions ()
 Returns the vector of starting positions for CSOs. More...
 
const CSOInterpolate3DFunctionSettingsgetSettings () const
 Returns the settings. More...
 
- Public Member Functions inherited from ml::CSOFunction
 CSOFunction ()=default
 Constructor (empty). More...
 
virtual ~CSOFunction ()=default
 Destructor (empty). More...
 
virtual bool logging () const
 Returns whether logging is enabled. More...
 

Detailed Description

The CSOInterpolate3DFunction holds the interpolation function which is a smooth thin-plate spline surface.

Definition at line 117 of file CSOInterpolate3DFunction.h.

Member Typedef Documentation

◆ StartingPositions

◆ StartingPositionsMap

Definition at line 123 of file CSOInterpolate3DFunction.h.

Constructor & Destructor Documentation

◆ CSOInterpolate3DFunction() [1/2]

ml::CSOInterpolate3DFunction::CSOInterpolate3DFunction ( )

Constructor.

◆ CSOInterpolate3DFunction() [2/2]

ml::CSOInterpolate3DFunction::CSOInterpolate3DFunction ( const CSOList csoList,
const Matrix4 worldToVoxelMatrix,
const Matrix4 voxelToWorldMatrix,
const CSOInterpolate3DFunctionSettings settings 
)

Constructor, takes a CSOList and the voxel matrix as arguments.

◆ ~CSOInterpolate3DFunction()

ml::CSOInterpolate3DFunction::~CSOInterpolate3DFunction ( )
override

Destructor.

Member Function Documentation

◆ evaluateAtPos()

float ml::CSOInterpolate3DFunction::evaluateAtPos ( const Vector3 pos) const
overridevirtual

Returns a scalar for a given 3D voxel position; can be thought of as evaluating a smoothed distance function.

Reimplemented from ml::CSOFunction.

◆ getSettings()

const CSOInterpolate3DFunctionSettings& ml::CSOInterpolate3DFunction::getSettings ( ) const
inline

Returns the settings.

Definition at line 146 of file CSOInterpolate3DFunction.h.

◆ getStartingPositions()

StartingPositionsMap& ml::CSOInterpolate3DFunction::getStartingPositions ( )
inline

Returns the vector of starting positions for CSOs.

Definition at line 143 of file CSOInterpolate3DFunction.h.

◆ shouldParallelize()

bool ml::CSOInterpolate3DFunction::shouldParallelize ( ) const
inlineoverridevirtual

Returns whether calls to evaluateAtPos should and can be done from different threads.

Reimplemented from ml::CSOFunction.

Definition at line 139 of file CSOInterpolate3DFunction.h.


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