HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::points::point_move_internal Namespace Reference

Classes

struct  BuildMoveMapsOp
 
struct  ArrayProcessor
 Helper class used internally by processTypedArray() More...
 
struct  AttributeHandles
 Cache read and write attribute handles to amortize construction cost. More...
 
struct  GlobalMovePointsOp
 
struct  LocalMovePointsOp
 

Typedefs

using LeafIndex = Index32
 
using IndexArray = std::vector< Index >
 
using IndexTriple = std::tuple< LeafIndex, Index, Index >
 
using IndexTripleArray = tbb::concurrent_vector< IndexTriple >
 
using GlobalPointIndexMap = std::vector< IndexTripleArray >
 
using GlobalPointIndexIndices = std::vector< IndexArray >
 
using IndexPair = std::pair< Index, Index >
 
using IndexPairArray = std::vector< IndexPair >
 
using LocalPointIndexMap = std::vector< IndexPairArray >
 
using LeafIndexArray = std::vector< LeafIndex >
 
using LeafOffsetArray = std::vector< LeafIndexArray >
 
using LeafMap = std::unordered_map< Coord, LeafIndex >
 

Functions

template<typename LeafT >
Index indexOffsetFromVoxel (const Index voxelOffset, const LeafT &leaf, IndexArray &offsets)
 
template<typename ArrayType , typename OpType >
bool processTypedArray (const ArrayType &array, OpType &op)
 Utility function that, given a generic attribute array, calls a functor with the fully-resolved value type of the array. More...
 

Typedef Documentation

using openvdb::OPENVDB_VERSION_NAME::points::point_move_internal::GlobalPointIndexIndices = typedef std::vector<IndexArray>

Definition at line 166 of file PointMove.h.

using openvdb::OPENVDB_VERSION_NAME::points::point_move_internal::GlobalPointIndexMap = typedef std::vector<IndexTripleArray>

Definition at line 165 of file PointMove.h.

using openvdb::OPENVDB_VERSION_NAME::points::point_move_internal::IndexArray = typedef std::vector<Index>

Definition at line 161 of file PointMove.h.

using openvdb::OPENVDB_VERSION_NAME::points::point_move_internal::IndexPair = typedef std::pair<Index, Index>

Definition at line 168 of file PointMove.h.

using openvdb::OPENVDB_VERSION_NAME::points::point_move_internal::IndexPairArray = typedef std::vector<IndexPair>

Definition at line 169 of file PointMove.h.

using openvdb::OPENVDB_VERSION_NAME::points::point_move_internal::IndexTriple = typedef std::tuple<LeafIndex, Index, Index>

Definition at line 163 of file PointMove.h.

using openvdb::OPENVDB_VERSION_NAME::points::point_move_internal::IndexTripleArray = typedef tbb::concurrent_vector<IndexTriple>

Definition at line 164 of file PointMove.h.

using openvdb::OPENVDB_VERSION_NAME::points::point_move_internal::LeafIndex = typedef Index32

Definition at line 93 of file PointMove.h.

using openvdb::OPENVDB_VERSION_NAME::points::point_move_internal::LeafIndexArray = typedef std::vector<LeafIndex>

Definition at line 172 of file PointMove.h.

using openvdb::OPENVDB_VERSION_NAME::points::point_move_internal::LeafMap = typedef std::unordered_map<Coord, LeafIndex>

Definition at line 174 of file PointMove.h.

using openvdb::OPENVDB_VERSION_NAME::points::point_move_internal::LeafOffsetArray = typedef std::vector<LeafIndexArray>

Definition at line 173 of file PointMove.h.

using openvdb::OPENVDB_VERSION_NAME::points::point_move_internal::LocalPointIndexMap = typedef std::vector<IndexPairArray>

Definition at line 170 of file PointMove.h.

Function Documentation

template<typename LeafT >
Index openvdb::OPENVDB_VERSION_NAME::points::point_move_internal::indexOffsetFromVoxel ( const Index  voxelOffset,
const LeafT &  leaf,
IndexArray &  offsets 
)
inline

Definition at line 272 of file PointMove.h.

template<typename ArrayType , typename OpType >
bool openvdb::OPENVDB_VERSION_NAME::points::point_move_internal::processTypedArray ( const ArrayType &  array,
OpType &  op 
)

Utility function that, given a generic attribute array, calls a functor with the fully-resolved value type of the array.

Definition at line 548 of file PointMove.h.