Salome HOME
Correct vector presentation color.
[modules/geom.git] / src / OBJECT / GEOM_OCCReader.h
index 87247f3ec64efbfdc00df4643be27582d1998943..707b8136fe1fe9f2d6317b9e214533dbbe5d1cd3 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_OCCREADER_H
 #define GEOM_OCCREADER_H
 
-// VTK
-#include "VTKViewer_Common.h"
+#include <vtkPolyDataSource.h>
+
+class vtkPoints;
+class vtkCellArray;
 
 // OpenCASCADE
 #include <TopoDS_Shape.hxx>
@@ -50,6 +52,7 @@
 #else
 #define VTKOCC_EXPORT
 #endif
+
 class VTKOCC_EXPORT GEOM_OCCReader : public vtkPolyDataSource {
 
   // methods   
@@ -60,7 +63,7 @@ class VTKOCC_EXPORT GEOM_OCCReader : public vtkPolyDataSource {
 
   const TopoDS_Shape& getTopo();
 
-  void setTopo(const TopoDS_Shape& ashape);
+  void setTopo(const TopoDS_Shape& ashape, bool isVector = false);
 
   int  getDisplayMode();
   void setDisplayMode(int);
@@ -134,6 +137,7 @@ class VTKOCC_EXPORT GEOM_OCCReader : public vtkPolyDataSource {
   int                   amode;
   int                    nbisos;
   TopoDS_Shape           myShape;
+  bool                   myIsVector;
 
 };