MeVisLab Toolbox Reference
ml::CSOFunction Class Reference

Base class for distance functions for application in the marching cubes algorithm. More...

#include <CSOFunction.h>

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

Public Member Functions

 CSOFunction ()=default
 Constructor (empty).
 
virtual ~CSOFunction ()=default
 Destructor (empty).
 
virtual float evaluateAtPos (const Vector3 &) const
 Returns a scalar (distance) for a position.
 
virtual bool shouldParallelize () const
 Returns whether calls to evaluateAtPos should and can be done from different threads.
 
virtual bool logging () const
 Returns whether logging is enabled.
 

Detailed Description

Base class for distance functions for application in the marching cubes algorithm.

Definition at line 28 of file CSOFunction.h.

Constructor & Destructor Documentation

◆ CSOFunction()

ml::CSOFunction::CSOFunction ( )
default

Constructor (empty).

◆ ~CSOFunction()

virtual ml::CSOFunction::~CSOFunction ( )
virtualdefault

Destructor (empty).

Member Function Documentation

◆ evaluateAtPos()

virtual float ml::CSOFunction::evaluateAtPos ( const Vector3 & ) const
inlinevirtual

Returns a scalar (distance) for a position.

Reimplemented in ml::CSOInterpolate3DFunction.

Definition at line 39 of file CSOFunction.h.

◆ logging()

virtual bool ml::CSOFunction::logging ( ) const
inlinevirtual

Returns whether logging is enabled.

Definition at line 45 of file CSOFunction.h.

◆ shouldParallelize()

virtual bool ml::CSOFunction::shouldParallelize ( ) const
inlinevirtual

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

Reimplemented in ml::CSOInterpolate3DFunction.

Definition at line 42 of file CSOFunction.h.


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