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

#include <GP_DomainDAG.h>

+ Inheritance diagram for GP_DomainDAG:

Public Member Functions

 GP_DomainDAG (void)
 
 GP_DomainDAG (GP_Domain *root)
 
 GP_DomainDAG (const GP_DomainDAG &)
 
virtual ~GP_DomainDAG (void)
 
virtual void clear (void)
 
virtual void clearAndDestroy (int total=1)
 
void copyFrom (const GP_DomainDAG &srcdag)
 
GP_DomainDAGoperator= (const GP_DomainDAG &src)
 
int canPaste (GP_Domain &d)
 
int canPaste (GP_Domain &d, GP_NodeList &parents)
 
int canPaste (GP_DomainDAG &dag)
 
int canPaste (GP_DomainDAG &dag, GP_NodeList &parents)
 
int canPaste (GP_DomainDAG &dag, GP_Domain &parent, const UT_BoundingRect &brect)
 
int isPasted () const
 
GP_Domainpaste (GP_DomainDAG &child, int keepshape=0)
 
GP_Domainpaste (GP_DomainDAG &child, GP_NodeList &parents, int keepshape=0)
 
GP_Domainpaste (GP_DomainDAG &srcdag, const GP_Point &b1, const GP_Point &b2, const GP_Point &b3, const GP_Point &b4)
 
GP_DomainunpasteAt (GP_Domain &child)
 
GP_DomainDAGunpasteFrom (GP_Domain &child, GP_NodeTree *ctree=0)
 
int destroyAt (GP_Domain &child)
 
int destroyFrom (GP_Domain &child, GP_NodeTree *ctree=0)
 
GP_DomainreplaceAt (GP_Domain &child, GP_DomainDAG &dag)
 
GP_DomainreplaceFrom (GP_Domain &child, GP_DomainDAG &dag, GP_NodeTree *ctree=0)
 
GP_DomainoverlayAt (GP_Domain &child, GP_DomainDAG &dag, int keepshape=0)
 
GP_DomainoverlayAt (GP_Domain &child, GP_DomainDAG &srcdag, const UT_BoundingRect &brect)
 
GP_DomainoverlayAt (GP_Domain &child, GP_DomainDAG &srcdag, const GP_Point &b1, const GP_Point &b2, const GP_Point &b3, const GP_Point &b4)
 
GP_DomainoverlayFrom (GP_Domain &child, GP_DomainDAG &dag, GP_NodeTree *ctree=0, int keepshape=0)
 
GP_DomainoverlayFrom (GP_Domain &child, GP_DomainDAG &dag, const GP_Point &b1, const GP_Point &b2, const GP_Point &b3, const GP_Point &b4, GP_NodeTree *ctree=0)
 
GP_DomainremoveAt (GP_Domain &child)
 
int modifyBasis (GP_Domain &child, int(*apply)(void *tpsurf, void *d), void *data=0, int standalone=0)
 
GP_Domainspawn (GP_Domain &child, const UT_BoundingRect &brect, float ubwidth=0, float vbwidth=0, int ubdivs=2, int vbdivs=2)
 
int contains (const GP_Point &worldp, int quick=0) const
 
int contains (const GP_Domain &d) const
 
GP_DomainkeyUp (GP_Domain &domain)
 
void keyUpFast (GP_Domain &domain)
 
GP_DomaintopDomain (const GP_Point &worldp) const
 
void changeRootXform (const GP_XformHandle &handle)
 
void changeRootXform (GP_Domain &d)
 
virtual void link (GP_Domain &child, GP_NodeList &parents, int keepshape=0)
 
virtual void link (GP_Domain &child, GP_Domain &parent, int withcorrection=1)
 
virtual int updateDescendents (GP_Domain &child, int including_child=0)
 
virtual int updateDisplacements (GP_Domain &child, int keepframes=1)
 
const GP_Domainroot (void) const
 
void raiseBridges (GP_Domain &d, GP_NodeTree *bridges)
 
GP_NodeListunderDomains (GP_Domain &d, GP_NodeList &parents)
 
- Public Member Functions inherited from GP_Graph
 GP_Graph (void)
 
 GP_Graph (GP_NodeTree &cnodes)
 
 GP_Graph (const GP_Graph &graph)
 
virtual ~GP_Graph (void)
 
GP_NodecopyFrom (const GP_Graph &src, const GP_Node *=0)
 
GP_Graphoperator= (const GP_Graph &src)
 
GP_Graphoperator+= (const GP_Graph &src)
 
void merge (const GP_Graph &src)
 
GP_Noderemove (GP_Node &node)
 
GP_Noderekey (GP_Node &node, int newkey)
 
const GP_NodeTreenodes (void) const
 
int entries (void) const
 

Protected Member Functions

virtual void changedRoot (void)
 
virtual void obsolete (void)
 
GP_NodeTreecontainedDomains (const GP_Domain &base) const
 
GP_DomaininsertRoot (GP_Domain &root)
 
void insertDomain (GP_Domain &domain)
 
void relabel (int start=INT_MIN)
 
int pasteInPlace (GP_Domain &child)
 
GP_Domainroot (void)
 
- Protected Member Functions inherited from GP_Graph
GP_NodeTreenodes (void)
 

Detailed Description

Definition at line 23 of file GP_DomainDAG.h.

Constructor & Destructor Documentation

GP_DomainDAG::GP_DomainDAG ( void  )
GP_DomainDAG::GP_DomainDAG ( GP_Domain root)
GP_DomainDAG::GP_DomainDAG ( const GP_DomainDAG )
virtual GP_DomainDAG::~GP_DomainDAG ( void  )
virtual

Member Function Documentation

int GP_DomainDAG::canPaste ( GP_Domain d)
int GP_DomainDAG::canPaste ( GP_Domain d,
GP_NodeList parents 
)
int GP_DomainDAG::canPaste ( GP_DomainDAG dag)
inline

Definition at line 56 of file GP_DomainDAG.h.

int GP_DomainDAG::canPaste ( GP_DomainDAG dag,
GP_NodeList parents 
)
inline

Definition at line 60 of file GP_DomainDAG.h.

int GP_DomainDAG::canPaste ( GP_DomainDAG dag,
GP_Domain parent,
const UT_BoundingRect brect 
)
virtual void GP_DomainDAG::changedRoot ( void  )
protectedvirtual

Reimplemented in GEO_PasteSurfDAG.

void GP_DomainDAG::changeRootXform ( const GP_XformHandle handle)
void GP_DomainDAG::changeRootXform ( GP_Domain d)
virtual void GP_DomainDAG::clear ( void  )
virtual

Reimplemented from GP_Graph.

virtual void GP_DomainDAG::clearAndDestroy ( int  total = 1)
virtual

Reimplemented from GP_Graph.

Reimplemented in GEO_PasteSurfDAG.

GP_NodeTree* GP_DomainDAG::containedDomains ( const GP_Domain base) const
protected
int GP_DomainDAG::contains ( const GP_Point worldp,
int  quick = 0 
) const
inline

Definition at line 149 of file GP_DomainDAG.h.

int GP_DomainDAG::contains ( const GP_Domain d) const
inline

Definition at line 155 of file GP_DomainDAG.h.

void GP_DomainDAG::copyFrom ( const GP_DomainDAG srcdag)
int GP_DomainDAG::destroyAt ( GP_Domain child)
int GP_DomainDAG::destroyFrom ( GP_Domain child,
GP_NodeTree ctree = 0 
)
void GP_DomainDAG::insertDomain ( GP_Domain domain)
protected
GP_Domain* GP_DomainDAG::insertRoot ( GP_Domain root)
protected
int GP_DomainDAG::isPasted ( ) const
inline

Definition at line 68 of file GP_DomainDAG.h.

GP_Domain* GP_DomainDAG::keyUp ( GP_Domain domain)
inline

Definition at line 164 of file GP_DomainDAG.h.

void GP_DomainDAG::keyUpFast ( GP_Domain domain)
inline

Definition at line 168 of file GP_DomainDAG.h.

virtual void GP_DomainDAG::link ( GP_Domain child,
GP_NodeList parents,
int  keepshape = 0 
)
virtual

Reimplemented in GEO_PasteSurfDAG.

virtual void GP_DomainDAG::link ( GP_Domain child,
GP_Domain parent,
int  withcorrection = 1 
)
virtual

Reimplemented in GEO_PasteSurfDAG.

int GP_DomainDAG::modifyBasis ( GP_Domain child,
int(*)(void *tpsurf, void *d)  apply,
void data = 0,
int  standalone = 0 
)
virtual void GP_DomainDAG::obsolete ( void  )
protectedvirtual

Reimplemented in GEO_PrimPasteDAG.

GP_DomainDAG& GP_DomainDAG::operator= ( const GP_DomainDAG src)
GP_Domain* GP_DomainDAG::overlayAt ( GP_Domain child,
GP_DomainDAG dag,
int  keepshape = 0 
)
GP_Domain* GP_DomainDAG::overlayAt ( GP_Domain child,
GP_DomainDAG srcdag,
const UT_BoundingRect brect 
)
GP_Domain* GP_DomainDAG::overlayAt ( GP_Domain child,
GP_DomainDAG srcdag,
const GP_Point b1,
const GP_Point b2,
const GP_Point b3,
const GP_Point b4 
)
GP_Domain* GP_DomainDAG::overlayFrom ( GP_Domain child,
GP_DomainDAG dag,
GP_NodeTree ctree = 0,
int  keepshape = 0 
)
GP_Domain* GP_DomainDAG::overlayFrom ( GP_Domain child,
GP_DomainDAG dag,
const GP_Point b1,
const GP_Point b2,
const GP_Point b3,
const GP_Point b4,
GP_NodeTree ctree = 0 
)
GP_Domain* GP_DomainDAG::paste ( GP_DomainDAG child,
int  keepshape = 0 
)
GP_Domain* GP_DomainDAG::paste ( GP_DomainDAG child,
GP_NodeList parents,
int  keepshape = 0 
)
GP_Domain* GP_DomainDAG::paste ( GP_DomainDAG srcdag,
const GP_Point b1,
const GP_Point b2,
const GP_Point b3,
const GP_Point b4 
)
int GP_DomainDAG::pasteInPlace ( GP_Domain child)
protected
void GP_DomainDAG::raiseBridges ( GP_Domain d,
GP_NodeTree bridges 
)
void GP_DomainDAG::relabel ( int  start = INT_MIN)
protected
GP_Domain* GP_DomainDAG::removeAt ( GP_Domain child)
inline

Definition at line 124 of file GP_DomainDAG.h.

GP_Domain* GP_DomainDAG::replaceAt ( GP_Domain child,
GP_DomainDAG dag 
)
GP_Domain* GP_DomainDAG::replaceFrom ( GP_Domain child,
GP_DomainDAG dag,
GP_NodeTree ctree = 0 
)
const GP_Domain* GP_DomainDAG::root ( void  ) const
inline

Definition at line 206 of file GP_DomainDAG.h.

GP_Domain* GP_DomainDAG::root ( void  )
inlineprotected

Definition at line 238 of file GP_DomainDAG.h.

GP_Domain* GP_DomainDAG::spawn ( GP_Domain child,
const UT_BoundingRect brect,
float  ubwidth = 0,
float  vbwidth = 0,
int  ubdivs = 2,
int  vbdivs = 2 
)
GP_Domain* GP_DomainDAG::topDomain ( const GP_Point worldp) const
GP_NodeList& GP_DomainDAG::underDomains ( GP_Domain d,
GP_NodeList parents 
)
GP_Domain* GP_DomainDAG::unpasteAt ( GP_Domain child)
GP_DomainDAG* GP_DomainDAG::unpasteFrom ( GP_Domain child,
GP_NodeTree ctree = 0 
)
virtual int GP_DomainDAG::updateDescendents ( GP_Domain child,
int  including_child = 0 
)
virtual

Reimplemented in GEO_PasteSurfDAG.

virtual int GP_DomainDAG::updateDisplacements ( GP_Domain child,
int  keepframes = 1 
)
virtual

Reimplemented in GEO_PasteSurfDAG.


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