13 #ifndef __GA_AttributeInstanceMatrix__
14 #define __GA_AttributeInstanceMatrix__
45 : myRemoveScales(false)
77 , myRemoveScales(false)
140 float default_pscale=1)
const;
144 fpreal default_pscale=1)
const;
148 float default_pscale=1)
const;
152 fpreal default_pscale=1)
const;
184 float default_pscale=1)
const;
189 fpreal default_pscale=1)
const;
194 float default_pscale=1)
const;
199 fpreal default_pscale=1)
const;
203 bool hasAnyAttribs()
const;
207 bool hasNonScales()
const;
210 bool hasScales()
const;
237 static constexpr
int theNumAttribs = 10;
247 void getDataIds(
GA_DataId data_ids[theNumAttribs])
const;
void makeInvalid()
Make invalid.
GA_AttributeInstanceMatrix()
Default c-tor.
Definition of a geometry attribute.
GA_AttributeInstanceMatrix(const GA_Attribute *N, const GA_Attribute *v, const GA_Attribute *up, const GA_Attribute *trans, const GA_Attribute *pscale, const GA_Attribute *pscale3, const GA_Attribute *rot, const GA_Attribute *orient, const GA_Attribute *pivot, const GA_Attribute *xform3, const GA_Attribute *xform4)
UT_SharedPtr< GA_AttributeInstanceMatrix > GA_AttributeInstanceMatrixPtr
GA_API const UT_StringHolder rot
const GA_ROHandleV3D & getPivot() const
const GA_ROHandleD & getPscale() const
GA_API const UT_StringHolder v
GA_AttributeInstanceMatrix(const GA_AttributeDict &dict, const GA_Attribute *N)
A string map of attributes to ease backward compatibility In the GB/GEO/GU library code would often p...
GA_AttributeInstanceMatrix(const GA_AttributeDict &dict, const UT_StringRef &N_name=GA_Names::N, const UT_StringRef &v_name=GA_Names::v)
const GA_ROHandleM3D & getXform3() const
const GA_ROHandleV3D & getN() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
GA_API const UT_StringHolder trans
const GA_ROHandleV3D & getPscale3() const
const GA_ROHandleQD & getOrient() const
~GA_AttributeInstanceMatrix()
OPENVDB_API void initialize()
Global registration of native Grid, Transform, Metadata and Point attribute types. Also initializes blosc (if enabled).
GA_API const UT_StringHolder orient
const GA_ROHandleM4D & getXform4() const
bool getRemoveScales() const
GA_API const UT_StringHolder up
Compute an instance transform given a set of attributes.
GA_API const UT_StringHolder pscale
const GA_ROHandleV3D & getUp() const
GA_API const UT_StringHolder N
const GA_ROHandleQD & getRot() const
GA_API const UT_StringHolder pivot
const GA_ROHandleV3D & getTrans() const
void setN(const GA_Attribute *N)
Overrides the N attribute with the specified attribute.