GU_PointSelection Class Reference

#include <GU_PointSelection.h>

Inheritance diagram for GU_PointSelection:

GU_Selection GU_PointConSelection GU_PointGroupSelection

List of all members.

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_Selectionoperator= (GU_PointSelection &)
virtual GU_Selectionoperator= (GU_PrimSelection &)
virtual GU_Selectionoperator= (GU_EdgeSelection &)
virtual GU_Selectionoperator= (GU_BreakpointSelection &)
virtual GU_Selectionoperator= (GU_VertexSelection &)
virtual GU_Selectionoperator= (GU_PointGroupSelection &s)
virtual GU_Selectionoperator= (GU_PrimGroupSelection &s)
virtual GU_PointSelectionoperator|= (const GA_PointGroup &group)
virtual GU_PointSelectionoperator-= (const GA_PointGroup &group)
virtual GU_PointSelectionoperator&= (const GA_PointGroup &group)
virtual GU_PointSelectionoperator^= (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_PointGroupupdatePoints (void)
virtual GA_PrimitiveGroupupdatePrimitives (void)
const GA_PointGroupselection (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_DetailcreateGeometry ()
virtual int classType (void) const
virtual GU_SelectionnewSpecies (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_GroupmainGroup () const
GA_GBPointRefArrayallocPointRefArrayForLassoTest (const GU_LassoInfo *linfo, uint *pickbuf, long npicked, const UT_IntArray *prfx) const

Protected Attributes

GA_PointGrouptheSelection


Detailed Description

Definition at line 30 of file GU_PointSelection.h.


Constructor & Destructor Documentation

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]


Member Function Documentation

virtual int GU_PointSelection::add ( const GEO_Vertex vtx,
int  ordered = 0 
) [virtual]

Implements GU_Selection.

Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.

virtual int GU_PointSelection::add ( const GA_Breakpoint bkp,
int  ordered = 0 
) [virtual]

Implements GU_Selection.

Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.

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]

Implements GU_Selection.

Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.

virtual int GU_PointSelection::add ( const GEO_Primitive prim,
int  ordered = 0 
) [virtual]

Implements GU_Selection.

Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.

virtual int GU_PointSelection::add ( const GEO_Point point,
int  ordered = 0 
) [virtual]

Implements GU_Selection.

Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.

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]

Implements GU_Selection.

Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.

virtual void GU_PointSelection::clear ( void   )  [virtual]

Reimplemented from GU_Selection.

Reimplemented in GU_PointConSelection.

virtual void GU_PointSelection::clearAndDestroy ( void   )  [virtual]

Reimplemented from GU_Selection.

Reimplemented in GU_PointConSelection.

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]

Implements GU_Selection.

Definition at line 283 of file GU_PointSelection.h.

virtual GU_Selection* GU_PointSelection::newSpecies ( GU_Detail gdp  )  [virtual]

Implements GU_Selection.

Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.

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]

Implements GU_Selection.

Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.

virtual GU_Selection& GU_PointSelection::operator= ( GU_BreakpointSelection  )  [virtual]

Implements GU_Selection.

Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.

virtual GU_Selection& GU_PointSelection::operator= ( GU_EdgeSelection  )  [virtual]

Implements GU_Selection.

Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.

virtual GU_Selection& GU_PointSelection::operator= ( GU_PrimSelection  )  [virtual]

Implements GU_Selection.

Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.

virtual GU_Selection& GU_PointSelection::operator= ( GU_PointSelection  )  [virtual]

Implements GU_Selection.

Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.

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]

Implements GU_Selection.

Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.

virtual int GU_PointSelection::remove ( const GA_Breakpoint bkp,
int  ordered = 0 
) [virtual]

Implements GU_Selection.

Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.

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]

Implements GU_Selection.

Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.

virtual int GU_PointSelection::remove ( const GEO_Primitive prim,
int  ordered = 0 
) [virtual]

Implements GU_Selection.

Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.

virtual int GU_PointSelection::remove ( const GEO_Point point,
int  ordered = 0 
) [virtual]

Implements GU_Selection.

Reimplemented in GU_PointConSelection, and GU_PointGroupSelection.

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]

Implements GU_Selection.

Reimplemented in GU_PointConSelection.

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]

Implements GU_Selection.

Definition at line 211 of file GU_PointSelection.h.

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 
)


Member Data Documentation

Definition at line 274 of file GU_PointSelection.h.


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

Generated on Thu Jan 31 00:31:22 2013 for HDK by  doxygen 1.5.9