#include <GU_PointSelection.h>

Public Member Functions | |
| GU_PointSelection (GU_Detail &gdp, const char *grpname="_gu_ptselection_", int reset=0, const char *prefix=0) | |
| GU_PointSelection (GU_Detail &gdp, GA_PointGroup &ptgroup, const char *prefix=0) | |
| virtual | ~GU_PointSelection (void) |
| void | useGroup (GA_PointGroup &group, int ref=0) |
| virtual GU_Selection & | operator= (GU_PointSelection &) |
| virtual GU_Selection & | operator= (GU_PrimSelection &) |
| virtual GU_Selection & | operator= (GU_EdgeSelection &) |
| virtual GU_Selection & | operator= (GU_BreakpointSelection &) |
| virtual GU_Selection & | operator= (GU_VertexSelection &) |
| virtual GU_Selection & | operator= (GU_PointGroupSelection &s) |
| virtual GU_Selection & | operator= (GU_PrimGroupSelection &s) |
| virtual GU_PointSelection & | operator|= (const GA_PointGroup &group) |
| virtual GU_PointSelection & | operator-= (const GA_PointGroup &group) |
| virtual GU_PointSelection & | operator&= (const GA_PointGroup &group) |
| virtual GU_PointSelection & | operator^= (const GA_PointGroup &group) |
| virtual int | pickMask (void) const |
| virtual int | selfSnapMask (void) const |
| virtual int | select (uint *pickbuf, long npicked, GU_SelectResult &added, GU_SelectionRule rule=GU_AddSelect, unsigned *pickid=0, GU_LassoInfo *linfo=0, const UT_IntArray *prfx=0) |
| virtual int | selectEntireGeometry (uint *pickbuf, long npicked, GU_SelectResult &added, GU_SelectionRule rule=GU_AddSelect, unsigned *pickid=0, GU_LassoInfo *linfo=0, const UT_IntArray *prfx=0) |
| virtual int | selectBoundary (bool checkuv) |
| virtual int | shrinkSelection (bool checkuv) |
| virtual int | selectNext (GU_SelectResult &added, GU_SelectionRule=GU_AddSelect, int shiftstate=0, int vstate=0) |
| virtual int | selectPrev (GU_SelectResult &added, GU_SelectionRule=GU_AddSelect, int shiftstate=0, int vstate=0) |
| virtual GU_SelectionResult | selectEmpty (uint *pickbuf, long npicked, GU_SelectionRule rule=GU_AddSelect, unsigned *pickid=0, GU_LassoInfo *linfo=0, const UT_IntArray *prfx=0) const |
| virtual bool | siftThrough (GU_SelectResult &result, uint *pickbuf, long npicked, int look_for_existing=1, unsigned *pickid=0, GU_LassoInfo *linfo=0, const UT_IntArray *prfx=0) const |
| virtual int | selectionPoint (const GU_SelectResult &added, unsigned *pickid, UT_Vector3 &xsect) const |
| virtual int | selectionPoint (const GU_SelectResult &added, unsigned *pickid, UT_Vector3 rayorig, UT_Vector3 &raydir, UT_Vector3 &xsect, int &normal, UT_Vector3 &vector, int accurate, float *u, float *v) const |
| virtual int | selectGroup (const GA_Group &group, int ref=0) |
| virtual int | add (const GEO_Point &point, int ordered=0) |
| virtual bool | addPoint (GA_Offset ptoff, bool ordered=false) |
| virtual int | add (const GEO_Primitive &prim, int ordered=0) |
| virtual int | add (const GA_Edge &edge, int ordered=0) |
| virtual int | add (const GA_Edge &edge, GEO_Primitive &, int ordered=0) |
| virtual int | add (const GA_Breakpoint &bkp, int ordered=0) |
| virtual int | add (const GEO_Vertex &vtx, int ordered=0) |
| virtual int | remove (const GEO_Point &point, int ordered=0) |
| virtual int | remove (const GEO_Primitive &prim, int ordered=0) |
| virtual int | remove (const GA_Edge &edge, int ordered=0) |
| virtual int | remove (const GA_Edge &edge, GEO_Primitive &, int ordered=0) |
| virtual int | remove (const GA_Breakpoint &bkp, int ordered=0) |
| virtual int | remove (const GEO_Vertex &vtx, int ordered=0) |
| virtual int | removeLast (void) |
| virtual int | toggle (const GEO_Point &point, int ordered=0) |
| virtual int | toggle (const GEO_Primitive &prim, int ordered=0) |
| virtual int | toggle (const GA_Edge &edge, int ordered=0) |
| virtual int | toggle (const GA_Edge &edge, GEO_Primitive &, int ordered=0) |
| virtual int | toggle (const GA_Breakpoint &bkp, int ordered=0) |
| virtual int | toggle (const GEO_Vertex &vtx, int ordered=0) |
| virtual GA_PointGroup * | updatePoints (void) |
| virtual GA_PrimitiveGroup * | updatePrimitives (void) |
| const GA_PointGroup * | selection (void) const |
| virtual void | clear (void) |
| virtual void | clearAndDestroy (void) |
| virtual int | destroyGeometry (void) |
| virtual int | copyGeometry (int copies=1, UT_Vector3 *delta=0, const char *groupname=0) |
| virtual int | entries (void) const |
| virtual int | getBoundingBox (UT_BoundingBox &bbox) const |
| virtual int | getBoundingBox (UT_BoundingBox &bbox, const UT_Matrix4R &transform) const |
| virtual int | getBoundingBoxUV (UT_BoundingBox &bbox, const char *name, int isvertex) const |
| virtual GU_Detail * | createGeometry () |
| virtual int | classType (void) const |
| virtual GU_Selection * | newSpecies (GU_Detail &gdp) |
Static Public Member Functions | |
| static int | pointPickMask (void) |
Protected Member Functions | |
| GU_PointSelection (GU_Detail &gdp, const GU_PointSelection &s) | |
| virtual int | selectAllUsingClosure (GU_PrimGroupClosure *closure, int how_to_treat_closure) |
| virtual int | toggleAllUsingClosure (GU_PrimGroupClosure *closure, int how_to_treat_closure) |
| virtual const GA_Group * | mainGroup () const |
| GA_GBPointRefArray * | allocPointRefArrayForLassoTest (const GU_LassoInfo *linfo, uint *pickbuf, long npicked, const UT_IntArray *prfx) const |
Protected Attributes | |
| GA_PointGroup * | theSelection |
Definition at line 30 of file GU_PointSelection.h.
| GU_PointSelection::GU_PointSelection | ( | GU_Detail & | gdp, | |
| const char * | grpname = "_gu_ptselection_", |
|||
| int | reset = 0, |
|||
| const char * | prefix = 0 | |||
| ) |
| GU_PointSelection::GU_PointSelection | ( | GU_Detail & | gdp, | |
| GA_PointGroup & | ptgroup, | |||
| const char * | prefix = 0 | |||
| ) |
| virtual GU_PointSelection::~GU_PointSelection | ( | void | ) | [virtual] |
| GU_PointSelection::GU_PointSelection | ( | GU_Detail & | gdp, | |
| const GU_PointSelection & | s | |||
| ) | [protected] |
| virtual int GU_PointSelection::add | ( | const GEO_Vertex & | vtx, | |
| int | ordered = 0 | |||
| ) | [virtual] |
| virtual int GU_PointSelection::add | ( | const GA_Breakpoint & | bkp, | |
| int | ordered = 0 | |||
| ) | [virtual] |
| virtual int GU_PointSelection::add | ( | const GA_Edge & | edge, | |
| GEO_Primitive & | , | |||
| int | ordered = 0 | |||
| ) | [inline, virtual] |
Implements GU_Selection.
Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.
Definition at line 173 of file GU_PointSelection.h.
| virtual int GU_PointSelection::add | ( | const GA_Edge & | edge, | |
| int | ordered = 0 | |||
| ) | [virtual] |
| virtual int GU_PointSelection::add | ( | const GEO_Primitive & | prim, | |
| int | ordered = 0 | |||
| ) | [virtual] |
| virtual int GU_PointSelection::add | ( | const GEO_Point & | point, | |
| int | ordered = 0 | |||
| ) | [virtual] |
| virtual bool GU_PointSelection::addPoint | ( | GA_Offset | ptoff, | |
| bool | ordered = false | |||
| ) | [virtual] |
| GA_GBPointRefArray* GU_PointSelection::allocPointRefArrayForLassoTest | ( | const GU_LassoInfo * | linfo, | |
| uint * | pickbuf, | |||
| long | npicked, | |||
| const UT_IntArray * | prfx | |||
| ) | const [protected] |
| virtual int GU_PointSelection::classType | ( | void | ) | const [virtual] |
| virtual void GU_PointSelection::clear | ( | void | ) | [virtual] |
| virtual void GU_PointSelection::clearAndDestroy | ( | void | ) | [virtual] |
| virtual int GU_PointSelection::copyGeometry | ( | int | copies = 1, |
|
| UT_Vector3 * | delta = 0, |
|||
| const char * | groupname = 0 | |||
| ) | [virtual] |
Implements GU_Selection.
| virtual GU_Detail* GU_PointSelection::createGeometry | ( | ) | [virtual] |
Reimplemented from GU_Selection.
| virtual int GU_PointSelection::destroyGeometry | ( | void | ) | [virtual] |
Implements GU_Selection.
| virtual int GU_PointSelection::entries | ( | void | ) | const [virtual] |
Implements GU_Selection.
| virtual int GU_PointSelection::getBoundingBox | ( | UT_BoundingBox & | bbox, | |
| const UT_Matrix4R & | transform | |||
| ) | const [virtual] |
Implements GU_Selection.
| virtual int GU_PointSelection::getBoundingBox | ( | UT_BoundingBox & | bbox | ) | const [virtual] |
Implements GU_Selection.
| virtual int GU_PointSelection::getBoundingBoxUV | ( | UT_BoundingBox & | bbox, | |
| const char * | name, | |||
| int | isvertex | |||
| ) | const [virtual] |
Implements GU_Selection.
| virtual const GA_Group* GU_PointSelection::mainGroup | ( | ) | const [inline, protected, virtual] |
| virtual GU_Selection* GU_PointSelection::newSpecies | ( | GU_Detail & | gdp | ) | [virtual] |
| virtual GU_PointSelection& GU_PointSelection::operator&= | ( | const GA_PointGroup & | group | ) | [virtual] |
| virtual GU_PointSelection& GU_PointSelection::operator-= | ( | const GA_PointGroup & | group | ) | [virtual] |
| virtual GU_Selection& GU_PointSelection::operator= | ( | GU_PrimGroupSelection & | s | ) | [inline, virtual] |
Reimplemented from GU_Selection.
Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.
Definition at line 57 of file GU_PointSelection.h.
| virtual GU_Selection& GU_PointSelection::operator= | ( | GU_PointGroupSelection & | s | ) | [inline, virtual] |
Reimplemented from GU_Selection.
Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.
Definition at line 55 of file GU_PointSelection.h.
| virtual GU_Selection& GU_PointSelection::operator= | ( | GU_VertexSelection & | ) | [virtual] |
| virtual GU_Selection& GU_PointSelection::operator= | ( | GU_BreakpointSelection & | ) | [virtual] |
| virtual GU_Selection& GU_PointSelection::operator= | ( | GU_EdgeSelection & | ) | [virtual] |
| virtual GU_Selection& GU_PointSelection::operator= | ( | GU_PrimSelection & | ) | [virtual] |
| virtual GU_Selection& GU_PointSelection::operator= | ( | GU_PointSelection & | ) | [virtual] |
| virtual GU_PointSelection& GU_PointSelection::operator^= | ( | const GA_PointGroup & | group | ) | [virtual] |
| virtual GU_PointSelection& GU_PointSelection::operator|= | ( | const GA_PointGroup & | group | ) | [virtual] |
| virtual int GU_PointSelection::pickMask | ( | void | ) | const [virtual] |
Implements GU_Selection.
| static int GU_PointSelection::pointPickMask | ( | void | ) | [static] |
| virtual int GU_PointSelection::remove | ( | const GEO_Vertex & | vtx, | |
| int | ordered = 0 | |||
| ) | [virtual] |
| virtual int GU_PointSelection::remove | ( | const GA_Breakpoint & | bkp, | |
| int | ordered = 0 | |||
| ) | [virtual] |
| virtual int GU_PointSelection::remove | ( | const GA_Edge & | edge, | |
| GEO_Primitive & | , | |||
| int | ordered = 0 | |||
| ) | [inline, virtual] |
Implements GU_Selection.
Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.
Definition at line 190 of file GU_PointSelection.h.
| virtual int GU_PointSelection::remove | ( | const GA_Edge & | edge, | |
| int | ordered = 0 | |||
| ) | [virtual] |
| virtual int GU_PointSelection::remove | ( | const GEO_Primitive & | prim, | |
| int | ordered = 0 | |||
| ) | [virtual] |
| virtual int GU_PointSelection::remove | ( | const GEO_Point & | point, | |
| int | ordered = 0 | |||
| ) | [virtual] |
| virtual int GU_PointSelection::removeLast | ( | void | ) | [virtual] |
Implements GU_Selection.
| virtual int GU_PointSelection::select | ( | uint * | pickbuf, | |
| long | npicked, | |||
| GU_SelectResult & | added, | |||
| GU_SelectionRule | rule = GU_AddSelect, |
|||
| unsigned * | pickid = 0, |
|||
| GU_LassoInfo * | linfo = 0, |
|||
| const UT_IntArray * | prfx = 0 | |||
| ) | [virtual] |
| virtual int GU_PointSelection::selectAllUsingClosure | ( | GU_PrimGroupClosure * | closure, | |
| int | how_to_treat_closure | |||
| ) | [protected, virtual] |
Implements GU_Selection.
| virtual int GU_PointSelection::selectBoundary | ( | bool | checkuv | ) | [virtual] |
Reimplemented from GU_Selection.
| virtual GU_SelectionResult GU_PointSelection::selectEmpty | ( | uint * | pickbuf, | |
| long | npicked, | |||
| GU_SelectionRule | rule = GU_AddSelect, |
|||
| unsigned * | pickid = 0, |
|||
| GU_LassoInfo * | linfo = 0, |
|||
| const UT_IntArray * | prfx = 0 | |||
| ) | const [virtual] |
Implements GU_Selection.
| virtual int GU_PointSelection::selectEntireGeometry | ( | uint * | pickbuf, | |
| long | npicked, | |||
| GU_SelectResult & | added, | |||
| GU_SelectionRule | rule = GU_AddSelect, |
|||
| unsigned * | pickid = 0, |
|||
| GU_LassoInfo * | linfo = 0, |
|||
| const UT_IntArray * | prfx = 0 | |||
| ) | [virtual] |
Implements GU_Selection.
| virtual int GU_PointSelection::selectGroup | ( | const GA_Group & | group, | |
| int | ref = 0 | |||
| ) | [virtual] |
Implements GU_Selection.
| const GA_PointGroup* GU_PointSelection::selection | ( | void | ) | const [inline] |
Definition at line 226 of file GU_PointSelection.h.
| virtual int GU_PointSelection::selectionPoint | ( | const GU_SelectResult & | added, | |
| unsigned * | pickid, | |||
| UT_Vector3 | rayorig, | |||
| UT_Vector3 & | raydir, | |||
| UT_Vector3 & | xsect, | |||
| int & | normal, | |||
| UT_Vector3 & | vector, | |||
| int | accurate, | |||
| float * | u, | |||
| float * | v | |||
| ) | const [virtual] |
Implements GU_Selection.
| virtual int GU_PointSelection::selectionPoint | ( | const GU_SelectResult & | added, | |
| unsigned * | pickid, | |||
| UT_Vector3 & | xsect | |||
| ) | const [virtual] |
Implements GU_Selection.
| virtual int GU_PointSelection::selectNext | ( | GU_SelectResult & | added, | |
| GU_SelectionRule | = GU_AddSelect, |
|||
| int | shiftstate = 0, |
|||
| int | vstate = 0 | |||
| ) | [virtual] |
Implements GU_Selection.
| virtual int GU_PointSelection::selectPrev | ( | GU_SelectResult & | added, | |
| GU_SelectionRule | = GU_AddSelect, |
|||
| int | shiftstate = 0, |
|||
| int | vstate = 0 | |||
| ) | [virtual] |
Implements GU_Selection.
| virtual int GU_PointSelection::selfSnapMask | ( | void | ) | const [virtual] |
Reimplemented from GU_Selection.
| virtual int GU_PointSelection::shrinkSelection | ( | bool | checkuv | ) | [virtual] |
Reimplemented from GU_Selection.
| virtual bool GU_PointSelection::siftThrough | ( | GU_SelectResult & | result, | |
| uint * | pickbuf, | |||
| long | npicked, | |||
| int | look_for_existing = 1, |
|||
| unsigned * | pickid = 0, |
|||
| GU_LassoInfo * | linfo = 0, |
|||
| const UT_IntArray * | prfx = 0 | |||
| ) | const [virtual] |
Implements GU_Selection.
| virtual int GU_PointSelection::toggle | ( | const GEO_Vertex & | vtx, | |
| int | ordered = 0 | |||
| ) | [virtual] |
Implements GU_Selection.
| virtual int GU_PointSelection::toggle | ( | const GA_Breakpoint & | bkp, | |
| int | ordered = 0 | |||
| ) | [virtual] |
Implements GU_Selection.
| virtual int GU_PointSelection::toggle | ( | const GA_Edge & | edge, | |
| GEO_Primitive & | , | |||
| int | ordered = 0 | |||
| ) | [inline, virtual] |
| virtual int GU_PointSelection::toggle | ( | const GA_Edge & | edge, | |
| int | ordered = 0 | |||
| ) | [virtual] |
Implements GU_Selection.
| virtual int GU_PointSelection::toggle | ( | const GEO_Primitive & | prim, | |
| int | ordered = 0 | |||
| ) | [virtual] |
Implements GU_Selection.
| virtual int GU_PointSelection::toggle | ( | const GEO_Point & | point, | |
| int | ordered = 0 | |||
| ) | [virtual] |
Implements GU_Selection.
| virtual int GU_PointSelection::toggleAllUsingClosure | ( | GU_PrimGroupClosure * | closure, | |
| int | how_to_treat_closure | |||
| ) | [protected, virtual] |
Implements GU_Selection.
| virtual GA_PointGroup* GU_PointSelection::updatePoints | ( | void | ) | [virtual] |
Implements GU_Selection.
| virtual GA_PrimitiveGroup* GU_PointSelection::updatePrimitives | ( | void | ) | [virtual] |
Implements GU_Selection.
| void GU_PointSelection::useGroup | ( | GA_PointGroup & | group, | |
| int | ref = 0 | |||
| ) |
GA_PointGroup* GU_PointSelection::theSelection [protected] |
Definition at line 274 of file GU_PointSelection.h.
1.5.9