From: maintenance team Date: Mon, 10 Apr 2006 12:53:05 +0000 (+0000) Subject: To provide compatibility between VTK 4.2.2, 4.2.6 & 4.4 versions X-Git-Tag: T3_2_0b1_pre1~42 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=58a206c99d6305185280adbbdcbcf326d88afb08;p=modules%2Fsmesh.git To provide compatibility between VTK 4.2.2, 4.2.6 & 4.4 versions --- diff --git a/src/OBJECT/SMESH_ActorUtils.h b/src/OBJECT/SMESH_ActorUtils.h index 58e72e0a9..19ed7e282 100644 --- a/src/OBJECT/SMESH_ActorUtils.h +++ b/src/OBJECT/SMESH_ActorUtils.h @@ -23,7 +23,7 @@ #include #include -#include +#include "VTKViewer.h" class vtkUnstructuredGrid; diff --git a/src/OBJECT/SMESH_ExtractGeometry.cxx b/src/OBJECT/SMESH_ExtractGeometry.cxx index de856a7ce..c7f59df94 100644 --- a/src/OBJECT/SMESH_ExtractGeometry.cxx +++ b/src/OBJECT/SMESH_ExtractGeometry.cxx @@ -20,14 +20,14 @@ #include "SMESH_ExtractGeometry.h" -#include "vtkCell.h" -#include "vtkCellData.h" -#include "vtkFloatArray.h" -#include "vtkIdList.h" -#include "vtkImplicitFunction.h" -#include "vtkObjectFactory.h" -#include "vtkPointData.h" -#include "vtkUnstructuredGrid.h" +#include +#include +#include +#include +#include +#include +#include +#include using namespace std; diff --git a/src/OBJECT/SMESH_ExtractGeometry.h b/src/OBJECT/SMESH_ExtractGeometry.h index 794229516..cbbcdc044 100644 --- a/src/OBJECT/SMESH_ExtractGeometry.h +++ b/src/OBJECT/SMESH_ExtractGeometry.h @@ -23,8 +23,10 @@ #include #include +#include "VTKViewer.h" -class SMESH_ExtractGeometry : public vtkExtractGeometry{ +class SMESH_ExtractGeometry : public vtkExtractGeometry +{ public: vtkTypeMacro(SMESH_ExtractGeometry,vtkExtractGeometry);