MeVisLab Toolbox Reference
|
The CSOInterpolate3DFunction holds the interpolation function which is a smooth thin-plate spline surface. More...
#include <CSOInterpolate3DFunction.h>
Public Types | |
typedef std::vector< Vector3 > | StartingPositions |
typedef std::map< unsigned int, StartingPositions > | StartingPositionsMap |
Public Member Functions | |
CSOInterpolate3DFunction () | |
Constructor. | |
CSOInterpolate3DFunction (const CSOList *csoList, const Matrix4 &worldToVoxelMatrix, const Matrix4 &voxelToWorldMatrix, const CSOInterpolate3DFunctionSettings &settings) | |
Constructor, takes a CSOList and the voxel matrix as arguments. | |
~CSOInterpolate3DFunction () override | |
Destructor. | |
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. | |
bool | shouldParallelize () const override |
Returns whether calls to evaluateAtPos should and can be done from different threads. | |
StartingPositionsMap & | getStartingPositions () |
Returns the vector of starting positions for CSOs. | |
const CSOInterpolate3DFunctionSettings & | getSettings () const |
Returns the settings. | |
Public Member Functions inherited from ml::CSOFunction | |
CSOFunction ()=default | |
Constructor (empty). | |
virtual | ~CSOFunction ()=default |
Destructor (empty). | |
virtual bool | logging () const |
Returns whether logging is enabled. | |
The CSOInterpolate3DFunction holds the interpolation function which is a smooth thin-plate spline surface.
Definition at line 117 of file CSOInterpolate3DFunction.h.
Definition at line 122 of file CSOInterpolate3DFunction.h.
typedef std::map<unsigned int, StartingPositions> ml::CSOInterpolate3DFunction::StartingPositionsMap |
Definition at line 123 of file CSOInterpolate3DFunction.h.
ml::CSOInterpolate3DFunction::CSOInterpolate3DFunction | ( | ) |
Constructor.
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.
|
override |
Destructor.
Returns a scalar for a given 3D voxel position; can be thought of as evaluating a smoothed distance function.
Reimplemented from ml::CSOFunction.
|
inline |
Returns the settings.
Definition at line 146 of file CSOInterpolate3DFunction.h.
|
inline |
Returns the vector of starting positions for CSOs.
Definition at line 143 of file CSOInterpolate3DFunction.h.
|
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.