//------------------------------------------------------------------
//------------------------------------------------------------------
-class creaMaracasVisu_EXPORT wxVtk3DBaseView: public wxVtkBaseView{
+class creaMaracasVisu_EXPORT wxVtk3DBaseView: public wxVtkBaseView
+{
public:
- wxVtk3DBaseView( wxWindow *parent );
+ wxVtk3DBaseView( wxWindow *parent, vtkBaseData* vtkbasedata );
virtual ~wxVtk3DBaseView();
- vtkCamera* GetCamera();
+ vtkCamera* GetCamera();
virtual vtkRenderer* GetRenderer();
virtual vtkRenderWindow* GetRenWin();
- void Refresh();
- void Configure();
- virtual void GetSpacing(double spc[3]);
- void SetStereo(int type);
+ void Refresh();
+ void Configure();
+ virtual void GetSpacing(double spc[3]);
+ void SetStereo(int type);
+ void ResetCamera(int *ext=NULL,double* spc=NULL);
private:
- bool _configure;
- vtkRenderer *_aRenderer;
- vtkRenderWindow *_renWin;
- vtkCamera *_aCamera;
+ bool _configure;
+ vtkRenderer *_aRenderer;
+ vtkRenderWindow *_renWin;
+ vtkCamera *_aCamera;
protected:
};