|
HDK
|
#include <GA_GenericHandle.h>
Public Member Functions | |
| GA_GenericMath (const GA_ROGenericHandle< T, T_OWNER > &h) | |
| bool | setElement (T &val) |
| void | copy (GA_Offset source_index) const |
| void | add (GA_WeightedSum &sum, GA_Offset source_index, fpreal w) const |
| void | addH (GA_WeightedSum &sum, GA_Offset source_index, fpreal w) const |
| void | startSum (const GA_WeightedSum &sum) const |
| void | startHSum (const GA_WeightedSum &sum) const |
| void | finishSum (const GA_WeightedSum &sum, fpreal normalization=1) const |
| void | finishHSum (const GA_WeightedSum &sum, fpreal normalization=1) const |
| bool | isEqual (const T &val) const |
| bool | isAlmostEqual (const T &val) const |
| void | zero () const |
| void | multiply (fpreal scale) const |
| void | copyDest (T val) const |
| void | addDest (T val) const |
| void | subDest (T val) const |
| void | lerpDest (T s0, T s1, fpreal t) const |
| void | addDest (GA_WeightedSum &sum, T val, fpreal w) const |
| void | addHDest (GA_WeightedSum &sum, T val, fpreal w) const |
| void | dehomogenizeData (T *data, int size) |
Template math for operating on generic handles
This template is specialized to work on float, UT_Vector3, UT_Vector4, and other POD data types.
The offsets passed in to methods must match the T_OWNER template parameter.
Definition at line 242 of file GA_GenericHandle.h.
|
inline |
Definition at line 245 of file GA_GenericHandle.h.
|
inline |
Definition at line 254 of file GA_GenericHandle.h.
|
inline |
Definition at line 298 of file GA_GenericHandle.h.
|
inline |
Definition at line 304 of file GA_GenericHandle.h.
|
inline |
Definition at line 261 of file GA_GenericHandle.h.
|
inline |
Definition at line 309 of file GA_GenericHandle.h.
|
inline |
Definition at line 252 of file GA_GenericHandle.h.
|
inline |
Definition at line 297 of file GA_GenericHandle.h.
|
inline |
Definition at line 314 of file GA_GenericHandle.h.
|
inline |
Definition at line 279 of file GA_GenericHandle.h.
|
inline |
Definition at line 274 of file GA_GenericHandle.h.
|
inline |
Definition at line 288 of file GA_GenericHandle.h.
|
inline |
Definition at line 286 of file GA_GenericHandle.h.
|
inline |
Definition at line 301 of file GA_GenericHandle.h.
|
inline |
Definition at line 294 of file GA_GenericHandle.h.
|
inline |
Definition at line 248 of file GA_GenericHandle.h.
|
inline |
Definition at line 272 of file GA_GenericHandle.h.
|
inline |
Definition at line 270 of file GA_GenericHandle.h.
|
inline |
Definition at line 300 of file GA_GenericHandle.h.
|
inline |
Definition at line 292 of file GA_GenericHandle.h.