HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GEO_Detail::LocalXformContextT< FLOAT_T > Class Template Reference

#include <GEO_Detail.h>

Public Types

enum  Type { Type::LOOKAT, Type::ORIENT }
 
enum  PivotSpace { PivotSpace::GLOBAL, PivotSpace::LOCAL }
 

Public Member Functions

 LocalXformContextT (const UT_Vector3T< FLOAT_T > &forward, const UT_Vector3T< FLOAT_T > &up, PivotSpace pivot_space)
 Coordinate frame defined by lookat(zero, forward, up). More...
 
 LocalXformContextT (const UT_Matrix3T< FLOAT_T > &orient, const UT_Vector3T< FLOAT_T > &origin, PivotSpace pivot_space)
 

Public Attributes

UT_Vector3T< FLOAT_T > myFwdVector
 
UT_Vector3T< FLOAT_T > myUpVector
 
UT_Matrix3T< FLOAT_T > myOrient
 
UT_Vector3T< FLOAT_T > myOrigin
 
Type myType
 
PivotSpace myPivotSpace
 

Detailed Description

template<typename FLOAT_T>
class GEO_Detail::LocalXformContextT< FLOAT_T >

Class for passing local context arguments to certain softTransform*() methods.

Definition at line 756 of file GEO_Detail.h.

Member Enumeration Documentation

template<typename FLOAT_T>
enum GEO_Detail::LocalXformContextT::PivotSpace
strong
Enumerator
GLOBAL 
LOCAL 

Definition at line 765 of file GEO_Detail.h.

template<typename FLOAT_T>
enum GEO_Detail::LocalXformContextT::Type
strong
Enumerator
LOOKAT 
ORIENT 

Definition at line 760 of file GEO_Detail.h.

Constructor & Destructor Documentation

template<typename FLOAT_T>
GEO_Detail::LocalXformContextT< FLOAT_T >::LocalXformContextT ( const UT_Vector3T< FLOAT_T > &  forward,
const UT_Vector3T< FLOAT_T > &  up,
PivotSpace  pivot_space 
)
inline

Coordinate frame defined by lookat(zero, forward, up).

Definition at line 769 of file GEO_Detail.h.

template<typename FLOAT_T>
GEO_Detail::LocalXformContextT< FLOAT_T >::LocalXformContextT ( const UT_Matrix3T< FLOAT_T > &  orient,
const UT_Vector3T< FLOAT_T > &  origin,
PivotSpace  pivot_space 
)
inline

Coordinate frame defined by an orient (rotate) matrix and origin. The orient matrix should transform row vector coordinates in the local basis to the standard world basis.

Definition at line 778 of file GEO_Detail.h.

Member Data Documentation

template<typename FLOAT_T>
UT_Vector3T<FLOAT_T> GEO_Detail::LocalXformContextT< FLOAT_T >::myFwdVector

Definition at line 785 of file GEO_Detail.h.

template<typename FLOAT_T>
UT_Matrix3T<FLOAT_T> GEO_Detail::LocalXformContextT< FLOAT_T >::myOrient

Definition at line 789 of file GEO_Detail.h.

template<typename FLOAT_T>
UT_Vector3T<FLOAT_T> GEO_Detail::LocalXformContextT< FLOAT_T >::myOrigin

Definition at line 790 of file GEO_Detail.h.

template<typename FLOAT_T>
PivotSpace GEO_Detail::LocalXformContextT< FLOAT_T >::myPivotSpace

Definition at line 793 of file GEO_Detail.h.

template<typename FLOAT_T>
Type GEO_Detail::LocalXformContextT< FLOAT_T >::myType

Definition at line 792 of file GEO_Detail.h.

template<typename FLOAT_T>
UT_Vector3T<FLOAT_T> GEO_Detail::LocalXformContextT< FLOAT_T >::myUpVector

Definition at line 786 of file GEO_Detail.h.


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