HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_Surfacer::Evaluator Class Referenceabstract

#include <GU_Surfacer.h>

Public Member Functions

 Evaluator (bool hasgradient, bool isthreadsafe=false, bool subsample=false)
 
virtual ~Evaluator ()
 
virtual fpreal density (const UT_Vector3 &pos) const =0
 
bool hasGradient () const
 
virtual UT_Vector3 gradient (const UT_Vector3 &pos) const
 
bool isThreadSafe () const
 
bool subsample () const
 

Detailed Description

Definition at line 48 of file GU_Surfacer.h.

Constructor & Destructor Documentation

GU_Surfacer::Evaluator::Evaluator ( bool  hasgradient,
bool  isthreadsafe = false,
bool  subsample = false 
)
inline

Definition at line 50 of file GU_Surfacer.h.

virtual GU_Surfacer::Evaluator::~Evaluator ( )
inlinevirtual

Definition at line 55 of file GU_Surfacer.h.

Member Function Documentation

virtual fpreal GU_Surfacer::Evaluator::density ( const UT_Vector3 pos) const
pure virtual
virtual UT_Vector3 GU_Surfacer::Evaluator::gradient ( const UT_Vector3 pos) const
inlinevirtual

Definition at line 60 of file GU_Surfacer.h.

bool GU_Surfacer::Evaluator::hasGradient ( ) const
inline

Definition at line 59 of file GU_Surfacer.h.

bool GU_Surfacer::Evaluator::isThreadSafe ( ) const
inline

This indicates whether density and gradient can be called in multiple threads at the same time.

Definition at line 64 of file GU_Surfacer.h.

bool GU_Surfacer::Evaluator::subsample ( ) const
inline

This indicates whether the density function should be sampled along a cell edge to find the zero crossing.

Definition at line 67 of file GU_Surfacer.h.


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