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 69 of file GU_VDBPointTools.h.

Member Typedef Documentation

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

Definition at line 72 of file GU_VDBPointTools.h.

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

Definition at line 74 of file GU_VDBPointTools.h.

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

Definition at line 71 of file GU_VDBPointTools.h.

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

Definition at line 75 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 77 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 117 of file GU_VDBPointTools.h.

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

Definition at line 129 of file GU_VDBPointTools.h.

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

Definition at line 147 of file GU_VDBPointTools.h.

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

Definition at line 137 of file GU_VDBPointTools.h.

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

Definition at line 161 of file GU_VDBPointTools.h.

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

Definition at line 133 of file GU_VDBPointTools.h.

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

Definition at line 154 of file GU_VDBPointTools.h.

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

Definition at line 125 of file GU_VDBPointTools.h.

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

Definition at line 124 of file GU_VDBPointTools.h.

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

Definition at line 143 of file GU_VDBPointTools.h.

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

Definition at line 122 of file GU_VDBPointTools.h.


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