VTK  9.3.20240417
vtkDataSetToDataObjectFilter.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
38 #ifndef vtkDataSetToDataObjectFilter_h
39 #define vtkDataSetToDataObjectFilter_h
40 
41 #include "vtkDataObjectAlgorithm.h"
42 #include "vtkFiltersCoreModule.h" // For export macro
43 
44 VTK_ABI_NAMESPACE_BEGIN
45 class vtkDataSet;
46 
47 class VTKFILTERSCORE_EXPORT vtkDataSetToDataObjectFilter : public vtkDataObjectAlgorithm
48 {
49 public:
51  void PrintSelf(ostream& os, vtkIndent indent) override;
52 
57 
59 
62  vtkSetMacro(Geometry, vtkTypeBool);
63  vtkGetMacro(Geometry, vtkTypeBool);
64  vtkBooleanMacro(Geometry, vtkTypeBool);
66 
68 
71  vtkSetMacro(Topology, vtkTypeBool);
72  vtkGetMacro(Topology, vtkTypeBool);
73  vtkBooleanMacro(Topology, vtkTypeBool);
75 
77 
81  vtkSetMacro(LegacyTopology, vtkTypeBool);
82  vtkGetMacro(LegacyTopology, vtkTypeBool);
83  vtkBooleanMacro(LegacyTopology, vtkTypeBool);
85 
87 
91  vtkSetMacro(ModernTopology, vtkTypeBool);
92  vtkGetMacro(ModernTopology, vtkTypeBool);
93  vtkBooleanMacro(ModernTopology, vtkTypeBool);
95 
97 
100  vtkSetMacro(FieldData, vtkTypeBool);
101  vtkGetMacro(FieldData, vtkTypeBool);
102  vtkBooleanMacro(FieldData, vtkTypeBool);
104 
106 
109  vtkSetMacro(PointData, vtkTypeBool);
110  vtkGetMacro(PointData, vtkTypeBool);
111  vtkBooleanMacro(PointData, vtkTypeBool);
113 
115 
118  vtkSetMacro(CellData, vtkTypeBool);
119  vtkGetMacro(CellData, vtkTypeBool);
120  vtkBooleanMacro(CellData, vtkTypeBool);
122 
123 protected:
126 
128  vtkInformationVector*) override; // generate output data
130 
132 
140 
141 private:
143  void operator=(const vtkDataSetToDataObjectFilter&) = delete;
144 };
145 
146 VTK_ABI_NAMESPACE_END
147 #endif
Superclass for algorithms that produce only data object as output.
map dataset into data object (i.e., a field)
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkDataSetToDataObjectFilter() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
static vtkDataSetToDataObjectFilter * New()
Instantiate the object to transform all data into a data object.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:166
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
int vtkTypeBool
Definition: vtkABI.h:64