OpenVDB 9.0.0
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

◆ ConstPtr

using ConstPtr = UT_SharedPtr<const GU_VDBPointList>

◆ PosType

using PosType = VectorType

◆ Ptr

using Ptr = UT_SharedPtr<GU_VDBPointList>

◆ ScalarType

using ScalarType = typename PosType::value_type

Constructor & Destructor Documentation

◆ GU_VDBPointList()

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

Member Function Documentation

◆ create()

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

◆ getPos()

void getPos ( size_t  n,
PosType xyz 
) const
inline

◆ getPosFromOffset()

void getPosFromOffset ( const GA_Offset  offset,
PosType xyz 
) const
inline

◆ getRadius()

void getRadius ( size_t  n,
ScalarType r 
) const
inline

◆ getRadiusFromOffset()

void getRadiusFromOffset ( const GA_Offset  offset,
ScalarType r 
) const
inline

◆ getVelocity()

void getVelocity ( size_t  n,
PosType v 
) const
inline

◆ getVelocityFromOffset()

void getVelocityFromOffset ( const GA_Offset  offset,
PosType v 
) const
inline

◆ hasRadius()

bool hasRadius ( ) const
inline

◆ hasVelocity()

bool hasVelocity ( ) const
inline

◆ offsetFromIndex()

GA_Offset offsetFromIndex ( size_t  n) const
inline

◆ size()

size_t size ( ) const
inline