VTK  9.2.20230320
vtkDataSetToDataObjectFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDataSetToDataObjectFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
50 #ifndef vtkDataSetToDataObjectFilter_h
51 #define vtkDataSetToDataObjectFilter_h
52 
53 #include "vtkDataObjectAlgorithm.h"
54 #include "vtkFiltersCoreModule.h" // For export macro
55 
56 VTK_ABI_NAMESPACE_BEGIN
57 class vtkDataSet;
58 
59 class VTKFILTERSCORE_EXPORT vtkDataSetToDataObjectFilter : public vtkDataObjectAlgorithm
60 {
61 public:
63  void PrintSelf(ostream& os, vtkIndent indent) override;
64 
69 
71 
74  vtkSetMacro(Geometry, vtkTypeBool);
75  vtkGetMacro(Geometry, vtkTypeBool);
76  vtkBooleanMacro(Geometry, vtkTypeBool);
78 
80 
83  vtkSetMacro(Topology, vtkTypeBool);
84  vtkGetMacro(Topology, vtkTypeBool);
85  vtkBooleanMacro(Topology, vtkTypeBool);
87 
89 
93  vtkSetMacro(LegacyTopology, vtkTypeBool);
94  vtkGetMacro(LegacyTopology, vtkTypeBool);
95  vtkBooleanMacro(LegacyTopology, vtkTypeBool);
97 
99 
103  vtkSetMacro(ModernTopology, vtkTypeBool);
104  vtkGetMacro(ModernTopology, vtkTypeBool);
105  vtkBooleanMacro(ModernTopology, vtkTypeBool);
107 
109 
112  vtkSetMacro(FieldData, vtkTypeBool);
113  vtkGetMacro(FieldData, vtkTypeBool);
114  vtkBooleanMacro(FieldData, vtkTypeBool);
116 
118 
121  vtkSetMacro(PointData, vtkTypeBool);
122  vtkGetMacro(PointData, vtkTypeBool);
123  vtkBooleanMacro(PointData, vtkTypeBool);
125 
127 
130  vtkSetMacro(CellData, vtkTypeBool);
131  vtkGetMacro(CellData, vtkTypeBool);
132  vtkBooleanMacro(CellData, vtkTypeBool);
134 
135 protected:
138 
140  vtkInformationVector*) override; // generate output data
142 
144 
152 
153 private:
155  void operator=(const vtkDataSetToDataObjectFilter&) = delete;
156 };
157 
158 VTK_ABI_NAMESPACE_END
159 #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:174
a simple class to control print indentation
Definition: vtkIndent.h:120
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
int vtkTypeBool
Definition: vtkABI.h:71