X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPlugins%2FStaticMesh%2Fplugin%2FStaticMeshModule%2FvtkStaticPUnstructuredGridGhostCellsGenerator.h;fp=src%2FPlugins%2FStaticMesh%2Fplugin%2FStaticMeshModule%2FvtkStaticPUnstructuredGridGhostCellsGenerator.h;h=1152d6a3ef80597487142484b3970d1aeca7629d;hb=d725e568696c84e8bb64200b105872f5b480bba8;hp=ecfadfec3e2010e1819bbf0017dc91126b9805af;hpb=82b5539c09838b78cd4c9502f5c872bfa14fac2e;p=modules%2Fparavis.git diff --git a/src/Plugins/StaticMesh/plugin/StaticMeshModule/vtkStaticPUnstructuredGridGhostCellsGenerator.h b/src/Plugins/StaticMesh/plugin/StaticMeshModule/vtkStaticPUnstructuredGridGhostCellsGenerator.h index ecfadfec..1152d6a3 100644 --- a/src/Plugins/StaticMesh/plugin/StaticMeshModule/vtkStaticPUnstructuredGridGhostCellsGenerator.h +++ b/src/Plugins/StaticMesh/plugin/StaticMeshModule/vtkStaticPUnstructuredGridGhostCellsGenerator.h @@ -26,21 +26,23 @@ * * @sa * vtkPUnstructuredGridGhostCellsGenerator -*/ + */ #ifndef vtkStaticPUnstructuredGridGhostCellsGenerator_h #define vtkStaticPUnstructuredGridGhostCellsGenerator_h -#include #include #include -#include #include +#include "StaticMeshModuleModule.h" + +class vtkIdList; class vtkUnstructuredGrid; -class vtkStaticPUnstructuredGridGhostCellsGenerator : public vtkPUnstructuredGridGhostCellsGenerator +class STATICMESHMODULE_EXPORT vtkStaticPUnstructuredGridGhostCellsGenerator + : public vtkPUnstructuredGridGhostCellsGenerator { public: static vtkStaticPUnstructuredGridGhostCellsGenerator* New(); @@ -52,7 +54,7 @@ public: protected: vtkStaticPUnstructuredGridGhostCellsGenerator(); - ~vtkStaticPUnstructuredGridGhostCellsGenerator() override; + ~vtkStaticPUnstructuredGridGhostCellsGenerator() override = default; /** * Check input for "ProcessId" and "Ids" point and cell array, @@ -83,20 +85,19 @@ protected: */ virtual void UpdateCacheGhostCellAndPointData(vtkDataSet* input); - vtkNew Cache; - vtkMTimeType InputMeshTime; - vtkMTimeType FilterMTime; - - std::vector > GhostCellsToReceive; - std::vector > GhostCellsToSend; - std::vector > GhostPointsToReceive; - std::vector > GhostPointsToSend; - private: - // Hide these from the user and the compiler. vtkStaticPUnstructuredGridGhostCellsGenerator( const vtkStaticPUnstructuredGridGhostCellsGenerator&) = delete; void operator=(const vtkStaticPUnstructuredGridGhostCellsGenerator&) = delete; + + vtkNew Cache; + vtkMTimeType InputMeshTime = 0; + vtkMTimeType FilterMTime = 0; + + std::vector > GhostCellsToReceive; + std::vector > GhostCellsToSend; + std::vector > GhostPointsToReceive; + std::vector > GhostPointsToSend; }; #endif