Salome HOME
Update copyright information
[modules/geom.git] / src / OBJECT / GEOM_VTKTrihedron.hxx
index 92332c8c6f0a311f90c99c8aad2766ae11c029c8..fc244a0d70b56ceae5dfb1a9c291e47b52c96a60 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
 #ifndef GEOM_VTKTrihedron_H
 #define GEOM_VTKTrihedron_H
 
+#include "GEOM_OBJECT_defs.hxx"
+
 #include <Geom_Axis2Placement.hxx>
 #include "SALOME_Actor.h"
 #include "VTKViewer_Trihedron.h"
 
-#ifdef WNT
-#include <SALOME_WNT.hxx>
-#else
-#define SALOME_WNT_EXPORT
-#endif
-
-
-class vtkActorCollection;
 class vtkRenderer;
 class vtkPolyDataMapper;
 
@@ -50,7 +44,7 @@ class vtkPolyDataMapper;
                 Placement of trihedron is chahged with SetPlacement() method
 */
 
-class SALOME_WNT_EXPORT GEOM_VTKTrihedron : public SALOME_Actor
+class GEOM_OBJECT_EXPORT GEOM_VTKTrihedron : public SALOME_Actor
 {
 
 protected:
@@ -62,7 +56,7 @@ public:
                                     vtkTypeMacro( GEOM_VTKTrihedron, SALOME_Actor );
   static GEOM_VTKTrihedron*         New();
 
-  virtual float                     GetSize() { return mySize;}
+  virtual vtkFloatingPointType      GetSize() { return mySize;}
 
   virtual void                      SetVisibility( VTKViewer_Trihedron::TVisibility theVis );
   virtual void                      VisibilityOff() { SetVisibility( VTKViewer_Trihedron::eOff ); }
@@ -80,22 +74,21 @@ public:
   virtual void                      Render(vtkRenderer *, vtkMapper *);
   virtual bool                      IsSetCamera() const;
   virtual bool                      IsResizable() const;
-  virtual void                      SetSize( float );
+  virtual void                      SetSize( vtkFloatingPointType );
   virtual void                      SetCamera( vtkCamera* );
 
-  void                              SetColor( float r, float g, float b );
-  void                              GetColor( float& r, float& g, float& b );
+  void                              SetColor( vtkFloatingPointType r, vtkFloatingPointType g, vtkFloatingPointType b );
+  void                              GetColor( vtkFloatingPointType& r, vtkFloatingPointType& g, vtkFloatingPointType& b );
 
   virtual bool                      hasHighlight() { return false; } 
 
 protected:
-  vtkActorCollection*               myPresent;
   VTKViewer_Axis*                   myAxis[3];
   vtkPolyDataMapper*                myMapper;
-  float                             mySize;
+  vtkFloatingPointType              mySize;
   gp_Pnt                            myLocation;
   gp_Dir                            myDirX, myDirY, myDirZ;
-  float                             myColor[ 3 ];
+  vtkFloatingPointType              myColor[ 3 ];
 };
 
 #endif