MeVisLabToolboxReference
|
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. | |
virtual | ~CSOInterpolate3DFunction () |
Destructor. | |
virtual float | evaluateAtPos (const Vector3 &pos) const |
Returns a scalar for a given 3D voxel position; can be thought of as evaluating a smoothed distance function. | |
virtual bool | shouldParallelize () const |
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. |
The CSOInterpolate3DFunction holds the interpolation function which is a smooth thin-plate spline surface.
Definition at line 80 of file CSOInterpolate3DFunction.h.
typedef std::vector<Vector3> ml::CSOInterpolate3DFunction::StartingPositions |
Definition at line 85 of file CSOInterpolate3DFunction.h.
typedef std::map<unsigned int, StartingPositions> ml::CSOInterpolate3DFunction::StartingPositionsMap |
Definition at line 86 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.
virtual ml::CSOInterpolate3DFunction::~CSOInterpolate3DFunction | ( | ) | [virtual] |
Destructor.
virtual float ml::CSOInterpolate3DFunction::evaluateAtPos | ( | const Vector3 & | pos | ) | const [virtual] |
Returns a scalar for a given 3D voxel position; can be thought of as evaluating a smoothed distance function.
Reimplemented from ml::CSOFunction.
const CSOInterpolate3DFunctionSettings& ml::CSOInterpolate3DFunction::getSettings | ( | ) | const [inline] |
Returns the settings.
Definition at line 108 of file CSOInterpolate3DFunction.h.
StartingPositionsMap& ml::CSOInterpolate3DFunction::getStartingPositions | ( | ) | [inline] |
Returns the vector of starting positions for CSOs.
Definition at line 105 of file CSOInterpolate3DFunction.h.
virtual bool ml::CSOInterpolate3DFunction::shouldParallelize | ( | ) | const [inline, virtual] |
Returns whether calls to evaluateAtPos should and can be done from different threads.
Reimplemented from ml::CSOFunction.
Definition at line 102 of file CSOInterpolate3DFunction.h.