+ /// Constructor
+ /// \param aShape an owner shape
+ /// \param aPriority drawig priority
+ /// \param ComesFromDecomposition decomposition flag
+ ModuleBase_BRepOwner(const TopoDS_Shape& aShape,
+ const Standard_Integer aPriority = 0,
+ const Standard_Boolean ComesFromDecomposition = Standard_False)
+ : StdSelect_BRepOwner(aShape, aPriority, ComesFromDecomposition) {}
+
+ /// Highlight the presentation with the given color
+ /// \param aPM a presentations manager
+ /// \param aCol a color
+ /// \param aMode a drawing mode
+ virtual void HilightWithColor (const Handle(PrsMgr_PresentationManager3d)& aPM,
+ const Quantity_NameOfColor aCol, const Standard_Integer aMode = 0)
+ { Selectable()->HilightOwnerWithColor(aPM, aCol, this); }
+
+ DEFINE_STANDARD_RTTI(ModuleBase_BRepOwner)
+};
+
+
+
+DEFINE_STANDARD_HANDLE(ModuleBase_ResultPrs, ViewerData_AISShape)
+
+/**
+* \ingroup GUI
+* A redefinition of standard AIS Interactive Object in order to provide specific behaviour
+* for wire presentations based in a one plane
+*/
+class ModuleBase_ResultPrs: public ViewerData_AISShape
+{
+public:
+ enum SelectionModes {
+ Sel_Result = TopAbs_SHAPE + 1 /// it should be combined with Compsolid results, so it is not
+ /// the Shape type. It is not defined in XML as compound type
+ /// because this type is processed as shape with compounds inside.
+ };
+
+public:
+ /// Constructor
+ /// \param theResult a result object