24 #ifndef PartSet_CenterPrs_H
25 #define PartSet_CenterPrs_H
27 #include <ModelAPI_Object.h>
28 #include <ModelAPI_AttributeSelection.h>
29 #include <GeomAPI_Edge.h>
31 #include <AIS_Point.hxx>
32 #include <Standard_DefineHandle.hxx>
34 #include <Geom_Point.hxx>
51 const GeomEdgePtr& theEdge,
52 const gp_Pnt& theCenter,
56 ObjectPtr
object()
const {
return myObject; }
59 GeomEdgePtr
edge()
const {
return myEdge; }
64 virtual void HilightSelected(
const Handle(PrsMgr_PresentationManager3d)& PM,
65 const SelectMgr_SequenceOfOwner& Seq);
66 virtual void HilightOwnerWithColor (
const Handle(PrsMgr_PresentationManager3d)&,
67 const Handle(Prs3d_Drawer)&,
68 const Handle(SelectMgr_EntityOwner)&);
73 void drawPoint(
const Handle(Prs3d_Presentation)& thePrs, Quantity_Color theColor);
CenterType
Type of the center of the circular of elliptic edge.
Definition: ModelAPI_AttributeSelection.h:38
A presentation class for displaying of centers of external curcular objects in a sketch.
Definition: PartSet_CenterPrs.h:43
PartSet_CenterPrs(const ObjectPtr &theObject, const GeomEdgePtr &theEdge, const gp_Pnt &theCenter, ModelAPI_AttributeSelection::CenterType theType)
Constructor.
ModelAPI_AttributeSelection::CenterType centerType() const
Returns type of the center.
Definition: PartSet_CenterPrs.h:62
ObjectPtr object() const
Returns an Object which contains the circular edge.
Definition: PartSet_CenterPrs.h:56
GeomEdgePtr edge() const
Returns a circular edge shape.
Definition: PartSet_CenterPrs.h:59