public:
LayerImageBase();
virtual ~LayerImageBase();
+ void SetX(int x);
+ void SetY(int y);
void SetZ(int z);
void SetImage(vtkImageData* image);
void SetwxVtkBaseView(wxVtkBaseView *baseview);
void Refresh();
vtkLookupTable *GetvtkLookupTable();
vtkImageReslice *GetvtkImageReslice();
+ virtual int GetX();
+ virtual int GetY();
virtual int GetZ();
private:
+ int _X;
+ int _Y;
int _Z;
bool _actorPresent;
vtkImageData *_image;
virtual void ConfigLookupTable() = 0;
bool GetActorPresent();
- int CleanZ(int z);
+ void CleanXYZ(double &x, double &y, double &z);
protected: