HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HUSD_GetAttributes Class Reference

#include <HUSD_GetAttributes.h>

Public Member Functions

 HUSD_GetAttributes (HUSD_AutoAnyLock &lock)
 
 ~HUSD_GetAttributes ()
 
template<typename UtValueType >
bool getFlattenedPrimvar (const UT_StringRef &primpath, const UT_StringRef &primvarname, UT_Array< UtValueType > &value, const HUSD_TimeCode &timecode) const
 Obtains array value of a flattened primvar. More...
 
bool isPrimvarIndexed (const UT_StringRef &primpath, const UT_StringRef &primvarname) const
 Returns true if the primvar is indexed. More...
 
bool getPrimvarIndices (const UT_StringRef &primpath, const UT_StringRef &primvarname, UT_ExintArray &indices, const HUSD_TimeCode &timecode) const
 Returns the index array for indexed primvars. More...
 
UT_StringHolder getPrimvarInterpolation (const UT_StringRef &primpath, const UT_StringRef &primvarname) const
 Returns the interpolation style of a primvar. More...
 
exint getPrimvarElementSize (const UT_StringRef &primpath, const UT_StringRef &primvarname) const
 Returns the exlement size of a primvar. More...
 
bool getIsTimeVarying () const
 Returns true if any attribute we have fetched has many time samples. More...
 
bool getIsTimeSampled () const
 Returns ture if any attribute we have fetched has time sample(s). More...
 
HUSD_TimeSampling getTimeSampling () const
 Returns the overal sampling of fethced attributes. More...
 
template<typename UtValueType >
bool getAttribute (const UT_StringRef &primpath, const UT_StringRef &attribname, UtValueType &value, const HUSD_TimeCode &timecode) const
 Obtains attribute or primvar value. More...
 
template<typename UtValueType >
bool getPrimvar (const UT_StringRef &primpath, const UT_StringRef &primvarname, UtValueType &value, const HUSD_TimeCode &timecode) const
 Obtains attribute or primvar value. More...
 
template<typename UtValueType >
bool getAttributeArray (const UT_StringRef &primpath, const UT_StringRef &attribname, UT_Array< UtValueType > &value, const HUSD_TimeCode &timecode) const
 Obtains attribute or primvar array value. More...
 
template<typename UtValueType >
bool getPrimvarArray (const UT_StringRef &primpath, const UT_StringRef &primvarname, UT_Array< UtValueType > &value, const HUSD_TimeCode &timecode) const
 Obtains attribute or primvar array value. More...
 

Detailed Description

Definition at line 29 of file HUSD_GetAttributes.h.

Constructor & Destructor Documentation

HUSD_GetAttributes::HUSD_GetAttributes ( HUSD_AutoAnyLock lock)
HUSD_GetAttributes::~HUSD_GetAttributes ( )

Member Function Documentation

template<typename UtValueType >
bool HUSD_GetAttributes::getAttribute ( const UT_StringRef primpath,
const UT_StringRef attribname,
UtValueType &  value,
const HUSD_TimeCode timecode 
) const

Obtains attribute or primvar value.

template<typename UtValueType >
bool HUSD_GetAttributes::getAttributeArray ( const UT_StringRef primpath,
const UT_StringRef attribname,
UT_Array< UtValueType > &  value,
const HUSD_TimeCode timecode 
) const
inline

Obtains attribute or primvar array value.

Definition at line 54 of file HUSD_GetAttributes.h.

template<typename UtValueType >
bool HUSD_GetAttributes::getFlattenedPrimvar ( const UT_StringRef primpath,
const UT_StringRef primvarname,
UT_Array< UtValueType > &  value,
const HUSD_TimeCode timecode 
) const

Obtains array value of a flattened primvar.

bool HUSD_GetAttributes::getIsTimeSampled ( ) const

Returns ture if any attribute we have fetched has time sample(s).

bool HUSD_GetAttributes::getIsTimeVarying ( ) const

Returns true if any attribute we have fetched has many time samples.

template<typename UtValueType >
bool HUSD_GetAttributes::getPrimvar ( const UT_StringRef primpath,
const UT_StringRef primvarname,
UtValueType &  value,
const HUSD_TimeCode timecode 
) const

Obtains attribute or primvar value.

template<typename UtValueType >
bool HUSD_GetAttributes::getPrimvarArray ( const UT_StringRef primpath,
const UT_StringRef primvarname,
UT_Array< UtValueType > &  value,
const HUSD_TimeCode timecode 
) const
inline

Obtains attribute or primvar array value.

Definition at line 61 of file HUSD_GetAttributes.h.

exint HUSD_GetAttributes::getPrimvarElementSize ( const UT_StringRef primpath,
const UT_StringRef primvarname 
) const

Returns the exlement size of a primvar.

bool HUSD_GetAttributes::getPrimvarIndices ( const UT_StringRef primpath,
const UT_StringRef primvarname,
UT_ExintArray indices,
const HUSD_TimeCode timecode 
) const

Returns the index array for indexed primvars.

UT_StringHolder HUSD_GetAttributes::getPrimvarInterpolation ( const UT_StringRef primpath,
const UT_StringRef primvarname 
) const

Returns the interpolation style of a primvar.

HUSD_TimeSampling HUSD_GetAttributes::getTimeSampling ( ) const
inline

Returns the overal sampling of fethced attributes.

Definition at line 101 of file HUSD_GetAttributes.h.

bool HUSD_GetAttributes::isPrimvarIndexed ( const UT_StringRef primpath,
const UT_StringRef primvarname 
) const

Returns true if the primvar is indexed.


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