20 #ifndef SketcherPrs_Middle_H
21 #define SketcherPrs_Middle_H
23 #include "SketcherPrs_SymbolPrs.h"
48 const std::shared_ptr<GeomAPI_Ax3>& thePlane);
51 virtual const char*
iconName()
const {
return "middlepoint.png"; }
53 virtual void drawLines(
const Handle(Prs3d_Presentation)& thePrs, Quantity_Color theColor)
const;
57 virtual bool updateIfReadyToDisplay(
double theStep,
bool withColor)
const;
60 void drawLine(
const Handle(Prs3d_Presentation)& thePrs, Quantity_Color theColor,
61 const ObjectPtr& theObject)
const;
Feature function that represents the particular functionality of this operation.
Definition: ModelAPI_Feature.h:39
Feature for creation of the new part in PartSet.
Definition: SketchPlugin_Sketch.h:47
A redefinition of standard AIS Interactive Object in order to provide presentation of Equal constra...
Definition: SketcherPrs_Middle.h:34
virtual const char * iconName() const
Returns an icon file name. Has to be redefined in successors.
Definition: SketcherPrs_Middle.h:51
DEFINE_STANDARD_RTTIEXT(SketcherPrs_Middle, SketcherPrs_SymbolPrs) static bool IsReadyToDisplay(ModelAPI_Feature *theConstraint
Returns true if the constraint feature arguments are correcly filled to build AIS presentation.
A base class of constraint presentation which is represented by an icon.
Definition: SketcherPrs_SymbolPrs.h:52