std::vector<double> GetCenter();
std::vector<double> GetNormal();
+ void SetOrigin( std::vector<double> origin);
+
void Process();
void UpdatePlane();
virtual void Execute();
//Methods and attributes only visible by this class
//---------------------------------------------
private:
- bool _firsttime;
- bool _active;
- vtkImageData *_image;
- vtkRenderer *_renderer;
- int _resolution;
- int _representation;
+ bool _firsttime;
+ bool _active;
+ vtkImageData* _image;
+ vtkRenderer * _renderer;
+ int _resolution;
+ int _representation;
+ std::vector<double> _origin;
vtkPlaneWidget *_vPlaneWidget;
vtkPlaneSource *_vPlaneSource;