HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CVEX_Transform::LookupContext Class Reference

#include <CVEX_Transform.h>

Public Member Functions

 LookupContext ()
 
 ~LookupContext ()
 
void clear ()
 
UT_OpCalleropCaller () const
 
fpreal time () const
 
int cwdId () const
 Specifies the node for relative path searching. More...
 
int worldId () const
 Specifies the node that defines the transform space. More...
 
void setOpCaller (UT_OpCaller *c)
 
void setTime (fpreal t)
 
void setCwdId (int id)
 
void setWorldId (int id)
 
void setInputXform (int input, const UT_Matrix4D &xform)
 
void getInputXform (int input, UT_Matrix4D &xform) const
 
void setInputXformId (int input, int nodeid)
 
int getInputXformId (int input) const
 
voidgetUserData () const
 

Detailed Description

Class that passes information about context of transform lookup The cwd is the current node id (i.e. very likely the node associated with the OpCaller. The worldId is the node id associated with the current transform. That is, the object containing the node. If the worldId isn't defined, the cwd will be used.

Definition at line 60 of file CVEX_Transform.h.

Constructor & Destructor Documentation

CVEX_Transform::LookupContext::LookupContext ( )
CVEX_Transform::LookupContext::~LookupContext ( )

Member Function Documentation

void CVEX_Transform::LookupContext::clear ( )
int CVEX_Transform::LookupContext::cwdId ( ) const
inline

Specifies the node for relative path searching.

Definition at line 73 of file CVEX_Transform.h.

void CVEX_Transform::LookupContext::getInputXform ( int  input,
UT_Matrix4D xform 
) const
int CVEX_Transform::LookupContext::getInputXformId ( int  input) const
void* CVEX_Transform::LookupContext::getUserData ( ) const
inline

The user data is set by the Lookup class (if set). This allows the lookup to keep per-instantiation data.

Definition at line 103 of file CVEX_Transform.h.

UT_OpCaller* CVEX_Transform::LookupContext::opCaller ( ) const
inline

Definition at line 70 of file CVEX_Transform.h.

void CVEX_Transform::LookupContext::setCwdId ( int  id)
inline

Definition at line 93 of file CVEX_Transform.h.

void CVEX_Transform::LookupContext::setInputXform ( int  input,
const UT_Matrix4D xform 
)
void CVEX_Transform::LookupContext::setInputXformId ( int  input,
int  nodeid 
)
void CVEX_Transform::LookupContext::setOpCaller ( UT_OpCaller c)
inline

Definition at line 91 of file CVEX_Transform.h.

void CVEX_Transform::LookupContext::setTime ( fpreal  t)
inline

Definition at line 92 of file CVEX_Transform.h.

void CVEX_Transform::LookupContext::setWorldId ( int  id)
inline

Definition at line 94 of file CVEX_Transform.h.

fpreal CVEX_Transform::LookupContext::time ( ) const
inline

Definition at line 71 of file CVEX_Transform.h.

int CVEX_Transform::LookupContext::worldId ( ) const
inline

Specifies the node that defines the transform space.

Definition at line 80 of file CVEX_Transform.h.


The documentation for this class was generated from the following file: