StdSelect_BRepHilighter Class Reference

Tool to manage hilight of BRepOwners during the selection process
-> Built with a ViewSelector3d.
-> Can hilight all the detected elements at the mouse position or
just the closest one.
How Use It:
TheSelector -> SelectPix (Xmouse,YMouse);
TheBRepHilighter->Process ();

When good choice

toto = TheSelector->LastPicked();

#include <StdSelect_BRepHilighter.hxx>

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
 StdSelect_BRepHilighter ()
 StdSelect_BRepHilighter (const Handle< StdSelect_ViewerSelector3d > &aSelector, const Handle< V3d_Viewer > &aViewer, const Quantity_NameOfColor acolor=Quantity_NOC_INDIANRED3, const StdSelect_TypeOfResult aType=StdSelect_TOR_SIMPLE)
void Set (const Handle< StdSelect_ViewerSelector3d > &aSelector)
void Set (const Handle< V3d_Viewer > &aViewer)
void Set (const Quantity_NameOfColor acolor)
void Set (const StdSelect_TypeOfResult atype)
void Process ()
 updates the viewer with the selection.

void Process (const Handle< V3d_View > &aView, const Standard_Boolean DoubleBuffer=Standard_False)
 updates only the view with the selection.
The updating will be made using immediate drawing which is far quicker.

void Clear ()
 Clears the hilight structures
which were created during the selection action;
must me called after each selection loop;


const Handle_Prs3d_Drawer & Drawer () const

Constructor & Destructor Documentation

StdSelect_BRepHilighter::StdSelect_BRepHilighter (  ) 
StdSelect_BRepHilighter::StdSelect_BRepHilighter ( const Handle< StdSelect_ViewerSelector3d > &  aSelector,
const Handle< V3d_Viewer > &  aViewer,
const Quantity_NameOfColor  acolor = Quantity_NOC_INDIANRED3,
const StdSelect_TypeOfResult  aType = StdSelect_TOR_SIMPLE 
)

Member Function Documentation

void StdSelect_BRepHilighter::Clear (  ) 
const Handle_Prs3d_Drawer& StdSelect_BRepHilighter::Drawer (  )  const
void StdSelect_BRepHilighter::operator delete ( void *  anAddress  )  [inline]
void* StdSelect_BRepHilighter::operator new ( size_t  size  )  [inline]
void* StdSelect_BRepHilighter::operator new ( size_t  ,
void *  anAddress 
) [inline]
void StdSelect_BRepHilighter::Process ( const Handle< V3d_View > &  aView,
const Standard_Boolean  DoubleBuffer = Standard_False 
)
void StdSelect_BRepHilighter::Process (  ) 
void StdSelect_BRepHilighter::Set ( const StdSelect_TypeOfResult  atype  ) 
void StdSelect_BRepHilighter::Set ( const Quantity_NameOfColor  acolor  ) 
void StdSelect_BRepHilighter::Set ( const Handle< V3d_Viewer > &  aViewer  ) 
void StdSelect_BRepHilighter::Set ( const Handle< StdSelect_ViewerSelector3d > &  aSelector  ) 

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Mar 3 11:03:07 2011 for Open CASCADE Technology by  doxygen 1.6.3