HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_IsoSurface Class Reference

#include <GU_Iso.h>

+ Inheritance diagram for GU_IsoSurface:

Public Member Functions

 GU_IsoSurface (bool isthreadsafe=false)
 
virtual ~GU_IsoSurface ()
 
void setCallback (GU_IsoCallback eval, void *eval_data)
 
void polygonize (GU_Detail *gdp, const UT_BoundingBox &box, int xdivs, int ydivs, int zdivs, bool makepolysoup=false)
 
virtual float evalEdge (const UT_Vector3 &pos)
 Evaluate the field at a position. More...
 
virtual bool hasGradient () const
 Check whether gradients are available for surfacing. More...
 
virtual UT_Vector3 evalGrad (const UT_Vector3 &pos)
 Evaluate gradients if available. More...
 
virtual void fillPointVertexAttributes (GU_Detail &detail, GA_Offset vtxoff)
 
virtual void fillPrimitiveAttributes (GEO_Primitive *primitive)
 This function can be used to fill out primitive attribute information. More...
 
bool isThreadSafe () const
 

Detailed Description

Definition at line 29 of file GU_Iso.h.

Constructor & Destructor Documentation

GU_IsoSurface::GU_IsoSurface ( bool  isthreadsafe = false)
virtual GU_IsoSurface::~GU_IsoSurface ( )
virtual

Member Function Documentation

virtual float GU_IsoSurface::evalEdge ( const UT_Vector3 pos)
inlinevirtual

Evaluate the field at a position.

Reimplemented in GU_IsoMeta.

Definition at line 43 of file GU_Iso.h.

virtual UT_Vector3 GU_IsoSurface::evalGrad ( const UT_Vector3 pos)
inlinevirtual

Evaluate gradients if available.

Reimplemented in GU_IsoMeta.

Definition at line 50 of file GU_Iso.h.

virtual void GU_IsoSurface::fillPointVertexAttributes ( GU_Detail detail,
GA_Offset  vtxoff 
)
inlinevirtual

This function can be used to fill attribute information. The position of the point will be set to its final position when this function is called. The eval() method will have just been used so that you can use any information that would have been set up for this.

Definition at line 58 of file GU_Iso.h.

virtual void GU_IsoSurface::fillPrimitiveAttributes ( GEO_Primitive primitive)
inlinevirtual

This function can be used to fill out primitive attribute information.

Definition at line 62 of file GU_Iso.h.

virtual bool GU_IsoSurface::hasGradient ( ) const
inlinevirtual

Check whether gradients are available for surfacing.

Reimplemented in GU_IsoMeta.

Definition at line 47 of file GU_Iso.h.

bool GU_IsoSurface::isThreadSafe ( ) const
inline

This indicates whether evalEdge and evalGrad can be called in multiple threads at the same time.

Definition at line 66 of file GU_Iso.h.

void GU_IsoSurface::polygonize ( GU_Detail gdp,
const UT_BoundingBox box,
int  xdivs,
int  ydivs,
int  zdivs,
bool  makepolysoup = false 
)
void GU_IsoSurface::setCallback ( GU_IsoCallback  eval,
void eval_data 
)
inline

Definition at line 35 of file GU_Iso.h.


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