Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
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

DEFINE_STANDARD_ALLOC 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


Member Function Documentation

const Handle_Prs3d_Drawer& StdSelect_BRepHilighter::Drawer ( ) const

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