X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FThresholdImageView%2FLayerImageBase.h;h=3d27d31b71145cda4a3316a17861719214340247;hb=78a76d83140ed2adf38b8906f5d9fbfde1186c9a;hp=5e8dcac9a9df2912ba3979206d1e1d1c3c2e3f6b;hpb=e9d5c2a6cfeb298fa1214060ad0f220af9d38e3c;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/LayerImageBase.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/LayerImageBase.h index 5e8dcac..3d27d31 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/LayerImageBase.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/LayerImageBase.h @@ -95,7 +95,6 @@ class LayerImageBase void SetColorBarPosition(std::vector &colorbarposition); void SetwxVtkBaseView(wxVtkBaseView *baseview); - void onThreshold(); void onThresholdChange(); void onThresholdInterpolation(bool interpolate); @@ -121,7 +120,6 @@ class LayerImageBase void GetSpcOriginalLayer(double *spc); void GetSpcBase(double *spc); - private: int _X; int _Y; @@ -133,8 +131,6 @@ class LayerImageBase int _dimBase[3]; double _spcBase[3]; - - vtkImageData *_image; vtkImageChangeInformation *_imageChangeInformation; vtkImageReslice *_imageReslicer; @@ -142,19 +138,15 @@ class LayerImageBase vtkImageMapToColors *_thresholdMapper; vtkImageActor *_thresholdActor; wxVtkBaseView *_baseView; - vtkScalarBarActor *_scalarbarActor; - virtual void ConfigLookupTable() = 0; void CleanXYZ(double &x, double &y, double &z); - protected: vtkLookupTable *GetThresholdTable(); double _range[2]; std::vector _rangeForColorBar; std::vector _colorBarPosition; - };