UT_XformOrder Class Reference

#include <UT_XformOrder.h>

List of all members.

Public Types

enum  xform {
  T = 0, S = 1, RX = 2, RY = 3,
  RZ = 4
}
enum  rstOrder {
  TRS, TSR, RTS, RST,
  STR, SRT
}
enum  xyzOrder {
  XYZ, XZY, YXZ, YZX,
  ZXY, ZYX
}

Public Member Functions

 UT_XformOrder (rstOrder rst=UT_XformOrder::TSR, xyzOrder rot=UT_XformOrder::XYZ)
 UT_XformOrder (xform xf1, xform xf2, xform xf3=UT_XformOrder::RX, xform xf4=UT_XformOrder::RY, xform xf5=UT_XformOrder::RZ)
 UT_XformOrder (const char *rst, const char *rot="xyz")
 UT_XformOrder (const UT_XformOrder &xf)
 ~UT_XformOrder ()
void reorder (UT_XformOrder::xform xf1, UT_XformOrder::xform xf2, UT_XformOrder::xform xf3, UT_XformOrder::xform xf4, UT_XformOrder::xform xf5)
void reorder (UT_XformOrder::rstOrder rst, UT_XformOrder::xyzOrder rot)
UT_XformOrder::rstOrder mainOrder (void) const
void mainOrder (UT_XformOrder::rstOrder rst)
bool mainOrder (const char *rst)
UT_XformOrder::xyzOrder rotOrder (void) const
void rotOrder (UT_XformOrder::xyzOrder rot)
bool rotOrder (const char *rot)
void swap (UT_XformOrder::xform xf1, UT_XformOrder::xform xf2)
void invert ()
unsigned short operator() (UT_XformOrder::xform xf) const
UT_XformOrder::xform operator[] (unsigned short i) const
int count (void) const
UT_XformOrderoperator= (const UT_XformOrder &xf)
int save (ostream &os, int binary=0) const

Static Public Member Functions

static void getRotOrderMapping (xyzOrder src, xyzOrder dst, int map[3])

Friends

ostream & operator<< (ostream &os, const UT_XformOrder &t)


Detailed Description

Definition at line 28 of file UT_XformOrder.h.


Member Enumeration Documentation

Enumerator:
TRS 
TSR 
RTS 
RST 
STR 
SRT 

Definition at line 38 of file UT_XformOrder.h.

Enumerator:
T 
S 
RX 
RY 
RZ 

Definition at line 33 of file UT_XformOrder.h.

Enumerator:
XYZ 
XZY 
YXZ 
YZX 
ZXY 
ZYX 

Definition at line 39 of file UT_XformOrder.h.


Constructor & Destructor Documentation

UT_XformOrder::UT_XformOrder ( rstOrder  rst = UT_XformOrder::TSR,
xyzOrder  rot = UT_XformOrder::XYZ 
) [inline]

Definition at line 47 of file UT_XformOrder.h.

UT_XformOrder::UT_XformOrder ( xform  xf1,
xform  xf2,
xform  xf3 = UT_XformOrder::RX,
xform  xf4 = UT_XformOrder::RY,
xform  xf5 = UT_XformOrder::RZ 
) [inline]

Definition at line 53 of file UT_XformOrder.h.

UT_XformOrder::UT_XformOrder ( const char *  rst,
const char *  rot = "xyz" 
)

UT_XformOrder::UT_XformOrder ( const UT_XformOrder xf  ) 

UT_XformOrder::~UT_XformOrder (  )  [inline]

Definition at line 70 of file UT_XformOrder.h.


Member Function Documentation

int UT_XformOrder::count ( void   )  const [inline]

Definition at line 129 of file UT_XformOrder.h.

static void UT_XformOrder::getRotOrderMapping ( xyzOrder  src,
xyzOrder  dst,
int  map[3] 
) [static]

void UT_XformOrder::invert (  ) 

bool UT_XformOrder::mainOrder ( const char *  rst  ) 

void UT_XformOrder::mainOrder ( UT_XformOrder::rstOrder  rst  ) 

UT_XformOrder::rstOrder UT_XformOrder::mainOrder ( void   )  const

unsigned short UT_XformOrder::operator() ( UT_XformOrder::xform  xf  )  const [inline]

Definition at line 116 of file UT_XformOrder.h.

UT_XformOrder& UT_XformOrder::operator= ( const UT_XformOrder xf  ) 

UT_XformOrder::xform UT_XformOrder::operator[] ( unsigned short  i  )  const [inline]

Definition at line 120 of file UT_XformOrder.h.

void UT_XformOrder::reorder ( UT_XformOrder::rstOrder  rst,
UT_XformOrder::xyzOrder  rot 
)

void UT_XformOrder::reorder ( UT_XformOrder::xform  xf1,
UT_XformOrder::xform  xf2,
UT_XformOrder::xform  xf3,
UT_XformOrder::xform  xf4,
UT_XformOrder::xform  xf5 
)

bool UT_XformOrder::rotOrder ( const char *  rot  ) 

void UT_XformOrder::rotOrder ( UT_XformOrder::xyzOrder  rot  ) 

UT_XformOrder::xyzOrder UT_XformOrder::rotOrder ( void   )  const

int UT_XformOrder::save ( ostream &  os,
int  binary = 0 
) const

void UT_XformOrder::swap ( UT_XformOrder::xform  xf1,
UT_XformOrder::xform  xf2 
) [inline]

Definition at line 100 of file UT_XformOrder.h.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  os,
const UT_XformOrder t 
) [friend]

Definition at line 138 of file UT_XformOrder.h.


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

Generated on Mon Jan 28 00:49:19 2013 for HDK by  doxygen 1.5.9