OpenVDB  9.0.1
Public Types | Public Member Functions | List of all members
PointAttributeVector< ValueType > Class Template Reference

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

#include <openvdb/points/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::v9_0::points::PointAttributeVector< ValueType >

Point-partitioner compatible STL vector attribute wrapper for convenience.

Member Typedef Documentation

using PosType = ValueType
using value_type = ValueType

Constructor & Destructor Documentation

PointAttributeVector ( const std::vector< value_type > &  data,
const Index  stride = 1 
)
inline

Member Function Documentation

void get ( ValueType &  value,
size_t  n 
) const
inline
void get ( ValueType &  value,
size_t  n,
openvdb::Index  m 
) const
inline
void getPos ( size_t  n,
ValueType &  xyz 
) const
inline
size_t size ( ) const
inline