OpenVDB  11.0.0
Public Types | Public Member Functions | List of all members
ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType > Class Template Reference

#include <openvdb/tools/PointAdvect.h>

Public Types

using GridType = GridT
 
using LocationType = typename PointListT::value_type
 
using VelocityIntegratorType = VelocityIntegrator< GridT, StaggeredVelocity >
 
using ClosestPointProjectorType = ClosestPointProjector< CptGridType >
 
using PointListType = PointListT
 

Public Member Functions

 ConstrainedPointAdvect (const GridType &velGrid, const GridType &cptGrid, int cptn, InterrupterType *interrupter=nullptr)
 
 ConstrainedPointAdvect (const ConstrainedPointAdvect &other)
 
virtual ~ConstrainedPointAdvect ()
 
void setConstraintIterations (unsigned int cptIter)
 
void setIntegrationOrder (unsigned int order)
 
void setThreaded (bool threaded)
 
bool getThreaded ()
 
void advect (PointListT &points, float dt, unsigned int advIterations=1)
 Constrained Advection a list of points over a time = dt * advIterations. More...
 
void operator() (const tbb::blocked_range< size_t > &range) const
 Never call this method directly - it is use by TBB and has to be public! More...
 

Member Typedef Documentation

using GridType = GridT
using LocationType = typename PointListT::value_type
using PointListType = PointListT
using VelocityIntegratorType = VelocityIntegrator<GridT, StaggeredVelocity>

Constructor & Destructor Documentation

ConstrainedPointAdvect ( const GridType velGrid,
const GridType cptGrid,
int  cptn,
InterrupterType *  interrupter = nullptr 
)
inline
ConstrainedPointAdvect ( const ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType > &  other)
inline
virtual ~ConstrainedPointAdvect ( )
inlinevirtual

Member Function Documentation

void advect ( PointListT &  points,
float  dt,
unsigned int  advIterations = 1 
)
inline

Constrained Advection a list of points over a time = dt * advIterations.

bool getThreaded ( )
inline
void operator() ( const tbb::blocked_range< size_t > &  range) const
inline

Never call this method directly - it is use by TBB and has to be public!

void setConstraintIterations ( unsigned int  cptIter)
inline
void setIntegrationOrder ( unsigned int  order)
inline
void setThreaded ( bool  threaded)
inline