HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_VDBPointList< VectorType > Struct Template Reference

Houdini point attribute wrapper. More...

#include <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.

Definition at line 41 of file GU_VDBPointTools.h.

Member Typedef Documentation

template<typename VectorType>
using GU_VDBPointList< VectorType >::ConstPtr = UT_SharedPtr<const GU_VDBPointList>

Definition at line 44 of file GU_VDBPointTools.h.

template<typename VectorType>
using GU_VDBPointList< VectorType >::PosType = VectorType

Definition at line 46 of file GU_VDBPointTools.h.

template<typename VectorType>
using GU_VDBPointList< VectorType >::Ptr = UT_SharedPtr<GU_VDBPointList>

Definition at line 43 of file GU_VDBPointTools.h.

template<typename VectorType>
using GU_VDBPointList< VectorType >::ScalarType = typename PosType::value_type

Definition at line 47 of file GU_VDBPointTools.h.

Constructor & Destructor Documentation

template<typename VectorType>
GU_VDBPointList< VectorType >::GU_VDBPointList ( const GU_Detail detail,
const GA_PointGroup group = nullptr 
)
inline

Definition at line 49 of file GU_VDBPointTools.h.

Member Function Documentation

template<typename VectorType>
static Ptr GU_VDBPointList< VectorType >::create ( const GU_Detail detail,
const GA_PointGroup group = nullptr 
)
inlinestatic

Definition at line 89 of file GU_VDBPointTools.h.

template<typename VectorType>
void GU_VDBPointList< VectorType >::getPos ( size_t  n,
PosType xyz 
) const
inline

Definition at line 101 of file GU_VDBPointTools.h.

template<typename VectorType>
void GU_VDBPointList< VectorType >::getPosFromOffset ( const GA_Offset  offset,
PosType xyz 
) const
inline

Definition at line 119 of file GU_VDBPointTools.h.

template<typename VectorType>
void GU_VDBPointList< VectorType >::getRadius ( size_t  n,
ScalarType r 
) const
inline

Definition at line 109 of file GU_VDBPointTools.h.

template<typename VectorType>
void GU_VDBPointList< VectorType >::getRadiusFromOffset ( const GA_Offset  offset,
ScalarType r 
) const
inline

Definition at line 133 of file GU_VDBPointTools.h.

template<typename VectorType>
void GU_VDBPointList< VectorType >::getVelocity ( size_t  n,
PosType v 
) const
inline

Definition at line 105 of file GU_VDBPointTools.h.

template<typename VectorType>
void GU_VDBPointList< VectorType >::getVelocityFromOffset ( const GA_Offset  offset,
PosType v 
) const
inline

Definition at line 126 of file GU_VDBPointTools.h.

template<typename VectorType>
bool GU_VDBPointList< VectorType >::hasRadius ( ) const
inline

Definition at line 97 of file GU_VDBPointTools.h.

template<typename VectorType>
bool GU_VDBPointList< VectorType >::hasVelocity ( ) const
inline

Definition at line 96 of file GU_VDBPointTools.h.

template<typename VectorType>
GA_Offset GU_VDBPointList< VectorType >::offsetFromIndex ( size_t  n) const
inline

Definition at line 115 of file GU_VDBPointTools.h.

template<typename VectorType>
size_t GU_VDBPointList< VectorType >::size ( void  ) const
inline

Definition at line 94 of file GU_VDBPointTools.h.


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