Salome HOME
Issue #2131 See preview button does not work
[modules/shaper.git] / src / PartSet / PartSet_ResultSketchPrs.h
index f303adec9999dcfec9b41c35a4335a3b5ee2370c..b374c0a7b04bf624a807c4d1b2964687a0259953 100755 (executable)
@@ -29,10 +29,11 @@ public:
   /// \param theResult a result object
   Standard_EXPORT PartSet_ResultSketchPrs(ResultPtr theResult);
 
-  DEFINE_STANDARD_RTTI(PartSet_ResultSketchPrs)
+  DEFINE_STANDARD_RTTIEXT(PartSet_ResultSketchPrs, ViewerData_AISShape)
 protected:
   /// Redefinition of virtual function
-  Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager3d)& thePresentationManager,
+  Standard_EXPORT virtual void Compute(
+    const Handle(PrsMgr_PresentationManager3d)& thePresentationManager,
     const Handle(Prs3d_Presentation)& thePresentation, const Standard_Integer theMode = 0);
 
   /// Redefinition of virtual function
@@ -45,7 +46,8 @@ private:
   /// \param theShape a shape
   /// \param theTypeOfSelection type of selection: VERTEX, EDGE, WIRE
   void appendShapeSelection(const Handle(SelectMgr_Selection)& theSelection,
-                            const TopoDS_Shape& theShape, const TopAbs_ShapeEnum& theTypeOfSelection);
+                            const TopoDS_Shape& theShape,
+                            const TopAbs_ShapeEnum& theTypeOfSelection);
 
   /// Sets color/line style/width of the presentation depending on the parameter state
   /// \param isAuxiliary a boolean value if the properties are for auxiliary objects