const Handle(Prs3d_Presentation)& aPresentation,
const Standard_Integer aMode = 0);
- static QList<Handle(AIS_InteractiveObject)> createPresentations( const TopoDS_Shape& shape );
+ static QList<Handle(AIS_InteractiveObject)> createPresentations
+ ( const TopoDS_Shape& theShape, int theType, int theSize );
+ static void update( const QList<Handle(AIS_InteractiveObject)>&, int theType, int theSize );
public:
DEFINE_STANDARD_RTTIEXT(HYDROGUI_Polyline, AIS_Shape);
class HYDROGUI_Arrow : public AIS_Shape
{
public:
+ enum Type { None, Triangle, Cone };
+
HYDROGUI_Arrow( const TopoDS_Edge& edge );
virtual ~HYDROGUI_Arrow();
const Handle(Prs3d_Presentation)& aPresentation,
const Standard_Integer aMode = 0 );
+ Type GetType() const;
+ void SetType( Type );
+
+ int GetSize() const;
+ void SetSize( int );
+
public:
DEFINE_STANDARD_RTTIEXT(HYDROGUI_Arrow, AIS_Shape);
+
+private:
+ Type myType;
+ int mySize;
};
#endif