Salome HOME
refs #1327: debug of scaling operations
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_BathymetryPrs.h
index 9837f478c6b2f100137b0ddac320669cc651f2f1..1f5e0df124cc49f1ea20e80e74f99a203f9d46ed 100644 (file)
 #include <Bnd_Box.hxx>
 #include <QList>
 
+class HYDROGUI_ShapeBathymetry;
+
 class HYDROGUI_BathymetryPrs : public AIS_PointCloud
 {
 public:
-  HYDROGUI_BathymetryPrs();
+  HYDROGUI_BathymetryPrs( const HYDROGUI_ShapeBathymetry* );
   virtual ~HYDROGUI_BathymetryPrs();
 
   virtual void SetPoints( const Handle(TColgp_HArray1OfPnt)&     theCoords,
@@ -47,6 +49,8 @@ public:
 
   void SetTextLabels( const QList<int>& );
 
+  HYDROGUI_ShapeBathymetry* GetShape() const;
+
 protected:
   virtual void Compute( const Handle(PrsMgr_PresentationManager3d)& thePresentationManager,
                         const Handle(Prs3d_Presentation)& thePresentation,
@@ -55,8 +59,10 @@ protected:
                                  const Standard_Integer theMode );
 
   void UpdateBound();
+  void AddPoint( const Handle(Graphic3d_ArrayOfPoints)&, const Handle(SelectMgr_EntityOwner)& );
 
 private:
+  const HYDROGUI_ShapeBathymetry* myShape;
   Bnd_Box myBound;
   QList<int> myTextIndices;
 };