MeVisLabToolboxReference
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

List of all members.

Public Types

typedef std::vector< Vector3StartingPositions
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.
StartingPositionsMapgetStartingPositions ()
 Returns the vector of starting positions for CSOs.
const
CSOInterpolate3DFunctionSettings
getSettings () const
 Returns the settings.

Detailed Description

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

Definition at line 80 of file CSOInterpolate3DFunction.h.


Member Typedef Documentation

Definition at line 86 of file CSOInterpolate3DFunction.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


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