#define HYDROGUI_SHAPE_H
#include <AIS_InteractiveContext.hxx>
-#include <AIS_TexturedShape.hxx>
+#include <AIS_Shape.hxx>
#include <HYDROData_Entity.h>
#include <TopoDS_Face.hxx>
#include <TopoDS_Wire.hxx>
+#include <TopoDS_Compound.hxx>
class HYDROGUI_Shape
{
const bool theToDisplay = true,
const bool theIsUpdateViewer = true );
+ virtual void setFaces( const TopoDS_Compound& theWires,
+ const bool theToDisplay = true,
+ const bool theIsUpdateViewer = true );
+
virtual void setFace( const TopoDS_Wire& theWire,
const bool theToDisplay = true,
const bool theIsUpdateViewer = true );
const bool theToDisplay = true,
const bool theIsUpdateViewer = true );
+ virtual void setShape( const TopoDS_Shape& theShape,
+ const bool theToDisplay = true,
+ const bool theIsUpdateViewer = true );
+
virtual void setFillingColor( const QColor& theColor,
const bool theToDisplay = true,
const bool theIsUpdateViewer = true );
private:
Handle(AIS_InteractiveContext) myContext;
Handle(HYDROData_Entity) myObject;
- Handle(AIS_TexturedShape) myShape;
+ Handle(AIS_Shape) myShape;
bool myIsToUpdate;
bool myIsVisible;