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

Houdini point attribute wrapper. More...

#include <GU_VDBPointTools.h>

Public Types

typedef hboost::shared_ptr
< GU_VDBPointList
Ptr
 
typedef hboost::shared_ptr
< const GU_VDBPointList
ConstPtr
 
typedef VectorType PosType
 
typedef PosType::value_type ScalarType
 

Public Member Functions

 GU_VDBPointList (const GU_Detail &detail, const GA_PointGroup *group=NULL)
 
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=NULL)
 

Detailed Description

template<typename VectorType>
struct GU_VDBPointList< VectorType >

Houdini point attribute wrapper.

Definition at line 68 of file GU_VDBPointTools.h.

Member Typedef Documentation

template<typename VectorType>
typedef hboost::shared_ptr<const GU_VDBPointList> GU_VDBPointList< VectorType >::ConstPtr

Definition at line 71 of file GU_VDBPointTools.h.

template<typename VectorType>
typedef VectorType GU_VDBPointList< VectorType >::PosType

Definition at line 73 of file GU_VDBPointTools.h.

template<typename VectorType>
typedef hboost::shared_ptr<GU_VDBPointList> GU_VDBPointList< VectorType >::Ptr

Definition at line 70 of file GU_VDBPointTools.h.

template<typename VectorType>
typedef PosType::value_type GU_VDBPointList< VectorType >::ScalarType

Definition at line 74 of file GU_VDBPointTools.h.

Constructor & Destructor Documentation

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

Definition at line 76 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 = NULL 
)
inlinestatic

Definition at line 116 of file GU_VDBPointTools.h.

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

Definition at line 128 of file GU_VDBPointTools.h.

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

Definition at line 146 of file GU_VDBPointTools.h.

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

Definition at line 136 of file GU_VDBPointTools.h.

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

Definition at line 160 of file GU_VDBPointTools.h.

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

Definition at line 132 of file GU_VDBPointTools.h.

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

Definition at line 153 of file GU_VDBPointTools.h.

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

Definition at line 124 of file GU_VDBPointTools.h.

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

Definition at line 123 of file GU_VDBPointTools.h.

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

Definition at line 142 of file GU_VDBPointTools.h.

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

Definition at line 121 of file GU_VDBPointTools.h.


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