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

#include <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...
 

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 248 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>
using openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::ClosestPointProjectorType = ClosestPointProjector<CptGridType>

Definition at line 254 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>
using openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::GridType = GridT

Definition at line 251 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>
using openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::LocationType = typename PointListT::value_type

Definition at line 252 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>
using openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::PointListType = PointListT

Definition at line 255 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>
using openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::VelocityIntegratorType = VelocityIntegrator<GridT, StaggeredVelocity>

Definition at line 253 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 = nullptr 
)
inline

Definition at line 257 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 265 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 277 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 286 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 283 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 309 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 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>
void openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::setIntegrationOrder ( unsigned int  order)
inline

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>
void openvdb::OPENVDB_VERSION_NAME::tools::ConstrainedPointAdvect< GridT, PointListT, StaggeredVelocity, CptGridType, InterrupterType >::setThreaded ( bool  threaded)
inline

Definition at line 282 of file PointAdvect.h.


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