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 764 of file GEO_Detail.h.

Member Enumeration Documentation

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

Definition at line 773 of file GEO_Detail.h.

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

Definition at line 768 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 777 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 786 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 793 of file GEO_Detail.h.

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

Definition at line 797 of file GEO_Detail.h.

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

Definition at line 798 of file GEO_Detail.h.

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

Definition at line 801 of file GEO_Detail.h.

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

Definition at line 800 of file GEO_Detail.h.

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

Definition at line 794 of file GEO_Detail.h.


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