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

#include <GU_IsoAdaptive.h>

+ Inheritance diagram for GU_IsoAdaptiveSamplerVolume:

Public Member Functions

 GU_IsoAdaptiveSamplerVolume (const UT_Array< const GEO_PrimVolume * > &vollist, float offset, bool invert, float overlap, bool usesmallest, bool strict)
 ~GU_IsoAdaptiveSamplerVolume () override
float sample (const UT_Vector3 &pos) override
UT_Vector3 gradient (const UT_Vector3 &pos) override
 Computes the gradient of the implicit function. More...
bool isInside (const UT_Vector3 &pos) override
 Returns true if pos is inside the active region. More...
- Public Member Functions inherited from GU_IsoAdaptiveSampler
 GU_IsoAdaptiveSampler ()
virtual ~GU_IsoAdaptiveSampler ()
virtual bool settle (UT_Vector3 &pos, float tol)
virtual bool hingeSettle (UT_Vector3 &result, UT_Vector3 center, UT_Vector3 stepdir, UT_Vector3 normal, float stepsize, float tol)
float stepsize (const UT_Vector3 &pos)
 Reports the ideal step size for any location in space. More...
void setStepScale (float minstep, float maxstep, float stepscale)
void setStepSizeSampler (GU_IsoAdaptiveSampler *sampler)
void setCurvatureTestDist (float querydist)

Protected Attributes

gu_VolumeHierarchy * myHierarchy
const GEO_PrimVolumemyRefVolume
float myOffset
float mySide
bool myUseSmallest
bool myStrict
- Protected Attributes inherited from GU_IsoAdaptiveSampler
float myMinStep
float myMaxStep
float myStepScale
float myQueryDist

Additional Inherited Members

- Protected Member Functions inherited from GU_IsoAdaptiveSampler
virtual float stepsizeSubclass (const UT_Vector3 &pos)

Detailed Description

Definition at line 102 of file GU_IsoAdaptive.h.

Constructor & Destructor Documentation

GU_IsoAdaptiveSamplerVolume::GU_IsoAdaptiveSamplerVolume ( const UT_Array< const GEO_PrimVolume * > &  vollist,
float  offset,
bool  invert,
float  overlap,
bool  usesmallest,
bool  strict 
GU_IsoAdaptiveSamplerVolume::~GU_IsoAdaptiveSamplerVolume ( )

Member Function Documentation

UT_Vector3 GU_IsoAdaptiveSamplerVolume::gradient ( const UT_Vector3 pos)

Computes the gradient of the implicit function.

Implements GU_IsoAdaptiveSampler.

bool GU_IsoAdaptiveSamplerVolume::isInside ( const UT_Vector3 pos)

Returns true if pos is inside the active region.

Reimplemented from GU_IsoAdaptiveSampler.

float GU_IsoAdaptiveSamplerVolume::sample ( const UT_Vector3 pos)

Returns the value of the implicit function at a given point negative is inside, positive outside.

Implements GU_IsoAdaptiveSampler.

Member Data Documentation

gu_VolumeHierarchy* GU_IsoAdaptiveSamplerVolume::myHierarchy

Definition at line 114 of file GU_IsoAdaptive.h.

float GU_IsoAdaptiveSamplerVolume::myOffset

Definition at line 116 of file GU_IsoAdaptive.h.

const GEO_PrimVolume* GU_IsoAdaptiveSamplerVolume::myRefVolume

Definition at line 115 of file GU_IsoAdaptive.h.

float GU_IsoAdaptiveSamplerVolume::mySide

Definition at line 118 of file GU_IsoAdaptive.h.

bool GU_IsoAdaptiveSamplerVolume::myStrict

Definition at line 122 of file GU_IsoAdaptive.h.

bool GU_IsoAdaptiveSamplerVolume::myUseSmallest

Definition at line 120 of file GU_IsoAdaptive.h.

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