Class to look-up user defined spaces.
More...
#include <CVEX_Transform.h>
|
| Lookup () |
|
virtual | ~Lookup () |
|
virtual void * | allocateUserData () const |
| Allocate user data for the lookup context. More...
|
|
virtual void | freeUserData (void *) const |
| Delete the user data that was allocated for the lookup context. More...
|
|
virtual void | clearUserData (void *) const |
| Reset the user data so it can be re-used later. More...
|
|
virtual bool | lookup (const char *name, UT_Matrix4D &m, const LookupContext &context)=0 |
|
virtual bool | lookupInverse (const char *name, UT_Matrix4D &m, const LookupContext &context) |
|
virtual bool | lookupToNDC (const char *name, UT_Matrix4D &m, const LookupContext &context, bool &ortho) const |
| Lookup NDC space given a name. More...
|
|
virtual bool | lookupFromNDC (const char *name, UT_Matrix4D &m, const LookupContext &context, bool &ortho) const |
|
virtual bool | abspath (UT_StringHolder &result, const UT_StringHolder &relpath, const LookupContext &context) const |
| Path functions. More...
|
|
virtual int | idFromPath (const UT_StringHolder &relpath, const LookupContext &context) const |
|
virtual bool | pathFromId (UT_StringHolder &result, int id, const LookupContext &context) const |
|
Class to look-up user defined spaces.
Definition at line 116 of file CVEX_Transform.h.
CVEX_Transform::Lookup::Lookup |
( |
| ) |
|
|
inline |
virtual CVEX_Transform::Lookup::~Lookup |
( |
| ) |
|
|
virtual |
virtual void* CVEX_Transform::Lookup::allocateUserData |
( |
| ) |
const |
|
virtual |
Allocate user data for the lookup context.
virtual void CVEX_Transform::Lookup::clearUserData |
( |
void * |
| ) |
const |
|
virtual |
Reset the user data so it can be re-used later.
virtual void CVEX_Transform::Lookup::freeUserData |
( |
void * |
| ) |
const |
|
virtual |
Delete the user data that was allocated for the lookup context.
Look up a matrix which will transform the "current" space into the named space.
virtual bool CVEX_Transform::Lookup::lookupFromNDC |
( |
const char * |
name, |
|
|
UT_Matrix4D & |
m, |
|
|
const LookupContext & |
context, |
|
|
bool & |
ortho |
|
) |
| const |
|
virtual |
virtual bool CVEX_Transform::Lookup::lookupInverse |
( |
const char * |
name, |
|
|
UT_Matrix4D & |
m, |
|
|
const LookupContext & |
context |
|
) |
| |
|
virtual |
Look up a matrix which transforms the named space into "current" space. By default, this will call lookup()
and compute the inverse. If you have the inverse available, you may want to make this more efficient by using it.
virtual bool CVEX_Transform::Lookup::lookupToNDC |
( |
const char * |
name, |
|
|
UT_Matrix4D & |
m, |
|
|
const LookupContext & |
context, |
|
|
bool & |
ortho |
|
) |
| const |
|
virtual |
Lookup NDC space given a name.
The documentation for this class was generated from the following file: