GU_PrimSelection Class Reference

#include <GU_PrimSelection.h>

Inheritance diagram for GU_PrimSelection:

GU_Selection GU_PrimConSelection GU_PrimGroupSelection

List of all members.

Public Member Functions

 GU_PrimSelection (GU_Detail &gdp, const char *grpname="_gu_pmselection_", int reset=0, const char *prefix=0)
 GU_PrimSelection (GU_Detail &gdp, GB_PrimitiveGroup &ptgroup, const char *prefix=0)
virtual ~GU_PrimSelection (void)
void useGroup (GB_PrimitiveGroup &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_PrimSelectionoperator|= (GB_PrimitiveGroup &group)
virtual GU_PrimSelectionoperator-= (GB_PrimitiveGroup &group)
virtual GU_PrimSelectionoperator&= (GB_PrimitiveGroup &group)
virtual GU_PrimSelectionoperator^= (GB_PrimitiveGroup &group)
virtual int pickMask (void) const
virtual int selfSnapMask (void) const
virtual int select (uint *pickbuf, long npicked, void *&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, void *&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 (void *&added, GU_SelectionRule rule=GU_AddSelect, int shiftstate=0, int vstate=0)
virtual int selectPrev (void *&added, GU_SelectionRule rule=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 void * siftThrough (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 (void *added, unsigned *pickid, UT_Vector3 &xsect) const
virtual int selectionPoint (void *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 GB_BaseGroup &group, int ref=0)
virtual int add (GEO_Point &point, int ordered=0)
virtual int add (GEO_Primitive &prim, int ordered=0)
virtual int add (GB_Edge &edge, int ordered=0)
virtual int add (GEO_Breakpoint &bkp, int otdered=0)
virtual int add (GB_VertexData &vtx, int otdered=0)
virtual int remove (GEO_Point &point, int ordered=0)
virtual int remove (GEO_Primitive &prim, int ordered=0)
virtual int remove (GB_Edge &edge, int ordered=0)
virtual int remove (GEO_Breakpoint &bkp, int ordered=0)
virtual int remove (GB_VertexData &vtx, int ordered=0)
virtual int removeLast (void)
virtual int toggle (GEO_Point &point, int ordered=0)
virtual int toggle (GEO_Primitive &prim, int ordered=0)
virtual int toggle (GB_Edge &edge, int ordered=0)
virtual int toggle (GEO_Breakpoint &bkp, int ordered=0)
virtual int toggle (GB_VertexData &vtx, int ordered=0)
virtual GB_PointGroupupdatePoints (void)
virtual GB_PrimitiveGroupupdatePrimitives (void)
virtual void updateStashed (void)
virtual int applyStashed (void)
const GB_PrimitiveGroupselection (void) const
int filterPrimitives (int primmask, int inOut=1)
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 void reverse ()
virtual int entries (void) const
virtual int getBoundingBox (UT_BoundingBox &bbox) const
virtual int getBoundingBox (UT_BoundingBox &bbox, const UT_Matrix4 &transform) const
virtual int getBoundingBoxUV (UT_BoundingBox &bbox, const char *name, int isvertex) const
virtual int save (ostream &os, int binary) const
virtual bool load (UT_IStream &is)
virtual GU_DetailcreateGeometry ()
virtual int classType (void) const
virtual void suffixName (const char *prefix)
virtual GU_SelectionnewSpecies (GU_Detail &gdp)

Static Public Member Functions

static int primitivePickMask (void)

Protected Member Functions

 GU_PrimSelection (GU_Detail &gdp, const GU_PrimSelection &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 GB_BaseGroupmainGroup () const
int isPrimInLasso (const GEO_Primitive *prim, GU_LassoInfo *linfo, GU_PolyRaster *&praster) const

Protected Attributes

GB_PrimitiveGrouptheSelection


Detailed Description

Definition at line 30 of file GU_PrimSelection.h.


Constructor & Destructor Documentation

GU_PrimSelection::GU_PrimSelection ( GU_Detail gdp,
const char *  grpname = "_gu_pmselection_",
int  reset = 0,
const char *  prefix = 0 
)

GU_PrimSelection::GU_PrimSelection ( GU_Detail gdp,
GB_PrimitiveGroup ptgroup,
const char *  prefix = 0 
)

virtual GU_PrimSelection::~GU_PrimSelection ( void   )  [virtual]

GU_PrimSelection::GU_PrimSelection ( GU_Detail gdp,
const GU_PrimSelection s 
) [protected]


Member Function Documentation

virtual int GU_PrimSelection::add ( GB_VertexData vtx,
int  otdered = 0 
) [virtual]

Implements GU_Selection.

Reimplemented in GU_PrimConSelection, and GU_PrimGroupSelection.

virtual int GU_PrimSelection::add ( GEO_Breakpoint bkp,
int  otdered = 0 
) [virtual]

Implements GU_Selection.

Reimplemented in GU_PrimConSelection, and GU_PrimGroupSelection.

virtual int GU_PrimSelection::add ( GB_Edge edge,
int  ordered = 0 
) [virtual]

Implements GU_Selection.

Reimplemented in GU_PrimConSelection, and GU_PrimGroupSelection.

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

Implements GU_Selection.

Reimplemented in GU_PrimConSelection, and GU_PrimGroupSelection.

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

Implements GU_Selection.

Reimplemented in GU_PrimConSelection, and GU_PrimGroupSelection.

virtual int GU_PrimSelection::applyStashed ( void   )  [virtual]

Reimplemented from GU_Selection.

virtual int GU_PrimSelection::classType ( void   )  const [virtual]

Implements GU_Selection.

Reimplemented in GU_PrimConSelection, and GU_PrimGroupSelection.

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

Reimplemented from GU_Selection.

Reimplemented in GU_PrimConSelection.

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

Reimplemented from GU_Selection.

Reimplemented in GU_PrimConSelection.

virtual int GU_PrimSelection::copyGeometry ( int  copies = 1,
UT_Vector3 delta = 0,
const char *  groupname = 0 
) [virtual]

Implements GU_Selection.

virtual GU_Detail* GU_PrimSelection::createGeometry (  )  [virtual]

Reimplemented from GU_Selection.

virtual int GU_PrimSelection::destroyGeometry ( void   )  [virtual]

Implements GU_Selection.

virtual int GU_PrimSelection::entries ( void   )  const [virtual]

Implements GU_Selection.

int GU_PrimSelection::filterPrimitives ( int  primmask,
int  inOut = 1 
)

virtual int GU_PrimSelection::getBoundingBox ( UT_BoundingBox bbox,
const UT_Matrix4 transform 
) const [virtual]

Implements GU_Selection.

virtual int GU_PrimSelection::getBoundingBox ( UT_BoundingBox bbox  )  const [virtual]

Implements GU_Selection.

virtual int GU_PrimSelection::getBoundingBoxUV ( UT_BoundingBox bbox,
const char *  name,
int  isvertex 
) const [virtual]

Implements GU_Selection.

int GU_PrimSelection::isPrimInLasso ( const GEO_Primitive prim,
GU_LassoInfo linfo,
GU_PolyRaster *&  praster 
) const [protected]

virtual bool GU_PrimSelection::load ( UT_IStream is  )  [virtual]

Reimplemented from GU_Selection.

virtual const GB_BaseGroup* GU_PrimSelection::mainGroup (  )  const [inline, protected, virtual]

Implements GU_Selection.

Definition at line 292 of file GU_PrimSelection.h.

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

Implements GU_Selection.

Reimplemented in GU_PrimConSelection, and GU_PrimGroupSelection.

virtual GU_PrimSelection& GU_PrimSelection::operator&= ( GB_PrimitiveGroup group  )  [virtual]

virtual GU_PrimSelection& GU_PrimSelection::operator-= ( GB_PrimitiveGroup group  )  [virtual]

virtual GU_Selection& GU_PrimSelection::operator= ( GU_PrimGroupSelection s  )  [inline, virtual]

Reimplemented from GU_Selection.

Reimplemented in GU_PrimConSelection, and GU_PrimGroupSelection.

Definition at line 58 of file GU_PrimSelection.h.

virtual GU_Selection& GU_PrimSelection::operator= ( GU_PointGroupSelection s  )  [inline, virtual]

Reimplemented from GU_Selection.

Reimplemented in GU_PrimConSelection, and GU_PrimGroupSelection.

Definition at line 56 of file GU_PrimSelection.h.

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

Implements GU_Selection.

Reimplemented in GU_PrimConSelection, and GU_PrimGroupSelection.

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

Implements GU_Selection.

Reimplemented in GU_PrimConSelection, and GU_PrimGroupSelection.

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

Implements GU_Selection.

Reimplemented in GU_PrimConSelection, and GU_PrimGroupSelection.

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

Implements GU_Selection.

Reimplemented in GU_PrimConSelection, and GU_PrimGroupSelection.

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

Implements GU_Selection.

Reimplemented in GU_PrimConSelection, and GU_PrimGroupSelection.

virtual GU_PrimSelection& GU_PrimSelection::operator^= ( GB_PrimitiveGroup group  )  [virtual]

virtual GU_PrimSelection& GU_PrimSelection::operator|= ( GB_PrimitiveGroup group  )  [virtual]

virtual int GU_PrimSelection::pickMask ( void   )  const [virtual]

Implements GU_Selection.

static int GU_PrimSelection::primitivePickMask ( void   )  [static]

virtual int GU_PrimSelection::remove ( GB_VertexData vtx,
int  ordered = 0 
) [virtual]

Implements GU_Selection.

Reimplemented in GU_PrimConSelection, and GU_PrimGroupSelection.

virtual int GU_PrimSelection::remove ( GEO_Breakpoint bkp,
int  ordered = 0 
) [virtual]

Implements GU_Selection.

Reimplemented in GU_PrimConSelection, and GU_PrimGroupSelection.

virtual int GU_PrimSelection::remove ( GB_Edge edge,
int  ordered = 0 
) [virtual]

Implements GU_Selection.

Reimplemented in GU_PrimConSelection, and GU_PrimGroupSelection.

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

Implements GU_Selection.

Reimplemented in GU_PrimConSelection, and GU_PrimGroupSelection.

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

Implements GU_Selection.

Reimplemented in GU_PrimConSelection, and GU_PrimGroupSelection.

virtual int GU_PrimSelection::removeLast ( void   )  [virtual]

Implements GU_Selection.

virtual void GU_PrimSelection::reverse (  )  [virtual]

Reimplemented from GU_Selection.

virtual int GU_PrimSelection::save ( ostream &  os,
int  binary 
) const [virtual]

Reimplemented from GU_Selection.

virtual int GU_PrimSelection::select ( uint pickbuf,
long  npicked,
void *&  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_PrimConSelection.

virtual int GU_PrimSelection::selectAllUsingClosure ( GU_PrimGroupClosure closure,
int  how_to_treat_closure 
) [protected, virtual]

Implements GU_Selection.

virtual int GU_PrimSelection::selectBoundary ( bool  checkuv  )  [virtual]

Reimplemented from GU_Selection.

virtual GU_SelectionResult GU_PrimSelection::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_PrimSelection::selectEntireGeometry ( uint pickbuf,
long  npicked,
void *&  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_PrimSelection::selectGroup ( const GB_BaseGroup group,
int  ref = 0 
) [virtual]

Implements GU_Selection.

const GB_PrimitiveGroup* GU_PrimSelection::selection ( void   )  const [inline]

Definition at line 220 of file GU_PrimSelection.h.

virtual int GU_PrimSelection::selectionPoint ( void *  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_PrimSelection::selectionPoint ( void *  added,
unsigned *  pickid,
UT_Vector3 xsect 
) const [virtual]

Implements GU_Selection.

virtual int GU_PrimSelection::selectNext ( void *&  added,
GU_SelectionRule  rule = GU_AddSelect,
int  shiftstate = 0,
int  vstate = 0 
) [virtual]

Implements GU_Selection.

virtual int GU_PrimSelection::selectPrev ( void *&  added,
GU_SelectionRule  rule = GU_AddSelect,
int  shiftstate = 0,
int  vstate = 0 
) [virtual]

Implements GU_Selection.

virtual int GU_PrimSelection::selfSnapMask ( void   )  const [virtual]

Reimplemented from GU_Selection.

virtual int GU_PrimSelection::shrinkSelection ( bool  checkuv  )  [virtual]

Reimplemented from GU_Selection.

virtual void* GU_PrimSelection::siftThrough ( 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 void GU_PrimSelection::suffixName ( const char *  prefix  )  [virtual]

Reimplemented from GU_Selection.

virtual int GU_PrimSelection::toggle ( GB_VertexData vtx,
int  ordered = 0 
) [virtual]

Implements GU_Selection.

virtual int GU_PrimSelection::toggle ( GEO_Breakpoint bkp,
int  ordered = 0 
) [virtual]

Implements GU_Selection.

virtual int GU_PrimSelection::toggle ( GB_Edge edge,
int  ordered = 0 
) [virtual]

Implements GU_Selection.

virtual int GU_PrimSelection::toggle ( GEO_Primitive prim,
int  ordered = 0 
) [virtual]

Implements GU_Selection.

virtual int GU_PrimSelection::toggle ( GEO_Point point,
int  ordered = 0 
) [virtual]

Implements GU_Selection.

virtual int GU_PrimSelection::toggleAllUsingClosure ( GU_PrimGroupClosure closure,
int  how_to_treat_closure 
) [protected, virtual]

Implements GU_Selection.

virtual GB_PointGroup* GU_PrimSelection::updatePoints ( void   )  [virtual]

Implements GU_Selection.

virtual GB_PrimitiveGroup* GU_PrimSelection::updatePrimitives ( void   )  [virtual]

Implements GU_Selection.

virtual void GU_PrimSelection::updateStashed ( void   )  [virtual]

Reimplemented from GU_Selection.

void GU_PrimSelection::useGroup ( GB_PrimitiveGroup group,
int  ref = 0 
)


Member Data Documentation

Definition at line 290 of file GU_PrimSelection.h.


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

Generated on Fri May 25 00:10:29 2012 for HDK by  doxygen 1.5.9