|
HDK
|
#include <CVEX_Transform.h>
Classes | |
| class | Lookup |
| Class to look-up user defined spaces. More... | |
| class | LookupContext |
Public Member Functions | |
| CVEX_Transform () | |
| ~CVEX_Transform () | |
| void | clear () |
| UT_OpCaller * | opCaller () const |
| const UT_OpGraphProxy * | opGraphProxy () const |
| fpreal | time () const |
| int | cwdId () const |
| int | graphCwdId () const |
| int | worldId () const |
| void | getInputXform (int input, UT_Matrix4D &xform) const |
| int | getInputXformId (int input) const |
| void | setOpCaller (UT_OpCaller *c) |
| void | setOpGraphProxy (const UT_OpGraphProxy *graph) |
| void | setTime (fpreal t) |
| void | setCwdId (int id) |
| void | setGraphCwdId (int id) |
| void | setWorldId (int id) |
| void | setInputXform (int id, const UT_Matrix4D &xform) |
| void | setInputXformId (int id, int nodeid) |
Static Public Member Functions | |
| static void | setLookup (const UT_SharedPtr< Lookup > &lookup) |
| Set the lookup object for arbitrary spaces. More... | |
Friends | |
| template<VEX_Precision ALLPREC> | |
| class | CVEX_ContextT |
Each VEX shader can have a transform bound to it. This transform is used by the ptransform(), ntransform(), etc. functions to look up "world" or "object" space.
Variables in the shader are defined to be in "current" space. The CVEX context allows you to specify various transforms from the current space to another space. The other spaces are defined by the built-in VEX spaces:
It's also possible to specify a "lookup" helper class which can be used to look up user defined spaces.
Definition at line 44 of file CVEX_Transform.h.
| CVEX_Transform::CVEX_Transform | ( | ) |
| CVEX_Transform::~CVEX_Transform | ( | ) |
| void CVEX_Transform::clear | ( | ) |
Resets the transform so it can be re-used by different contexts.
|
inline |
Get information about the context
Definition at line 183 of file CVEX_Transform.h.
|
inline |
Get information about the context
Definition at line 186 of file CVEX_Transform.h.
Get information about the context
Definition at line 187 of file CVEX_Transform.h.
|
inline |
Get information about the context
Definition at line 184 of file CVEX_Transform.h.
|
inline |
Get information about the context
Definition at line 180 of file CVEX_Transform.h.
|
inline |
Get information about the context
Definition at line 181 of file CVEX_Transform.h.
Set information about the context
Definition at line 195 of file CVEX_Transform.h.
Set information about the context
Definition at line 196 of file CVEX_Transform.h.
|
inline |
Set information about the context
Definition at line 198 of file CVEX_Transform.h.
Set information about the context
Definition at line 199 of file CVEX_Transform.h.
|
static |
Set the lookup object for arbitrary spaces.
|
inline |
Set information about the context
Definition at line 192 of file CVEX_Transform.h.
|
inline |
Set information about the context
Definition at line 193 of file CVEX_Transform.h.
Set information about the context
Definition at line 194 of file CVEX_Transform.h.
Set information about the context
Definition at line 197 of file CVEX_Transform.h.
|
inline |
Get information about the context
Definition at line 182 of file CVEX_Transform.h.
|
inline |
Get information about the context
Definition at line 185 of file CVEX_Transform.h.
|
friend |
Definition at line 211 of file CVEX_Transform.h.