HDK
|
#include <GEO_Point.h>
Public Types | |
typedef GA_Detail | DetailType |
Public Member Functions | |
void | setPos (const UT_Vector4 &p) |
void | setPos (const UT_Vector3 &p, float w=1) |
void | setPos (float x, float y, float z) |
void | setPos (float x, float y, float z, float w) |
GA_StringIndexType | getStringHandle (const GA_ROAttributeRef &h, int index=0) const |
GA_StringIndexType | getStringHandle (const GA_RWAttributeRef &h, int index=0) const |
GEO_Point () | |
GEO_Point (const GA_IndexMap &index_map, GA_Offset offset) | |
~GEO_Point () | |
const UT_Vector4 | getPos () const |
float | getPw () const |
void | setPw (float w) |
const UT_Vector3 | getPos3 () const |
void | setPos3 (const UT_Vector3 &p) |
Public Member Functions inherited from GA_GBPoint | |
GA_GBPoint (const GA_IndexMap &index_map, GA_Offset offset) | |
GA_GBPoint (const GA_GBPoint &src) | |
GA_GBPoint () | |
GA_GBPoint & | operator= (const GA_GBPoint &src) |
~GA_GBPoint () | |
void | copyPoint (const GA_GBElement &src, const GA_AttributeSet &src_dict, const GA_AttributeSet &dest_dict) |
void | copyPoint (const GA_GBElement &src, const GA_AttributeDict &src_dict, const GA_AttributeDict &dest_dict) |
void | copyPoint (const GA_GBElement &src, const GA_AttributeSet &dict) |
void | copyPoint (const GA_GBElement &src, const GA_AttributeDict &dict) |
Public Member Functions inherited from GA_GBElement | |
GA_Detail & | getDetail () const |
Provide access to the GA_Detail containing this element. More... | |
const GA_IndexMap & | getIndexMap () const |
Provide access to the GA_IndexMap containing this element. More... | |
GA_Offset | getMapOffset () const |
GA_Index | getMapIndex () const |
Provide the ordered GA_Index of this element in its GA_IndexMap. More... | |
bool | isGAValid () const |
Test to see whether the GA_GBElement is bound to a valid offset. More... | |
void | copyAttributeData (const GA_RWAttributeRef &dstref, const GA_GBElement &src, const GA_ROAttributeRef &srcref) |
Copy a single attribute over. More... | |
void | swapOffsetValue (const GA_Defragment &defrag) |
For defragmentation, we need to update the offset. More... | |
GA_Index | getNum () const |
bool | isPrimary () const |
void | copyAttribData (const GA_GBElement &src, const GA_AttributeSet &src_dict, const GA_AttributeSet &dest_dict, bool copy_point_P=false) |
void | copyAttribData (const GA_GBElement &src, const GA_AttributeSet &dict, bool copy_point_P=false) |
void | copyAttributeValues (const GA_GBElement &src, const GA_AttributeSet &dict, bool copy_point_P=false) |
void | scaleAttributeValues (fpreal scale, const GA_AttributeSet &dest_dict, bool scale_point_P=false) |
void | addAttributeValues (const GA_GBElement &src, const GA_AttributeSet &src_dict, const GA_AttributeSet &dest_dict, fpreal scale=1, bool add_point_P=false) |
void | addAttributeValues (const GA_GBElement &src, const GA_AttributeSet &dict, fpreal scale=1, bool add_point_P=false) |
void | lerpAttributeValues (const GA_GBElement &v0, const GA_GBElement &v1, fpreal bias, const GA_AttributeSet &src_dict, const GA_AttributeSet &dest_dict, bool lerp_point_P=false) |
void | lerpAttributeValues (const GA_GBElement &v0, const GA_GBElement &v1, fpreal bias, const GA_AttributeSet &dict, bool lerp_point_P=false) |
const char * | getString (const GA_ROAttributeRef &h, int index=0) const |
void | setString (const GA_WOAttributeRef &h, const char *str, int index=0) |
template<typename T > | |
T | getValue (const GA_ROAttributeRef &h, int index=0) const |
template<typename T > | |
void | setValue (const GA_WOAttributeRef &h, const T &val, int index=0) |
template<typename T > | |
void | get (const GA_ROAttributeRef &h, T &val, int index=0) const |
template<typename T > | |
void | get (const GA_ROAttributeRef &h, T *val, int count) const |
template<typename T > | |
void | set (const GA_WOAttributeRef &h, const T *val, int count) |
Definition at line 298 of file GEO_Point.h.
typedef GA_Detail GEO_Point::DetailType |
Definition at line 384 of file GEO_Point.h.
|
inline |
Class constructors and destructors. The one that takes an attribute data "steals" the data from adata and sets adata's data pointer to 0.
Definition at line 305 of file GEO_Point.h.
|
inline |
Class constructors and destructors. The one that takes an attribute data "steals" the data from adata and sets adata's data pointer to 0.
Definition at line 308 of file GEO_Point.h.
|
inline |
Class constructors and destructors. The one that takes an attribute data "steals" the data from adata and sets adata's data pointer to 0.
Definition at line 311 of file GEO_Point.h.
|
inline |
Get de-homogenized position (that is, without the homogeneous coordinate multiplied through).
Definition at line 318 of file GEO_Point.h.
|
inline |
New GA methods which support getting/setting positons without affecting the w (homogeneous) coordinate.
Definition at line 345 of file GEO_Point.h.
|
inline |
Get and set the homogeneous coordinate
Definition at line 324 of file GEO_Point.h.
|
inline |
Definition at line 353 of file GEO_Point.h.
|
inline |
Definition at line 369 of file GEO_Point.h.
|
inline |
Definition at line 330 of file GEO_Point.h.
|
inline |
Definition at line 332 of file GEO_Point.h.
Definition at line 335 of file GEO_Point.h.
Definition at line 338 of file GEO_Point.h.
|
inline |
New GA methods which support getting/setting positons without affecting the w (homogeneous) coordinate.
Definition at line 348 of file GEO_Point.h.
Get and set the homogeneous coordinate
Definition at line 326 of file GEO_Point.h.