Open CASCADE Technology 6.6.0
|
#include <QABugs_PresentableObject.hxx>
Public Member Functions | |
QABugs_PresentableObject (const PrsMgr_TypeOfPresentation3d aTypeOfPresentation3d=PrsMgr_TOP_AllView) | |
Protected Member Functions | |
virtual void | ComputeSelection (const Handle< SelectMgr_Selection > &aSelection, const Standard_Integer aMode) |
Recovers and calculates any sensitive primitive, aSelection, available in Shape mode, specified by aMode. As a rule, these are sensitive faces. This method is defined as virtual. This enables you to implement it in the creation of a new class of AIS Interactive Object. You need to do this and in so doing, redefine this method, if you create a class which enriches the list of signatures and types. | |
virtual void | Compute (const Handle< PrsMgr_PresentationManager3d > &aPresentationManager, const Handle< Prs3d_Presentation > &aPresentation, const Standard_Integer aMode=0) |
Calculates the 3D view aPresentation and its updates. The latter are managed by aPresentationManager. aPresentableObject has the display mode aMode; this has the default value of 0, that is, the wireframe display mode. |
QABugs_PresentableObject::QABugs_PresentableObject | ( | const PrsMgr_TypeOfPresentation3d | aTypeOfPresentation3d = PrsMgr_TOP_AllView | ) |
virtual void QABugs_PresentableObject::Compute | ( | const Handle< PrsMgr_PresentationManager3d > & | aPresentationManager, |
const Handle< Prs3d_Presentation > & | aPresentation, | ||
const Standard_Integer | aMode = 0 |
||
) | [protected, virtual] |
Reimplemented from PrsMgr_PresentableObject.
virtual void QABugs_PresentableObject::ComputeSelection | ( | const Handle< SelectMgr_Selection > & | aSelection, |
const Standard_Integer | aMode | ||
) | [protected, virtual] |
Implements SelectMgr_SelectableObject.