OpenVDB  9.0.1
Public Types | Public Member Functions | Static Public Member Functions | List of all members
GU_VDBPointList< VectorType > Struct Template Reference

Houdini point attribute wrapper. More...

#include <openvdb_houdini/GU_VDBPointTools.h>

Public Types

using Ptr = UT_SharedPtr< GU_VDBPointList >
 
using ConstPtr = UT_SharedPtr< const GU_VDBPointList >
 
using PosType = VectorType
 
using ScalarType = typename PosType::value_type
 

Public Member Functions

 GU_VDBPointList (const GU_Detail &detail, const GA_PointGroup *group=nullptr)
 
size_t size () const
 
bool hasVelocity () const
 
bool hasRadius () const
 
void getPos (size_t n, PosType &xyz) const
 
void getVelocity (size_t n, PosType &v) const
 
void getRadius (size_t n, ScalarType &r) const
 
GA_Offset offsetFromIndex (size_t n) const
 
void getPosFromOffset (const GA_Offset offset, PosType &xyz) const
 
void getVelocityFromOffset (const GA_Offset offset, PosType &v) const
 
void getRadiusFromOffset (const GA_Offset offset, ScalarType &r) const
 

Static Public Member Functions

static Ptr create (const GU_Detail &detail, const GA_PointGroup *group=nullptr)
 

Detailed Description

template<typename VectorType>
struct GU_VDBPointList< VectorType >

Houdini point attribute wrapper.

Member Typedef Documentation

using ConstPtr = UT_SharedPtr<const GU_VDBPointList>
using PosType = VectorType
using Ptr = UT_SharedPtr<GU_VDBPointList>
using ScalarType = typename PosType::value_type

Constructor & Destructor Documentation

GU_VDBPointList ( const GU_Detail &  detail,
const GA_PointGroup *  group = nullptr 
)
inline

Member Function Documentation

static Ptr create ( const GU_Detail &  detail,
const GA_PointGroup *  group = nullptr 
)
inlinestatic
void getPos ( size_t  n,
PosType xyz 
) const
inline
void getPosFromOffset ( const GA_Offset  offset,
PosType xyz 
) const
inline
void getRadius ( size_t  n,
ScalarType r 
) const
inline
void getRadiusFromOffset ( const GA_Offset  offset,
ScalarType r 
) const
inline
void getVelocity ( size_t  n,
PosType v 
) const
inline
void getVelocityFromOffset ( const GA_Offset  offset,
PosType v 
) const
inline
bool hasRadius ( ) const
inline
bool hasVelocity ( ) const
inline
GA_Offset offsetFromIndex ( size_t  n) const
inline
size_t size ( ) const
inline