GP_Frame Class Reference

#include <GP_Frame.h>

Inheritance diagram for GP_Frame:

GP_CorrectionFrame

List of all members.

Public Member Functions

 GP_Frame (void)
 GP_Frame (const GP_Frame &frame)
 GP_Frame (const GP_XformHandle &handle)
virtual ~GP_Frame (void)
virtual void copyFrom (const GP_Frame &src)
virtual int save (ostream &os, int binary=0) const
virtual bool load (UT_IStream &is)
GP_Frameoperator= (const GP_Frame &frame)
int toParent (GP_Point &p) const
int toWorld (GP_Point &p) const
int toFrame (GP_Point &p, const GP_Frame &to) const
int toParent (GP_PointMatrix &matx) const
int toWorld (GP_PointMatrix &matx) const
int toFrame (GP_PointMatrix &matx, const GP_Frame &to) const
int fromParent (GP_Point &p) const
int fromWorld (GP_Point &p) const
int fromParent (GP_PointMatrix &matx) const
int fromWorld (GP_PointMatrix &matx) const
void translate (float dx, float dy)
int isDirty (void) const
void dirty (void)
virtual void changeXform (const GP_XformHandle &handle)
virtual void composeXform (const GP_XformHandle &handle)
const GP_XformHandlepersonalXform () const
const GP_XformHandleworldXform () const
GP_FrameHierarchyhierarchy (void) const
const GP_Frameparent (void) const

Protected Member Functions

 GP_Frame (const GP_XformHandle &xform, const GP_XformHandle &world, int dirtyworld, GP_FrameHierarchy *frames)
void personalXform (const GP_XformHandle &handle)
void worldXform (const GP_XformHandle &handle)
void worldXform (const GP_Xform &xform)
void hierarchy (GP_FrameHierarchy *h=0)
GP_XformHandlepersonalXform (void)
GP_XformHandleworldXform (void)

Friends

class GP_FrameHierarchy


Detailed Description

Definition at line 30 of file GP_Frame.h.


Constructor & Destructor Documentation

GP_Frame::GP_Frame ( void   ) 

GP_Frame::GP_Frame ( const GP_Frame frame  ) 

GP_Frame::GP_Frame ( const GP_XformHandle handle  ) 

virtual GP_Frame::~GP_Frame ( void   )  [virtual]

GP_Frame::GP_Frame ( const GP_XformHandle xform,
const GP_XformHandle world,
int  dirtyworld,
GP_FrameHierarchy frames 
) [protected]


Member Function Documentation

virtual void GP_Frame::changeXform ( const GP_XformHandle handle  )  [virtual]

Reimplemented in GP_CorrectionFrame.

virtual void GP_Frame::composeXform ( const GP_XformHandle handle  )  [virtual]

virtual void GP_Frame::copyFrom ( const GP_Frame src  )  [virtual]

Reimplemented in GP_CorrectionFrame.

void GP_Frame::dirty ( void   ) 

int GP_Frame::fromParent ( GP_PointMatrix matx  )  const

int GP_Frame::fromParent ( GP_Point p  )  const

int GP_Frame::fromWorld ( GP_PointMatrix matx  )  const

int GP_Frame::fromWorld ( GP_Point p  )  const

void GP_Frame::hierarchy ( GP_FrameHierarchy h = 0  )  [inline, protected]

Definition at line 125 of file GP_Frame.h.

GP_FrameHierarchy* GP_Frame::hierarchy ( void   )  const [inline]

Definition at line 87 of file GP_Frame.h.

int GP_Frame::isDirty ( void   )  const [inline]

Definition at line 75 of file GP_Frame.h.

virtual bool GP_Frame::load ( UT_IStream is  )  [virtual]

GP_Frame& GP_Frame::operator= ( const GP_Frame frame  ) 

const GP_Frame* GP_Frame::parent ( void   )  const

GP_XformHandle& GP_Frame::personalXform ( void   )  [inline, protected]

Definition at line 135 of file GP_Frame.h.

void GP_Frame::personalXform ( const GP_XformHandle handle  )  [inline, protected]

Definition at line 99 of file GP_Frame.h.

const GP_XformHandle& GP_Frame::personalXform (  )  const [inline]

Definition at line 83 of file GP_Frame.h.

virtual int GP_Frame::save ( ostream &  os,
int  binary = 0 
) const [virtual]

int GP_Frame::toFrame ( GP_PointMatrix matx,
const GP_Frame to 
) const

int GP_Frame::toFrame ( GP_Point p,
const GP_Frame to 
) const

int GP_Frame::toParent ( GP_PointMatrix matx  )  const

int GP_Frame::toParent ( GP_Point p  )  const

int GP_Frame::toWorld ( GP_PointMatrix matx  )  const

int GP_Frame::toWorld ( GP_Point p  )  const

void GP_Frame::translate ( float  dx,
float  dy 
)

GP_XformHandle& GP_Frame::worldXform ( void   )  [inline, protected]

Definition at line 136 of file GP_Frame.h.

void GP_Frame::worldXform ( const GP_Xform xform  )  [inline, protected]

Definition at line 118 of file GP_Frame.h.

void GP_Frame::worldXform ( const GP_XformHandle handle  )  [inline, protected]

Definition at line 113 of file GP_Frame.h.

const GP_XformHandle& GP_Frame::worldXform (  )  const [inline]

Definition at line 84 of file GP_Frame.h.


Friends And Related Function Documentation

friend class GP_FrameHierarchy [friend]

Reimplemented in GP_CorrectionFrame.

Definition at line 32 of file GP_Frame.h.


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

Generated on Thu May 24 00:09:39 2012 for HDK by  doxygen 1.5.9