All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 56 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

Specifies the node for relative path searching.

Definition at line 67 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

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

Definition at line 97 of file CVEX_Transform.h.

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

Definition at line 64 of file CVEX_Transform.h.

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

Definition at line 87 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)

Definition at line 85 of file CVEX_Transform.h.

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

Definition at line 86 of file CVEX_Transform.h.

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

Definition at line 88 of file CVEX_Transform.h.

fpreal CVEX_Transform::LookupContext::time ( ) const

Definition at line 65 of file CVEX_Transform.h.

int CVEX_Transform::LookupContext::worldId ( ) const

Specifies the node that defines the transform space.

Definition at line 74 of file CVEX_Transform.h.

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