HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GP_Frame Class Reference

#include <GP_Frame.h>

+ Inheritance diagram for GP_Frame:

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 (std::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 22 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_Point p) const
int GP_Frame::fromParent ( GP_PointMatrix matx) const
int GP_Frame::fromWorld ( GP_Point p) const
int GP_Frame::fromWorld ( GP_PointMatrix matx) const
GP_FrameHierarchy* GP_Frame::hierarchy ( void  ) const
inline

Definition at line 79 of file GP_Frame.h.

void GP_Frame::hierarchy ( GP_FrameHierarchy h = 0)
inlineprotected

Definition at line 117 of file GP_Frame.h.

int GP_Frame::isDirty ( void  ) const
inline

Definition at line 67 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
const GP_XformHandle& GP_Frame::personalXform ( ) const
inline

Definition at line 75 of file GP_Frame.h.

void GP_Frame::personalXform ( const GP_XformHandle handle)
inlineprotected

Definition at line 91 of file GP_Frame.h.

GP_XformHandle& GP_Frame::personalXform ( void  )
inlineprotected

Definition at line 127 of file GP_Frame.h.

virtual int GP_Frame::save ( std::ostream &  os,
int  binary = 0 
) const
virtual
int GP_Frame::toFrame ( GP_Point p,
const GP_Frame to 
) const
int GP_Frame::toFrame ( GP_PointMatrix matx,
const GP_Frame to 
) const
int GP_Frame::toParent ( GP_Point p) const
int GP_Frame::toParent ( GP_PointMatrix matx) const
int GP_Frame::toWorld ( GP_Point p) const
int GP_Frame::toWorld ( GP_PointMatrix matx) const
void GP_Frame::translate ( float  dx,
float  dy 
)
const GP_XformHandle& GP_Frame::worldXform ( ) const
inline

Definition at line 76 of file GP_Frame.h.

void GP_Frame::worldXform ( const GP_XformHandle handle)
inlineprotected

Definition at line 105 of file GP_Frame.h.

void GP_Frame::worldXform ( const GP_Xform xform)
inlineprotected

Definition at line 110 of file GP_Frame.h.

GP_XformHandle& GP_Frame::worldXform ( void  )
inlineprotected

Definition at line 128 of file GP_Frame.h.

Friends And Related Function Documentation

friend class GP_FrameHierarchy
friend

Definition at line 24 of file GP_Frame.h.


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