]> SALOME platform Git repositories - tools/paravisaddons_common.git/commitdiff
Salome HOME
nabil tuleap23995
authorDUC ANH HOANG <duc-anh-externe.hoang@edf.fr>
Wed, 10 Mar 2021 13:28:19 +0000 (14:28 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Thu, 15 Apr 2021 08:55:07 +0000 (10:55 +0200)
src/ElectromagnetismRotation/plugin/ElectromagnetismRotationIO/vtkElectromagnetismRotation.cxx
src/ExtractThreeD/plugin/ExtractThreeDModule/vtkExtractThreeD.cxx
src/ZJFilter/plugin/ZJFilterModule/vtkZJFilter.cxx

index dfe3af6d382e70eec3a871c32c21de9daa8bc3e7..8107cb68da184b6a1f13ca119c15b80cfdc2d075 100644 (file)
@@ -26,7 +26,7 @@
 #include "VTKMEDTraits.hxx"
 
 #include "vtkAdjacentVertexIterator.h"
-#include "vtkDataArrayTemplate.h"
+#include "vtkAOSDataArrayTemplate.h"
 #include "vtkIntArray.h"
 #include "vtkLongArray.h"
 #ifdef WIN32
@@ -210,7 +210,7 @@ vtkDataSet *FilterFamilies(vtkThreshold *thres,
                            vtkDataSet *input, const std::set<int>& idsToKeep, bool insideOut, const char *arrNameOfFamilyField,
                            const char *associationForThreshold, bool& catchAll, bool& catchSmth)
 {
-  const int VTK_DATA_ARRAY_DELETE=vtkDataArrayTemplate<double>::VTK_DATA_ARRAY_DELETE;
+  const int VTK_DATA_ARRAY_DELETE=vtkAOSDataArrayTemplate<double>::VTK_DATA_ARRAY_DELETE;
   const char ZE_SELECTION_ARR_NAME[]="@@ZeSelection@@";
   vtkDataSet *output(input->NewInstance());
   output->ShallowCopy(input);
index 208c6f3cdd0791fecc7f52658d797852a248e0b9..5043cbca5de351ec1f6ea7a61840bac3fca5448f 100644 (file)
@@ -30,7 +30,7 @@
 #include <vtkCellData.h>
 #include <vtkCharArray.h>
 #include <vtkDataArraySelection.h>
-#include <vtkDataArrayTemplate.h>
+#include <vtkAOSDataArrayTemplate.h>
 #include <vtkDataObjectTreeIterator.h>
 #include <vtkDataSet.h>
 #include <vtkDataSetAttributes.h>
@@ -156,7 +156,7 @@ int vtkExtractThreeD::RequestInformation(vtkInformation *request, vtkInformation
 
 vtkDataSet *FilterFamilies(vtkDataSet *input, const std::vector<int> &idsToKeep)
 {
-  const int VTK_DATA_ARRAY_DELETE = vtkDataArrayTemplate<double>::VTK_DATA_ARRAY_DELETE;
+  const int VTK_DATA_ARRAY_DELETE = vtkAOSDataArrayTemplate<double>::VTK_DATA_ARRAY_DELETE;
   const char ZE_SELECTION_ARR_NAME[] = "@@ZeSelection@@";
   vtkDataSet *output(input->NewInstance());
   output->ShallowCopy(input);
index 803049e8cb22e86099cddbc36d873df901a92b6b..e257e58b242a1163161882839f22c77b36a68a37 100644 (file)
@@ -29,7 +29,7 @@
 #include <vtkCharArray.h>
 #include <vtkCompositeDataToUnstructuredGridFilter.h>
 #include <vtkDataArraySelection.h>
-#include <vtkDataArrayTemplate.h>
+#include <vtkAOSDataArrayTemplate.h>
 #include <vtkDataObjectTreeIterator.h>
 #include <vtkDataSet.h>
 #include <vtkDataSetAttributes.h>
@@ -363,7 +363,7 @@ vtkDataSet* FilterFamilies(vtkZJFilter* zeBoss, vtkDataSet* input, const std::se
   bool catchAll, catchSmth;
   vtkNew<vtkThreshold> thres;
   thres->AddObserver(vtkCommand::ProgressEvent, zeBoss->InternalProgressObserver);
-  constexpr int VTK_DATA_ARRAY_DELETE = vtkDataArrayTemplate<double>::VTK_DATA_ARRAY_DELETE;
+  constexpr int VTK_DATA_ARRAY_DELETE = vtkAOSDataArrayTemplate<double>::VTK_DATA_ARRAY_DELETE;
   constexpr char ZE_SELECTION_ARR_NAME[] = "@@ZeSelection@@";
   constexpr char arrNameOfFamilyField[] = "FamilyIdCell";
   constexpr char associationForThreshold[] = "vtkDataObject::FIELD_ASSOCIATION_CELLS";