Open CASCADE Technology 6.6.0
Public Member Functions
StdSelect_BRepHilighter Class Reference

Tool to manage hilight of BRepOwners during the selection process
More...

#include <StdSelect_BRepHilighter.hxx>

Public Member Functions

 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

Detailed Description

-> 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();


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::Process ( const Handle< V3d_View > &  aView,
const Standard_Boolean  DoubleBuffer = Standard_False 
)
void StdSelect_BRepHilighter::Process ( )
void StdSelect_BRepHilighter::Set ( const Handle< V3d_Viewer > &  aViewer)
void StdSelect_BRepHilighter::Set ( const Handle< StdSelect_ViewerSelector3d > &  aSelector)
void StdSelect_BRepHilighter::Set ( const Quantity_NameOfColor  acolor)
void StdSelect_BRepHilighter::Set ( const StdSelect_TypeOfResult  atype)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines