mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0030674: Visualization, AIS_InteractiveObject - fix accessibility of several properties
AIS_InteractiveObject/SelectMgr_SelectableObject/PrsMgr_PresentableObject - added missing getters; - removed redundant private sections; - improved documentation; - AIS_InteractiveObject::Compute() marked as pure interface; - methods within this hierarchy have been moved to the base class, when reasonable. Removed redundant typedefs to pointers (PrsMgr_PresentationPointer, PrsMgr_PresentableObjectPointer).
This commit is contained in:
@@ -60,11 +60,17 @@ private:
|
||||
//! Inspired by AIS_Shape::ComputeSelection() from OCCT 6.5.1
|
||||
//! @param [in] selection container for sensitive primitives
|
||||
//! @param [in] mode Selection mode
|
||||
void ComputeSelection (const Handle(SelectMgr_Selection)& theSelection,
|
||||
const Standard_Integer theMode) Standard_OVERRIDE;
|
||||
virtual void ComputeSelection (const Handle(SelectMgr_Selection)& theSelection,
|
||||
const Standard_Integer theMode) Standard_OVERRIDE;
|
||||
|
||||
//! Dummy.
|
||||
virtual void Compute (const Handle(PrsMgr_PresentationManager3d)& ,
|
||||
const Handle(Prs3d_Presentation)& ,
|
||||
const Standard_Integer ) Standard_OVERRIDE {}
|
||||
|
||||
const Bnd_Box& BoundingBox();
|
||||
|
||||
private:
|
||||
IVtkOCC_Shape::Handle myShape;
|
||||
Bnd_Box myBndBox;
|
||||
Handle(Prs3d_Drawer) myOCCTDrawer;
|
||||
|
Reference in New Issue
Block a user