All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GP_Domain Class Referenceabstract

#include <GP_Domain.h>

+ Inheritance diagram for GP_Domain:

Public Member Functions

 GP_Domain ()
 GP_Domain (const UT_BoundingRect &original, const GP_XformHandle &xform, int key=0)
 GP_Domain (const GP_Domain &d)
 ~GP_Domain () override
GP_Nodecopy () const override
virtual int save (std::ostream &os, int binary=0) const
virtual bool load (UT_IStream &is)
virtual bool saveJSONFields (UT_JSONWriter &w, const GA_SaveMap &map) const
virtual void initJSONLoad ()
virtual bool loadJSONField (UT_JSONParser &p, const GA_LoadMap &map, const char *field_token)
virtual void findParents (GP_NodeList &stack, GP_NodeList &parns)=0
virtual void findParent (GP_Domain &parent)=0
virtual GP_Domainspawn (const UT_BoundingRect &brect, float ubwidth=0, float vbwidth=0, int ubdivs=2, int vbdivs=2, int newkey=0)=0
virtual int modifyBasis (int(*apply)(void *tpsurf, void *d), void *data=0, int standalone=1)=0
GP_FrameHierarchyframes () const
void frames (GP_FrameHierarchy *f)
GP_DomainDAGdag () const
void update ()
void polygon (GP_Point &p1, GP_Point &p2, GP_Point &p3, GP_Point &p4)
GP_DomainparentDomain () const
int fromWorld (GP_Point &p) const
int contains (const GP_Point &worldp, int quick=0) const
int contains (const GP_Domain &d, int quick=0) const
int intersects (const GP_Domain &d, int quick=0) const
float intersect (const GP_Point &a, const GP_Point &b) const
int isFeature () const
GP_Domainrelative () const
void relative (GP_Domain *d)
const UT_BoundingRectoriginalBRect () const
void originalBRect (const UT_BoundingRect &brect)
void safeOriginalBRect (const UT_BoundingRect &)
const UT_BoundingRectworldBRect () const
const UT_BoundingRectworldBRect ()
- Public Member Functions inherited from GP_Node
 GP_Node (int akey=0)
 GP_Node (const GP_Node &node)
virtual ~GP_Node ()
virtual int copyInNodes (const GP_Node &src, const GP_NodeTree &destpool)
virtual int copyOutNodes (const GP_Node &src, const GP_NodeTree &destpool)
virtual GP_NodenewSpecies () const
void removeInEdges ()
void removeOutEdges ()
GP_NodeTreedescendents () const
int inDegree () const
int outDegree () const
int key () const
void key (int k)
GP_NodeTreeinNodes ()
const GP_NodeTreeinNodes () const
GP_NodeTreeoutNodes ()
const GP_NodeTreeoutNodes () const

Protected Member Functions

void updatePolygon ()

Detailed Description

Definition at line 29 of file GP_Domain.h.

Constructor & Destructor Documentation

GP_Domain::GP_Domain ( )
GP_Domain::GP_Domain ( const UT_BoundingRect original,
const GP_XformHandle xform,
int  key = 0 
GP_Domain::GP_Domain ( const GP_Domain d)
GP_Domain::~GP_Domain ( )

Member Function Documentation

int GP_Domain::contains ( const GP_Point worldp,
int  quick = 0 
) const
int GP_Domain::contains ( const GP_Domain d,
int  quick = 0 
) const
GP_Node* GP_Domain::copy ( ) const

Reimplemented from GP_Node.

GP_DomainDAG* GP_Domain::dag ( ) const
virtual void GP_Domain::findParent ( GP_Domain parent)
pure virtual

Implemented in GEO_PasteSurf.

virtual void GP_Domain::findParents ( GP_NodeList stack,
GP_NodeList parns 
pure virtual

Implemented in GEO_PasteSurf.

GP_FrameHierarchy* GP_Domain::frames ( ) const

Definition at line 73 of file GP_Domain.h.

void GP_Domain::frames ( GP_FrameHierarchy f)

Definition at line 77 of file GP_Domain.h.

int GP_Domain::fromWorld ( GP_Point p) const
virtual void GP_Domain::initJSONLoad ( )

Reimplemented in GEO_PasteSurf.

float GP_Domain::intersect ( const GP_Point a,
const GP_Point b 
) const
int GP_Domain::intersects ( const GP_Domain d,
int  quick = 0 
) const
int GP_Domain::isFeature ( ) const

Definition at line 132 of file GP_Domain.h.

virtual bool GP_Domain::load ( UT_IStream is)

Reimplemented in GEO_PasteSurf.

virtual bool GP_Domain::loadJSONField ( UT_JSONParser p,
const GA_LoadMap map,
const char *  field_token 

Reimplemented in GEO_PasteSurf.

virtual int GP_Domain::modifyBasis ( int(*)(void *tpsurf, void *d)  apply,
void data = 0,
int  standalone = 1 
pure virtual
const UT_BoundingRect& GP_Domain::originalBRect ( ) const

Definition at line 141 of file GP_Domain.h.

void GP_Domain::originalBRect ( const UT_BoundingRect brect)

Definition at line 142 of file GP_Domain.h.

GP_Domain* GP_Domain::parentDomain ( ) const

Definition at line 102 of file GP_Domain.h.

void GP_Domain::polygon ( GP_Point p1,
GP_Point p2,
GP_Point p3,
GP_Point p4 

Definition at line 91 of file GP_Domain.h.

GP_Domain* GP_Domain::relative ( ) const

Definition at line 135 of file GP_Domain.h.

void GP_Domain::relative ( GP_Domain d)

Definition at line 136 of file GP_Domain.h.

void GP_Domain::safeOriginalBRect ( const UT_BoundingRect )
virtual int GP_Domain::save ( std::ostream &  os,
int  binary = 0 
) const

Reimplemented in GEO_PasteSurf.

virtual bool GP_Domain::saveJSONFields ( UT_JSONWriter w,
const GA_SaveMap map 
) const

Reimplemented in GEO_PasteSurf.

virtual GP_Domain* GP_Domain::spawn ( const UT_BoundingRect brect,
float  ubwidth = 0,
float  vbwidth = 0,
int  ubdivs = 2,
int  vbdivs = 2,
int  newkey = 0 
pure virtual

Implemented in GEO_PasteSurf.

void GP_Domain::update ( )
void GP_Domain::updatePolygon ( )
const UT_BoundingRect& GP_Domain::worldBRect ( ) const

Definition at line 153 of file GP_Domain.h.

const UT_BoundingRect& GP_Domain::worldBRect ( )

Definition at line 154 of file GP_Domain.h.

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