]> Creatis software - crea.git/blobdiff - src/creawxVTKRenderWindowInteractor.h
*** empty log message ***
[crea.git] / src / creawxVTKRenderWindowInteractor.h
similarity index 81%
rename from src/wxVTKRenderWindowInteractor.h
rename to src/creawxVTKRenderWindowInteractor.h
index 3190c8762549df8852ea9bff933eab389b31e500..ebc2030656342849c158858140e32cf9bdf3368b 100644 (file)
@@ -1,10 +1,10 @@
 /*=========================================================================
 
   Program:   Visualization Toolkit
-  Module:    $RCSfile: wxVTKRenderWindowInteractor.h,v $
+  Module:    $RCSfile: creawxVTKRenderWindowInteractor.h,v $
   Language:  C++
-  Date:      $Date: 2008/10/02 12:29:45 $
-  Version:   $Revision: 1.2 $
+  Date:      $Date: 2008/10/15 11:19:18 $
+  Version:   $Revision: 1.1 $
 
   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
   All rights reserved.
 
 =========================================================================*/
 
-// .NAME  wxVTKRenderWindowInteractor - class to enable VTK to render to 
+// .NAME  creawxVTKRenderWindowInteractor - class to enable VTK to render to 
 // and interact with wxWindow.
 // .SECTION Description
-//  wxVTKRenderWindowInteractor provide a VTK widget for wxWindow. This class
+//  creawxVTKRenderWindowInteractor provide a VTK widget for wxWindow. This class
 // was completely rewrote to have the 'Look & Feel' of the python version:
-// wxVTKRenderWindowInteractor.py
+// creawxVTKRenderWindowInteractor.py
 // .SECTION Caveats 
 //  - There is a know bug that prevent this class to works for more info see 
 // WX_USE_X_CAPTURE. This bug only affect wxGTK from 2.3.2 to wxGTK 2.4.0.
 //  - This class might not be easily readable as it tried to work with VTK 3.2
 //  and 4.x. This class doesn't support reparenting with VTK 4.2 and earlier.
 // .SECTION see also
-// wxVTKRenderWindowInteractor.py wxVTKRenderWindow.py
+// creawxVTKRenderWindowInteractor.py creawxVTKRenderWindow.py
 
-#ifndef _wxVTKRenderWindowInteractor_h_
-#define _wxVTKRenderWindowInteractor_h_
+#ifndef _creawxVTKRenderWindowInteractor_h_
+#define _creawxVTKRenderWindowInteractor_h_
 
 #include <creaSystem.h>
 #include <creaWx.h>
@@ -76,7 +76,7 @@
 
 // Motif version (renamed into wxX11 for wxWindow 2.4 and newer)
 #if defined(__WXMOTIF__) 
-# error This GUI is not supported by wxVTKRenderWindowInteractor for now
+# error This GUI is not supported by creawxVTKRenderWindowInteractor for now
 #endif
 
 
@@ -94,32 +94,32 @@ namespace crea
 
 
 #if defined(__WXGTK__) && defined(USE_WXGLCANVAS)
-class CREA_EXPORT wxVTKRenderWindowInteractor : public wxGLCanvas, virtual public vtkRenderWindowInteractor
+class CREA_EXPORT creawxVTKRenderWindowInteractor : public wxGLCanvas, virtual public vtkRenderWindowInteractor
 #else
-class CREA_EXPORT wxVTKRenderWindowInteractor : public wxWindow, virtual public vtkRenderWindowInteractor
+class CREA_EXPORT creawxVTKRenderWindowInteractor : public wxWindow, virtual public vtkRenderWindowInteractor
 #endif //__WXGTK__
 {
-  DECLARE_DYNAMIC_CLASS(wxVTKRenderWindowInteractor)
+  DECLARE_DYNAMIC_CLASS(creawxVTKRenderWindowInteractor)
   
   public:
     //constructors
-    wxVTKRenderWindowInteractor();
+    creawxVTKRenderWindowInteractor();
 
-    wxVTKRenderWindowInteractor(wxWindow *parent,
+    creawxVTKRenderWindowInteractor(wxWindow *parent,
                                 wxWindowID id,
                                 const wxPoint &pos = wxDefaultPosition,
                                 const wxSize &size = wxDefaultSize,
                                 long style = wxWANTS_CHARS | wxNO_FULL_REPAINT_ON_RESIZE,
                                 const wxString &name = wxPanelNameStr);
        //vtk ::New()
-    static wxVTKRenderWindowInteractor * New();
+    static creawxVTKRenderWindowInteractor * New();
     void PrintSelf(ostream& os, vtkIndent indent);
 
          //destructor
-    ~wxVTKRenderWindowInteractor();
+    ~creawxVTKRenderWindowInteractor();
 
 #if defined(_WIN32)
-    const char * wxVTKRenderWindowInteractor::GetClassName() const;
+    const char * creawxVTKRenderWindowInteractor::GetClassName() const;
 #endif //_WIN32
 
 
@@ -188,4 +188,4 @@ class CREA_EXPORT wxVTKRenderWindowInteractor : public wxWindow, virtual public
 // LG : EO namespace crea
 //======================================================================
 
-#endif //_wxVTKRenderWindowInteractor_h_
+#endif //_creawxVTKRenderWindowInteractor_h_