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 |
fpreal | time () const |
int | cwdId () const |
int | worldId () const |
void | getInputXform (int input, UT_Matrix4D &xform) const |
int | getInputXformId (int input) const |
void | setOpCaller (UT_OpCaller *c) |
void | setTime (fpreal t) |
void | setCwdId (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 43 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 170 of file CVEX_Transform.h.
|
inline |
Get information about the context
Definition at line 172 of file CVEX_Transform.h.
Get information about the context
Definition at line 173 of file CVEX_Transform.h.
|
inline |
Get information about the context
Definition at line 168 of file CVEX_Transform.h.
Set information about the context
Definition at line 180 of file CVEX_Transform.h.
|
inline |
Set information about the context
Definition at line 182 of file CVEX_Transform.h.
Set information about the context
Definition at line 183 of file CVEX_Transform.h.
|
static |
Set the lookup object for arbitrary spaces.
|
inline |
Set information about the context
Definition at line 178 of file CVEX_Transform.h.
Set information about the context
Definition at line 179 of file CVEX_Transform.h.
Set information about the context
Definition at line 181 of file CVEX_Transform.h.
|
inline |
Get information about the context
Definition at line 169 of file CVEX_Transform.h.
|
inline |
Get information about the context
Definition at line 171 of file CVEX_Transform.h.
|
friend |
Definition at line 195 of file CVEX_Transform.h.