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

#include <GP_BilinearXform.h>

+ Inheritance diagram for GP_BilinearXform:

Public Member Functions

 GP_BilinearXform (const UT_BoundingRect *brect=0)
 
 GP_BilinearXform (const GP_BilinearXform &xform)
 
 GP_BilinearXform (const GP_Point &a1, const GP_Point &a2, const GP_Point &a3, const GP_Point &a4, const GP_Point &b1, const GP_Point &b2, const GP_Point &b3, const GP_Point &b4)
 
virtual ~GP_BilinearXform (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 *=0)
 
virtual GP_XformcomposeInverse (const GP_Xform &xform, const UT_BoundingRect *=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_BilinearXformoperator= (const GP_BilinearXform &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

int mapForward (GP_Point &data) const
 
int mapBackward (GP_Point &data) const
 
float findRoot (const GP_Point &p, const GP_Point &p1, const GP_Point &p2, const GP_Point &p3, const GP_Point &p4) const
 
- 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 19 of file GP_BilinearXform.h.

Constructor & Destructor Documentation

GP_BilinearXform::GP_BilinearXform ( const UT_BoundingRect brect = 0)
GP_BilinearXform::GP_BilinearXform ( const GP_BilinearXform xform)
GP_BilinearXform::GP_BilinearXform ( const GP_Point a1,
const GP_Point a2,
const GP_Point a3,
const GP_Point a4,
const GP_Point b1,
const GP_Point b2,
const GP_Point b3,
const GP_Point b4 
)
virtual GP_BilinearXform::~GP_BilinearXform ( void  )
virtual

Member Function Documentation

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

Implements GP_Xform.

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

Implements GP_Xform.

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

Implements GP_Xform.

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

Implements GP_Xform.

virtual int GP_BilinearXform::copyFrom ( const GP_Xform xform)
virtual

Implements GP_Xform.

float GP_BilinearXform::findRoot ( const GP_Point p,
const GP_Point p1,
const GP_Point p2,
const GP_Point p3,
const GP_Point p4 
) const
protected
virtual int GP_BilinearXform::forward ( GP_Point p) const
virtual

Implements GP_Xform.

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

Implements GP_Xform.

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

Implements GP_Xform.

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

Implements GP_Xform.

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

Implements GP_Xform.

virtual GP_Xform* GP_BilinearXform::inverse ( void  )
virtual

Implements GP_Xform.

virtual int GP_BilinearXform::inverse ( GP_Xform )
virtual

Implements GP_Xform.

virtual bool GP_BilinearXform::load ( UT_IStream is)
virtual

Implements GP_Xform.

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

Implements GP_Xform.

int GP_BilinearXform::mapBackward ( GP_Point data) const
protected
int GP_BilinearXform::mapForward ( GP_Point data) const
protected
GP_BilinearXform& GP_BilinearXform::operator= ( const GP_BilinearXform xform)
virtual void GP_BilinearXform::reset ( void  )
virtual

Implements GP_Xform.

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

Implements GP_Xform.

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

Implements GP_Xform.

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

Implements GP_Xform.


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