// 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
const TopoDS_Shape& getTopo();
- void setTopo(const TopoDS_Shape& ashape);
+ void setTopo(const TopoDS_Shape& ashape, bool isVector = false);
int getDisplayMode();
void setDisplayMode(int);
int amode;
int nbisos;
TopoDS_Shape myShape;
+ bool myIsVector;
};