//----------------------------------------------------------------------------------
class LayerImageBase;
-class ColorLayerImageBasevtkInteractor : public InteractorStyleMaracas {
+class ColorLayerImageBasevtkInteractor : public InteractorStyleMaracas
+{
public:
ColorLayerImageBasevtkInteractor(LayerImageBase* layerImageBase);
virtual ~ColorLayerImageBasevtkInteractor();
class LayerImageBase
- {
+ {
public:
LayerImageBase();
virtual ~LayerImageBase();
bool GetActorPresent();
private:
- int _X;
- int _Y;
- int _Z;
- bool _actorPresent;
- vtkImageData *_image;
+ int _X;
+ int _Y;
+ int _Z;
+ bool _actorPresent;
+ vtkImageData *_image;
vtkImageReslice *_imageReslicer;
- vtkLookupTable *_thresholdTable;
+ vtkLookupTable *_thresholdTable;
vtkImageMapToColors *_thresholdMapper;
- vtkImageActor *_thresholdActor;
- wxVtkBaseView *_baseView;
+ vtkImageActor *_thresholdActor;
+ wxVtkBaseView *_baseView;
- vtkScalarBarActor *_scalarbarActor;
+ vtkScalarBarActor *_scalarbarActor;
virtual void ConfigLookupTable() = 0;
void CleanXYZ(double &x, double &y, double &z);