Salome HOME
Salome 5x Impossible to create true cone
[modules/geom.git] / src / OBJECT / GEOM_OCCReader.h
index 87247f3ec64efbfdc00df4643be27582d1998943..1bf1ce70fcc9159bf47c604ca43d649fc704169b 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 "GEOM_OBJECT_defs.hxx"
+
+#include <vtkPolyDataSource.h>
+
+class vtkPoints;
+class vtkCellArray;
 
 // OpenCASCADE
 #include <TopoDS_Shape.hxx>
 #include <TopoDS.hxx>
-#include <Poly_Polygon3D.hxx>
-#include <Poly_PolygonOnTriangulation.hxx>
 #include <GeomAbs_IsoType.hxx>
 #include <BRepAdaptor_Surface.hxx>
 
-#ifdef _WIN_32
-#define VTKOCC_EXPORT __declspec (dllexport)
-#else
-#define VTKOCC_EXPORT
-#endif
-class VTKOCC_EXPORT GEOM_OCCReader : public vtkPolyDataSource {
+class GEOM_OBJECT_EXPORT GEOM_OCCReader : public vtkPolyDataSource {
 
   // methods   
 
@@ -60,7 +57,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 +131,7 @@ class VTKOCC_EXPORT GEOM_OCCReader : public vtkPolyDataSource {
   int                   amode;
   int                    nbisos;
   TopoDS_Shape           myShape;
+  bool                   myIsVector;
 
 };