HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType > Class Template Reference

#include <PointAdvect.h>

Public Types

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

Public Member Functions

 ConstrainedPointAdvect (const GridType &velGrid, const GridType &cptGrid, int cptn, InterrupterType *interrupter=NULL)
 
 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...
 

Detailed Description

template<typename GridT = Vec3fGrid, typename PointListT = std::vector<typename GridT::ValueType>, bool StaggeredVelocity = false, typename CptGridType = GridT, typename InterrupterType = util::NullInterrupter>
class openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >

Definition at line 273 of file PointAdvect.h.

Member Typedef Documentation

template<typename GridT = Vec3fGrid, typename PointListT = std::vector<typename GridT::ValueType>, bool StaggeredVelocity = false, typename CptGridType = GridT, typename InterrupterType = util::NullInterrupter>
typedef ClosestPointProjector<CptGridType> openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::ClosestPointProjectorType

Definition at line 279 of file PointAdvect.h.

template<typename GridT = Vec3fGrid, typename PointListT = std::vector<typename GridT::ValueType>, bool StaggeredVelocity = false, typename CptGridType = GridT, typename InterrupterType = util::NullInterrupter>
typedef GridT openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::GridType

Definition at line 276 of file PointAdvect.h.

template<typename GridT = Vec3fGrid, typename PointListT = std::vector<typename GridT::ValueType>, bool StaggeredVelocity = false, typename CptGridType = GridT, typename InterrupterType = util::NullInterrupter>
typedef PointListT::value_type openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::LocationType

Definition at line 277 of file PointAdvect.h.

template<typename GridT = Vec3fGrid, typename PointListT = std::vector<typename GridT::ValueType>, bool StaggeredVelocity = false, typename CptGridType = GridT, typename InterrupterType = util::NullInterrupter>
typedef PointListT openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::PointListType

Definition at line 280 of file PointAdvect.h.

template<typename GridT = Vec3fGrid, typename PointListT = std::vector<typename GridT::ValueType>, bool StaggeredVelocity = false, typename CptGridType = GridT, typename InterrupterType = util::NullInterrupter>
typedef VelocityIntegrator<GridT, StaggeredVelocity> openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::VelocityIntegratorType

Definition at line 278 of file PointAdvect.h.

Constructor & Destructor Documentation

template<typename GridT = Vec3fGrid, typename PointListT = std::vector<typename GridT::ValueType>, bool StaggeredVelocity = false, typename CptGridType = GridT, typename InterrupterType = util::NullInterrupter>
openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::ConstrainedPointAdvect ( const GridType velGrid,
const GridType cptGrid,
int  cptn,
InterrupterType *  interrupter = NULL 
)
inline

Definition at line 282 of file PointAdvect.h.

template<typename GridT = Vec3fGrid, typename PointListT = std::vector<typename GridT::ValueType>, bool StaggeredVelocity = false, typename CptGridType = GridT, typename InterrupterType = util::NullInterrupter>
openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::ConstrainedPointAdvect ( const ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType > &  other)
inline

Definition at line 290 of file PointAdvect.h.

template<typename GridT = Vec3fGrid, typename PointListT = std::vector<typename GridT::ValueType>, bool StaggeredVelocity = false, typename CptGridType = GridT, typename InterrupterType = util::NullInterrupter>
virtual openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::~ConstrainedPointAdvect ( )
inlinevirtual

Definition at line 302 of file PointAdvect.h.

Member Function Documentation

template<typename GridT = Vec3fGrid, typename PointListT = std::vector<typename GridT::ValueType>, bool StaggeredVelocity = false, typename CptGridType = GridT, typename InterrupterType = util::NullInterrupter>
void openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::advect ( PointListT &  points,
float  dt,
unsigned int  advIterations = 1 
)
inline

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

Definition at line 311 of file PointAdvect.h.

template<typename GridT = Vec3fGrid, typename PointListT = std::vector<typename GridT::ValueType>, bool StaggeredVelocity = false, typename CptGridType = GridT, typename InterrupterType = util::NullInterrupter>
bool openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::getThreaded ( )
inline

Definition at line 308 of file PointAdvect.h.

template<typename GridT = Vec3fGrid, typename PointListT = std::vector<typename GridT::ValueType>, bool StaggeredVelocity = false, typename CptGridType = GridT, typename InterrupterType = util::NullInterrupter>
void openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::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!

Definition at line 334 of file PointAdvect.h.

template<typename GridT = Vec3fGrid, typename PointListT = std::vector<typename GridT::ValueType>, bool StaggeredVelocity = false, typename CptGridType = GridT, typename InterrupterType = util::NullInterrupter>
void openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::setConstraintIterations ( unsigned int  cptIter)
inline

Definition at line 304 of file PointAdvect.h.

template<typename GridT = Vec3fGrid, typename PointListT = std::vector<typename GridT::ValueType>, bool StaggeredVelocity = false, typename CptGridType = GridT, typename InterrupterType = util::NullInterrupter>
void openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::setIntegrationOrder ( unsigned int  order)
inline

Definition at line 305 of file PointAdvect.h.

template<typename GridT = Vec3fGrid, typename PointListT = std::vector<typename GridT::ValueType>, bool StaggeredVelocity = false, typename CptGridType = GridT, typename InterrupterType = util::NullInterrupter>
void openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::setThreaded ( bool  threaded)
inline

Definition at line 307 of file PointAdvect.h.


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