1 // Copyright (C) 2021 CEA/DEN, EDF R&D
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #ifndef __vtkExplodePolyLine_h__
21 #define __vtkExplodePolyLine_h__
23 #include <vtkPointSetAlgorithm.h>
25 #include <vtkSmartPointer.h>
26 #include <vtkPolyData.h>
27 #include <vtkDataSetSurfaceFilter.h>
28 #include <vtkCellArray.h>
29 #include <vtkCellData.h>
30 #include <vtkCompositeDataToUnstructuredGridFilter.h>
31 #include <vtkDataSetSurfaceFilter.h>
32 #include <vtkDoubleArray.h>
33 #include <vtkFloatArray.h>
34 #include <vtkInformation.h>
35 #include <vtkInformationVector.h>
36 #include <vtkLineSource.h>
37 #include <vtkMultiBlockDataGroupFilter.h>
38 #include <vtkMultiBlockDataSet.h>
40 #include <vtkObjectFactory.h>
41 #include <vtkRibbonFilter.h>
42 #include <vtkPVGlyphFilter.h>
43 #include <vtkPointData.h>
44 #include <vtkPolyData.h>
45 #include <vtkPolyDataNormals.h>
47 #include <vtkTessellatorFilter.h>
48 #include <vtkUnstructuredGrid.h>
49 #include <vtkVariant.h>
50 #include <vtkVariantArray.h>
51 #include <vtkMeshQuality.h>
52 #include <vtkCellCenters.h>
59 class VTK_EXPORT vtkExplodePolyLine : public vtkPointSetAlgorithm
62 static vtkExplodePolyLine* New();
63 vtkTypeMacro(vtkExplodePolyLine, vtkPointSetAlgorithm);
64 void PrintSelf(ostream& os, vtkIndent indent) override;
66 int FillInputPortInformation(int vtkNotUsed(port), vtkInformation *info) override;
67 int FillOutputPortInformation(int vtkNotUsed(port), vtkInformation* info) override;
70 vtkExplodePolyLine() = default;
71 ~vtkExplodePolyLine() override = default;
73 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
75 void ExtractInfo(vtkInformationVector* inputVector, vtkSmartPointer<vtkPolyData>& usgIn);
78 vtkExplodePolyLine(const vtkExplodePolyLine&) = delete;
79 void operator=(const vtkExplodePolyLine&) = delete;