ThresholdImageView.h

Go to the documentation of this file.
00001 
00002 
00003 
00014 #ifndef __ThresholdImageView_h__
00015 #define __ThresholdImageView_h__
00016 
00017 #include <vtkImageReslice.h>
00018 #include <vtkLookupTable.h>
00019 #include <vtkImageMapToColors.h>
00020 #include <vtkImageActor.h>
00021 #include <vtkImageData.h>
00022 #include "wxVtkBaseView.h"
00023 
00024 
00025 
00026 class  ThresholdImageView 
00027   {
00028   public: 
00029           ThresholdImageView( );
00030           ~ThresholdImageView();
00031           void onThreshold();
00032           void onThresholdChange();
00033           void onThresholdInterpolation(bool interpolate);
00034           void onThresholdChangeOpacity (int opacity);
00035           void onThresholdRemove();
00036           
00037           void SetImage(vtkImageData* image);
00038           void SetwxVtkBaseView(wxVtkBaseView *baseview);
00039           wxVtkBaseView *GetwxVtkBaseView();
00040           void SetBaseColor(double r, double g, double b);
00041           
00042           void SetZ(int z);
00043           void SetminMaxValue(int min, int max);
00044           
00045   private:
00046           int                                   _Z;
00047           double                                _baseColorR;
00048           double                                _baseColorG;
00049           double                                _baseColorB;
00050           double                                _minValue;
00051           double                                _maxValue;
00052           bool                                  _actorPresent;
00053           vtkImageData                  *_image;
00054           vtkImageReslice               *_imageReslicer;
00055           vtkLookupTable                *_thresholdTable;
00056           vtkImageMapToColors   *_thresholdMapper;
00057           vtkImageActor                 *_thresholdActor;
00058           wxVtkBaseView                 *_baseView;
00059   protected:
00060  };
00061 
00062 #endif
00063 

Generated on Wed Jul 29 16:35:29 2009 for creaMaracasVisu_lib by  doxygen 1.5.3