VTK  9.2.6
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
54#include "vtkFiltersCoreModule.h" // For export macro
55
56class vtkDataSet;
57
58class VTKFILTERSCORE_EXPORT vtkDataSetToDataObjectFilter : public vtkDataObjectAlgorithm
59{
60public:
62 void PrintSelf(ostream& os, vtkIndent indent) override;
63
68
70
73 vtkSetMacro(Geometry, vtkTypeBool);
74 vtkGetMacro(Geometry, vtkTypeBool);
75 vtkBooleanMacro(Geometry, vtkTypeBool);
77
79
82 vtkSetMacro(Topology, vtkTypeBool);
83 vtkGetMacro(Topology, vtkTypeBool);
84 vtkBooleanMacro(Topology, vtkTypeBool);
86
88
92 vtkSetMacro(LegacyTopology, vtkTypeBool);
93 vtkGetMacro(LegacyTopology, vtkTypeBool);
94 vtkBooleanMacro(LegacyTopology, vtkTypeBool);
96
98
102 vtkSetMacro(ModernTopology, vtkTypeBool);
103 vtkGetMacro(ModernTopology, vtkTypeBool);
104 vtkBooleanMacro(ModernTopology, vtkTypeBool);
106
108
111 vtkSetMacro(FieldData, vtkTypeBool);
112 vtkGetMacro(FieldData, vtkTypeBool);
113 vtkBooleanMacro(FieldData, vtkTypeBool);
115
117
120 vtkSetMacro(PointData, vtkTypeBool);
121 vtkGetMacro(PointData, vtkTypeBool);
122 vtkBooleanMacro(PointData, vtkTypeBool);
124
126
129 vtkSetMacro(CellData, vtkTypeBool);
130 vtkGetMacro(CellData, vtkTypeBool);
131 vtkBooleanMacro(CellData, vtkTypeBool);
133
134protected:
137
139 vtkInformationVector*) override; // generate output data
141
143
151
152private:
154 void operator=(const vtkDataSetToDataObjectFilter&) = delete;
155};
156
157#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:63
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
int vtkTypeBool
Definition: vtkABI.h:69