VTK  9.1.0
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 =========================================================================*/
47 #ifndef vtkDataSetToDataObjectFilter_h
48 #define vtkDataSetToDataObjectFilter_h
49 
50 #include "vtkDataObjectAlgorithm.h"
51 #include "vtkFiltersCoreModule.h" // For export macro
52 
53 class vtkDataSet;
54 
55 class VTKFILTERSCORE_EXPORT vtkDataSetToDataObjectFilter : public vtkDataObjectAlgorithm
56 {
57 public:
59  void PrintSelf(ostream& os, vtkIndent indent) override;
60 
65 
67 
70  vtkSetMacro(Geometry, vtkTypeBool);
71  vtkGetMacro(Geometry, vtkTypeBool);
72  vtkBooleanMacro(Geometry, vtkTypeBool);
74 
76 
79  vtkSetMacro(Topology, vtkTypeBool);
80  vtkGetMacro(Topology, vtkTypeBool);
81  vtkBooleanMacro(Topology, vtkTypeBool);
83 
85 
89  vtkSetMacro(LegacyTopology, vtkTypeBool);
90  vtkGetMacro(LegacyTopology, vtkTypeBool);
91  vtkBooleanMacro(LegacyTopology, vtkTypeBool);
93 
95 
99  vtkSetMacro(ModernTopology, vtkTypeBool);
100  vtkGetMacro(ModernTopology, vtkTypeBool);
101  vtkBooleanMacro(ModernTopology, vtkTypeBool);
103 
105 
108  vtkSetMacro(FieldData, vtkTypeBool);
109  vtkGetMacro(FieldData, vtkTypeBool);
110  vtkBooleanMacro(FieldData, vtkTypeBool);
112 
114 
117  vtkSetMacro(PointData, vtkTypeBool);
118  vtkGetMacro(PointData, vtkTypeBool);
119  vtkBooleanMacro(PointData, vtkTypeBool);
121 
123 
126  vtkSetMacro(CellData, vtkTypeBool);
127  vtkGetMacro(CellData, vtkTypeBool);
128  vtkBooleanMacro(CellData, vtkTypeBool);
130 
131 protected:
134 
136  vtkInformationVector*) override; // generate output data
138 
140 
148 
149 private:
151  void operator=(const vtkDataSetToDataObjectFilter&) = delete;
152 };
153 
154 #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:57
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
int vtkTypeBool
Definition: vtkABI.h:69