-
-
-
/**
* \file
* \brief Class ThresholdImageView .
#include <vtkImageData.h>
#include "wxVtkBaseView.h"
+#include "InteractorStyleMaracas.h"
+
+//----------------------------------------------------------------------------------
+//----------------------------------------------------------------------------------
+//----------------------------------------------------------------------------------
+class LayerImageBase;
+
+class ColorLayerImageBasevtkInteractor : public InteractorStyleMaracas {
+public:
+ ColorLayerImageBasevtkInteractor(LayerImageBase* layerImageBase);
+ virtual ~ColorLayerImageBasevtkInteractor();
+
+ virtual bool OnMouseMove();
+
+private:
+ LayerImageBase* _layerImageBase;
+
+protected:
+
+};
+
+
+//----------------------------------------------------------------------------------
+//----------------------------------------------------------------------------------
+//----------------------------------------------------------------------------------
+
+
+
class LayerImageBase
{
public:
void onThresholdChangeOpacity (int opacity);
void onThresholdRemove();
wxVtkBaseView *GetwxVtkBaseView();
- void Refresh();
+ void Refresh();
+ vtkLookupTable *GetvtkLookupTable();
+ vtkImageReslice *GetvtkImageReslice();
+ virtual int GetZ();
private:
- int _Z;
- bool _actorPresent;
+ int _Z;
+ bool _actorPresent;
vtkImageData *_image;
vtkImageReslice *_imageReslicer;
vtkLookupTable *_thresholdTable;
protected:
- virtual int GetZ();
vtkLookupTable* GetThresholdTable();
vtkImageData* GetImage();
};