VTK  9.4.20241218
vtkExplodeDataSet.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
30#ifndef vtkExplodeDataSet_h
31#define vtkExplodeDataSet_h
32
33#include "vtkFiltersGeneralModule.h" // For export macro
35
36VTK_ABI_NAMESPACE_BEGIN
37class vtkDataSet;
38class vtkIdList;
39class vtkPointSet;
40
41class VTKFILTERSGENERAL_EXPORT vtkExplodeDataSet : public vtkPartitionedDataSetCollectionAlgorithm
42{
43public:
46 void PrintSelf(ostream& os, vtkIndent indent) override;
47
48protected:
50 ~vtkExplodeDataSet() override = default;
51
53
57 int FillInputPortInformation(int port, vtkInformation* info) override;
58
59private:
60 vtkExplodeDataSet(const vtkExplodeDataSet&) = delete;
61 void operator=(const vtkExplodeDataSet&) = delete;
62
67 std::map<double, vtkSmartPointer<vtkIdList>> GetIdListsByValue(vtkDataArray* scalars);
68
74 vtkPointSet* CreatePartition(vtkDataSet* input, vtkIdList* partCellIds);
75};
76
77VTK_ABI_NAMESPACE_END
78#endif
abstract superclass for arrays of numeric data
abstract class to specify dataset behavior
Definition vtkDataSet.h:165
Explode input dataset according to a cell scalar isovalue criteria.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Methods for subclasses to override to handle different pipeline requests.
~vtkExplodeDataSet() override=default
static vtkExplodeDataSet * New()
int FillInputPortInformation(int port, vtkInformation *info) override
Accepts vtkDataSet as input.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
list of point or cell ids
Definition vtkIdList.h:133
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce vtkPartitionedDataSetCollectionAlgorithm.
concrete class for storing a set of points
Definition vtkPointSet.h:98