HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::points::PointAttributeVector< ValueType > Class Template Reference

Point-partitioner compatible STL vector attribute wrapper for convenience. More...

#include <PointConversion.h>

Public Types

using PosType = ValueType
 
using value_type = ValueType
 

Public Member Functions

 PointAttributeVector (const std::vector< value_type > &data, const Index stride=1)
 
size_t size () const
 
void getPos (size_t n, ValueType &xyz) const
 
void get (ValueType &value, size_t n) const
 
void get (ValueType &value, size_t n, openvdb::Index m) const
 

Detailed Description

template<typename ValueType>
class openvdb::OPENVDB_VERSION_NAME::points::PointAttributeVector< ValueType >

Point-partitioner compatible STL vector attribute wrapper for convenience.

Definition at line 40 of file PointConversion.h.

Member Typedef Documentation

template<typename ValueType>
using openvdb::OPENVDB_VERSION_NAME::points::PointAttributeVector< ValueType >::PosType = ValueType

Definition at line 42 of file PointConversion.h.

template<typename ValueType>
using openvdb::OPENVDB_VERSION_NAME::points::PointAttributeVector< ValueType >::value_type = ValueType

Definition at line 43 of file PointConversion.h.

Constructor & Destructor Documentation

template<typename ValueType>
openvdb::OPENVDB_VERSION_NAME::points::PointAttributeVector< ValueType >::PointAttributeVector ( const std::vector< value_type > &  data,
const Index  stride = 1 
)
inline

Definition at line 45 of file PointConversion.h.

Member Function Documentation

template<typename ValueType>
void openvdb::OPENVDB_VERSION_NAME::points::PointAttributeVector< ValueType >::get ( ValueType &  value,
size_t  n 
) const
inline

Definition at line 52 of file PointConversion.h.

template<typename ValueType>
void openvdb::OPENVDB_VERSION_NAME::points::PointAttributeVector< ValueType >::get ( ValueType &  value,
size_t  n,
openvdb::Index  m 
) const
inline

Definition at line 53 of file PointConversion.h.

template<typename ValueType>
void openvdb::OPENVDB_VERSION_NAME::points::PointAttributeVector< ValueType >::getPos ( size_t  n,
ValueType &  xyz 
) const
inline

Definition at line 51 of file PointConversion.h.

template<typename ValueType>
size_t openvdb::OPENVDB_VERSION_NAME::points::PointAttributeVector< ValueType >::size ( void  ) const
inline

Definition at line 50 of file PointConversion.h.


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