HDK
|
#include <PointAdvect.h>
Public Types | |
using | CptGridType = CptGridT |
using | CptAccessor = typename CptGridType::ConstAccessor |
using | CptValueType = typename CptGridType::ValueType |
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 |
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.
Definition at line 37 of file PointAdvect.h.
using openvdb::OPENVDB_VERSION_NAME::tools::ClosestPointProjector< CptGridT >::CptAccessor = typename CptGridType::ConstAccessor |
Definition at line 41 of file PointAdvect.h.
using openvdb::OPENVDB_VERSION_NAME::tools::ClosestPointProjector< CptGridT >::CptGridType = CptGridT |
Definition at line 40 of file PointAdvect.h.
using openvdb::OPENVDB_VERSION_NAME::tools::ClosestPointProjector< CptGridT >::CptValueType = typename CptGridType::ValueType |
Definition at line 42 of file PointAdvect.h.
|
inline |
Definition at line 44 of file PointAdvect.h.
|
inline |
Definition at line 48 of file PointAdvect.h.
|
inline |
Definition at line 54 of file PointAdvect.h.
|
inline |
Definition at line 61 of file PointAdvect.h.
|
inline |
Entries in the CPT tree are the closest point to the constraint surface. The interpolation step in sample introduces error so that the result of a single sample may not lie exactly on the surface. The iterations in the loop exist to minimize this error.
Definition at line 65 of file PointAdvect.h.
|
inline |
Definition at line 60 of file PointAdvect.h.