public:
ColorLayerImageViewManager( );
~ColorLayerImageViewManager( );
- void SetX2(int x2);
- void SetY2(int y2);
- void SetZ2(int z2);
- virtual int GetX();
- virtual int GetY();
- virtual int GetZ();
- void SetwxVtkBaseView(int id, wxVtkBaseView *baseview);
- void SetBaseColors(std::vector<double> & base_color);
- double GetBaseColors(unsigned int index);
- void SetGreyLevelBoundaries(std::vector<double> & grey_level_boundary);
- double GetGreyLevelBoundaries(unsigned int index);
- void SetPlainOrGradientColor(bool color_type);
- int GetBaseColorNb();
- void Refresh();
- void onThreshold();
- void onThresholdRemove();
- void onThresholdChange();
- void onThresholdInterpolation(bool interpolation);
- void SetSliceFixDynamic( bool fixdin );
- void onThresholdChangeOpacity( int opacity);
- void SetImage( vtkImageData* img );
+ void SetX2(int x2);
+ void SetY2(int y2);
+ void SetZ2(int z2);
+ virtual int GetX();
+ virtual int GetY();
+ virtual int GetZ();
+ void SetwxVtkBaseView(int id, wxVtkBaseView *baseview);
+ wxVtkBaseView* GetwxVtkBaseView(int id);
+ void SetBaseColors(std::vector<double> & base_color);
+ double GetBaseColors(unsigned int index);
+ void SetGreyLevelBoundaries(std::vector<double> & grey_level_boundary);
+ void SetBaseTransparence(std::vector<double> & base_transparence);
+ void SetRangeForColorBar(std::vector<double> & range);
+ void SetColorBarPosition(std::vector<int> & colorbarposition);
+ double GetGreyLevelBoundaries(unsigned int index);
+ void SetPlainOrGradientColor(bool color_type);
+ int GetBaseColorNb();
+ void Refresh();
+ void onThreshold();
+ void onThresholdRemove();
+ void onThresholdChange();
+ void onThresholdInterpolation( bool interpolation );
+ void SetSliceFixDynamic( bool fixdin );
+ void onThresholdChangeOpacity( int opacity );
+ void SetImage( vtkImageData* img );
+ vtkImageData* GetImageChangeInformation(int id);
+
+ void GetDimensionBase (int id,int *dim);
+ void GetSpcBase (int id,double *spc);
+ void GetDimensionOriginalLayer (int id,int *dim);
+ void GetSpcOriginalLayer (int id,double *spc);
+ void SetNewSpacingLayer (double *spc);
+
private:
std::vector< ColorLayerImageView* > _colorLayerImageViewLst;