OpenVDB  3.2.0
Public Types | Public Member Functions | List of all members
ClosestPointProjector< CptGridT > Class Template Reference

#include <PointAdvect.h>

Public Types

typedef CptGridT CptGridType
 
typedef CptGridType::ConstAccessor CptAccessor
 
typedef CptGridType::ValueType CptValueType
 

Public Member Functions

 ClosestPointProjector ()
 
 ClosestPointProjector (const CptGridType &cptGrid, int n)
 
 ClosestPointProjector (const ClosestPointProjector &other)
 
void setConstraintIterations (unsigned int cptIterations)
 
unsigned int numIterations ()
 
template<typename LocationType >
void projectToConstraintSurface (LocationType &W) const
 

Detailed Description

template<typename CptGridT = Vec3fGrid>
class openvdb::v3_2_0::tools::ClosestPointProjector< CptGridT >

Class that holds a Vec3 grid, to be interpreted as the closest point to a constraint surface. Supports a method to allow a point to be projected onto the closest point on the constraint surface. Uses Caching.

Member Typedef Documentation

§ CptAccessor

typedef CptGridType::ConstAccessor CptAccessor

§ CptGridType

typedef CptGridT CptGridType

§ CptValueType

typedef CptGridType::ValueType CptValueType

Constructor & Destructor Documentation

§ ClosestPointProjector() [1/3]

§ ClosestPointProjector() [2/3]

ClosestPointProjector ( const CptGridType cptGrid,
int  n 
)
inline

§ ClosestPointProjector() [3/3]

ClosestPointProjector ( const ClosestPointProjector< CptGridT > &  other)
inline

Member Function Documentation

§ numIterations()

unsigned int numIterations ( )
inline

§ projectToConstraintSurface()

void projectToConstraintSurface ( LocationType &  W) const
inline

§ setConstraintIterations()

void setConstraintIterations ( unsigned int  cptIterations)
inline

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