]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/LayerImageBase.h
2339 creaMaracasVisu Feature New Normal ColorLayer in perpendicular planes
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / ThresholdImageView / LayerImageBase.h
index c96d748736c6114b56cfa864d4d5799bf383a055..1781373de5a94f7360683f48c4ade828de891e75 100644 (file)
@@ -79,6 +79,8 @@ class LayerImageBase
   public:
                LayerImageBase();
                virtual ~LayerImageBase();
+               void SetX(int x);
+               void SetY(int y);
                void SetZ(int z);
                void SetImage(vtkImageData* image);
                void SetwxVtkBaseView(wxVtkBaseView *baseview);
@@ -92,9 +94,13 @@ class LayerImageBase
                void Refresh();
                vtkLookupTable *GetvtkLookupTable();
                vtkImageReslice *GetvtkImageReslice();
+               virtual int GetX();
+               virtual int GetY();
                virtual int GetZ();
 
   private:
+               int                     _X;
+               int                     _Y;
                int                     _Z;
                bool                    _actorPresent;
                vtkImageData            *_image;
@@ -106,7 +112,7 @@ class LayerImageBase
 
                virtual void ConfigLookupTable() = 0;
                bool GetActorPresent();
-               int CleanZ(int z);
+               void CleanXYZ(double &x, double &y, double &z);
 
 
   protected: