X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FcreawxVTKRenderWindowInteractor.h;h=daf7f4ed914c0d86176384091914cef0f45891d7;hb=b25a9c7f156b97660af55abb23d8e56ec8ef1397;hp=db0187dca8f3db139a3c986802e934056d16e7d5;hpb=23e9509fe3c71033515d60b110a84f2310d8f082;p=crea.git diff --git a/src/creawxVTKRenderWindowInteractor.h b/src/creawxVTKRenderWindowInteractor.h index db0187d..daf7f4e 100644 --- a/src/creawxVTKRenderWindowInteractor.h +++ b/src/creawxVTKRenderWindowInteractor.h @@ -1,18 +1,41 @@ +/* +# --------------------------------------------------------------------- +# +# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +# pour la Santé) +# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +# Previous Authors : Laurent Guigues, Jean-Pierre Roux +# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil +# +# This software is governed by the CeCILL-B license under French law and +# abiding by the rules of distribution of free software. You can use, +# modify and/ or redistribute the software under the terms of the CeCILL-B +# license as circulated by CEA, CNRS and INRIA at the following URL +# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +# or in the file LICENSE.txt. +# +# As a counterpart to the access to the source code and rights to copy, +# modify and redistribute granted by the license, users are provided only +# with a limited warranty and the software's author, the holder of the +# economic rights, and the successive licensors have only limited +# liability. +# +# The fact that you are presently reading this means that you have had +# knowledge of the CeCILL-B license and that you accept its terms. +# ------------------------------------------------------------------------ +*/ + /*========================================================================= Program: Visualization Toolkit Module: $RCSfile: creawxVTKRenderWindowInteractor.h,v $ Language: C++ - Date: $Date: 2011/02/17 11:02:08 $ - Version: $Revision: 1.4 $ - - Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen - All rights reserved. - See Copyright.txt or http://www.kitware.com/Copyright.htm for details. + Date: $Date: 2012/11/15 10:43:26 $ + Version: $Revision: 1.9 $ - This software is distributed WITHOUT ANY WARRANTY; without even - the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - PURPOSE. See the above copyright notice for more information. + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the above copyright notice for more information. =========================================================================*/ @@ -40,6 +63,8 @@ #ifdef USE_WXWIDGETS #ifdef USE_VTK +#include +#include // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" @@ -95,9 +120,9 @@ namespace crea #if defined(__WXGTK__) && defined(USE_WXGLCANVAS) -class creawxVTKRenderWindowInteractor : public wxGLCanvas, public vtkRenderWindowInteractor +class CREA_EXPORT creawxVTKRenderWindowInteractor : public wxGLCanvas, virtual public vtkRenderWindowInteractor #else -class creawxVTKRenderWindowInteractor : public wxWindow, public vtkRenderWindowInteractor +class CREA_EXPORT creawxVTKRenderWindowInteractor : virtual public vtkRenderWindowInteractor, public wxWindow #endif //__WXGTK__ { DECLARE_DYNAMIC_CLASS(creawxVTKRenderWindowInteractor) @@ -112,7 +137,7 @@ class creawxVTKRenderWindowInteractor : public wxWindow, public vtkRenderWindowI const wxSize &size = wxDefaultSize, long style = wxWANTS_CHARS | wxNO_FULL_REPAINT_ON_RESIZE, const wxString &name = wxPanelNameStr); - vtkTypeRevisionMacro(creawxVTKRenderWindowInteractor,vtkRenderWindowInteractor); + //EED win Compilation why ??: vtkTypeRevisionMacro(creawxVTKRenderWindowInteractor,vtkRenderWindowInteractor); static creawxVTKRenderWindowInteractor * New(); void PrintSelf(ostream& os, vtkIndent indent);