]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/LayerImageBase.h
#2651 creaMaracasVisu Feature New Normal - Color Layer: Transparent Base, Refresh
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / ThresholdImageView / LayerImageBase.h
index 47a69e97506f79b2f4a73b7c280225bbef565363..7735f0a598e8b88ea9c792c1ae19dd950cfcc9ae 100644 (file)
@@ -87,6 +87,8 @@ class LayerImageBase
                void SetY(int y);
                void SetZ(int z);
                void SetImage(vtkImageData* image);
+               void SetRangeForColorBar(std::vector<double> &range);
+               void GetRangeForColorBar(double &minRange, double &maxRange);
                void SetwxVtkBaseView(wxVtkBaseView *baseview);
 
                void onThreshold();
@@ -103,6 +105,7 @@ class LayerImageBase
                virtual int GetZ();
                bool GetActorPresent();
 
+
   private:
                int                                             _X;
                int                                             _Y;
@@ -124,6 +127,8 @@ class LayerImageBase
   protected:
                vtkLookupTable                  *GetThresholdTable();
                vtkImageData                    *GetImage();
+               double                                  _range[2];
+               std::vector<double>     _rangeForColorBar;
  };