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

#include <GP_LinearXform.h>

+ Inheritance diagram for GP_LinearXform:

Public Member Functions

 GP_LinearXform (void)
 
 GP_LinearXform (const GP_LinearXform &xform)
 
 GP_LinearXform (const GP_Point &orig, const UT_Matrix2 &basis)
 
 GP_LinearXform (const UT_BoundingRect &from, const UT_BoundingRect &to)
 
virtual ~GP_LinearXform (void)
 
virtual int forward (GP_Point &p) const
 
virtual int forward (GP_PointMatrix &m) const
 
virtual int backward (GP_Point &p) const
 
virtual int backward (GP_PointMatrix &m) const
 
virtual void reset (void)
 
virtual void translate (float dx, float dy)
 
virtual GP_Xformcompose (const GP_Xform &xform, const UT_BoundingRect *brect=0)
 
virtual GP_XformcomposeInverse (const GP_Xform &xform, const UT_BoundingRect *brect=0)
 
virtual int copyFrom (const GP_Xform &xform)
 
virtual GP_Xforminverse (void)
 
virtual int inverse (GP_Xform &)
 
virtual const char * getName (void) const
 
virtual unsigned int getType (void) const
 
virtual const char * getJSONToken (void) const
 
virtual int save (std::ostream &os, int binary=0) const
 
virtual bool load (UT_IStream &is)
 
virtual bool save (UT_JSONWriter &w) const
 
virtual bool load (UT_JSONParser &p, UT_JSONParser::traverser &it)
 
GP_LinearXformoperator= (const GP_LinearXform &xform)
 
- Public Member Functions inherited from GP_Xform
 GP_Xform (void)
 
virtual ~GP_Xform (void)
 
int addReference (void)
 
int delReference (void)
 
GP_Xformcopy (void) const
 

Protected Member Functions

 GP_LinearXform (const GP_Point &orig, const UT_Matrix2 &basis, const UT_Matrix2 &invbasis)
 
int computeInverse (void)
 
- Protected Member Functions inherited from GP_Xform
int saveHeader (std::ostream &os, int binary=0) const
 
bool saveType (UT_JSONWriter &w) const
 

Additional Inherited Members

- Static Public Member Functions inherited from GP_Xform
static GP_XformnewSpecies (const char *name)
 
static GP_XformnewSpecies (unsigned int type)
 
static GP_XformnewSpecies (const GP_Xform &xform)
 
static GP_XformnewSpeciesJSON (const char *name)
 
static GP_Xformread (UT_IStream &is)
 
static GP_Xformread (UT_JSONParser &p)
 
static int saveIdentity (std::ostream &os, int binary=0)
 
static bool saveIdentity (UT_JSONWriter &w)
 

Detailed Description

Definition at line 20 of file GP_LinearXform.h.

Constructor & Destructor Documentation

GP_LinearXform::GP_LinearXform ( void  )
GP_LinearXform::GP_LinearXform ( const GP_LinearXform xform)
GP_LinearXform::GP_LinearXform ( const GP_Point orig,
const UT_Matrix2 basis 
)
GP_LinearXform::GP_LinearXform ( const UT_BoundingRect from,
const UT_BoundingRect to 
)
virtual GP_LinearXform::~GP_LinearXform ( void  )
virtual
GP_LinearXform::GP_LinearXform ( const GP_Point orig,
const UT_Matrix2 basis,
const UT_Matrix2 invbasis 
)
protected

Member Function Documentation

virtual int GP_LinearXform::backward ( GP_Point p) const
virtual

Implements GP_Xform.

virtual int GP_LinearXform::backward ( GP_PointMatrix m) const
virtual

Implements GP_Xform.

virtual GP_Xform* GP_LinearXform::compose ( const GP_Xform xform,
const UT_BoundingRect brect = 0 
)
virtual

Implements GP_Xform.

virtual GP_Xform* GP_LinearXform::composeInverse ( const GP_Xform xform,
const UT_BoundingRect brect = 0 
)
virtual

Implements GP_Xform.

int GP_LinearXform::computeInverse ( void  )
protected
virtual int GP_LinearXform::copyFrom ( const GP_Xform xform)
virtual

Implements GP_Xform.

virtual int GP_LinearXform::forward ( GP_Point p) const
virtual

Implements GP_Xform.

virtual int GP_LinearXform::forward ( GP_PointMatrix m) const
virtual

Implements GP_Xform.

virtual const char* GP_LinearXform::getJSONToken ( void  ) const
virtual

Implements GP_Xform.

virtual const char* GP_LinearXform::getName ( void  ) const
virtual

Implements GP_Xform.

virtual unsigned int GP_LinearXform::getType ( void  ) const
virtual

Implements GP_Xform.

virtual GP_Xform* GP_LinearXform::inverse ( void  )
virtual

Implements GP_Xform.

virtual int GP_LinearXform::inverse ( GP_Xform )
virtual

Implements GP_Xform.

virtual bool GP_LinearXform::load ( UT_IStream is)
virtual

Implements GP_Xform.

virtual bool GP_LinearXform::load ( UT_JSONParser p,
UT_JSONParser::traverser it 
)
virtual

Implements GP_Xform.

GP_LinearXform& GP_LinearXform::operator= ( const GP_LinearXform xform)
virtual void GP_LinearXform::reset ( void  )
virtual

Implements GP_Xform.

virtual int GP_LinearXform::save ( std::ostream &  os,
int  binary = 0 
) const
virtual

Implements GP_Xform.

virtual bool GP_LinearXform::save ( UT_JSONWriter w) const
virtual

Implements GP_Xform.

virtual void GP_LinearXform::translate ( float  dx,
float  dy 
)
virtual

Implements GP_Xform.


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