X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxVtk3DBaseView.h;h=f4fc33e3488274be14c4cb6ca1dbdacd75d44f49;hb=b90d2dce776b27c95bd59251ee83d10a42b0cae5;hp=7406907d1d8340e3b519628ee3cb123a1de13cc7;hpb=e4ef2b5df5aac431ff3b806f83b7dd5e55e89d86;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk3DBaseView.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk3DBaseView.h index 7406907..f4fc33e 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk3DBaseView.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk3DBaseView.h @@ -37,23 +37,25 @@ //------------------------------------------------------------------ //------------------------------------------------------------------ -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: };