X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FThresholdImageView%2FLayerImageBase.h;h=5e8dcac9a9df2912ba3979206d1e1d1c3c2e3f6b;hb=cef231b63d21ad7ac9914306a0a012666c24f00a;hp=0a9f0c0327505c44dac943cbeeb2dcbea726e64c;hpb=2154a89395b7e9869b0e3dea859425d52a5aa9bd;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 0a9f0c0..5e8dcac 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/LayerImageBase.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/LayerImageBase.h @@ -92,8 +92,10 @@ class LayerImageBase vtkImageData* GetImage(); void SetRangeForColorBar(std::vector &range); void GetRangeForColorBar(double &minRange, double &maxRange); + void SetColorBarPosition(std::vector &colorbarposition); void SetwxVtkBaseView(wxVtkBaseView *baseview); + void onThreshold(); void onThresholdChange(); void onThresholdInterpolation(bool interpolate); @@ -151,6 +153,8 @@ class LayerImageBase vtkLookupTable *GetThresholdTable(); double _range[2]; std::vector _rangeForColorBar; + std::vector _colorBarPosition; + };