18 #ifndef __HUSD_GetAttributes_h__
19 #define __HUSD_GetAttributes_h__
36 template<
typename UtValueType>
42 template<
typename UtValueType>
47 bool allow_inheritance =
false)
const;
49 template<
typename UtValueType>
54 bool flatten_primvar =
false)
const;
61 template<
typename UtValueType>
66 {
return getAttribute(primpath, attribname, value, timecode); }
68 template<
typename UtValueType>
73 bool allow_inheritance =
false)
const
74 {
return getPrimvar(primpath, primvarname, value, timecode,
77 template<
typename UtValueType>
82 bool flatten_primvar =
false)
const
84 return getAttributeOrPrimvar(
85 primpath, name, value, timecode, flatten_primvar);
102 template<
typename UtValueType>
107 bool allow_inheritance =
false)
const;
112 bool allow_inheritance =
false)
const;
119 bool allow_inheritance =
false)
const;
124 bool allow_inheritance =
false)
const;
129 bool allow_inheritance =
false)
const;
133 bool getIsTimeVarying()
const;
137 {
return myTimeSampling; }
GLsizei GLenum const void * indices
bool getPrimvarArray(const UT_StringRef &primpath, const UT_StringRef &primvarname, UT_Array< UtValueType > &value, const HUSD_TimeCode &timecode, bool allow_inheritance=false) const
Obtains attribute or primvar array value.
HUSD_TimeSampling getTimeSampling() const
Returns the overal sampling of fethced attributes.
bool getAttributeOrPrimvarArray(const UT_StringRef &primpath, const UT_StringRef &name, UT_Array< UtValueType > &value, const HUSD_TimeCode &timecode, bool flatten_primvar=false) const
Obtains attribute or primvar array value.
GLuint const GLchar * name
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.