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 
53 #include "vtkDataObjectAlgorithm.h"
54 #include "vtkFiltersCoreModule.h" // For export macro
55 
56 class vtkDataSet;
57 
58 class VTKFILTERSCORE_EXPORT vtkDataSetToDataObjectFilter : public vtkDataObjectAlgorithm
59 {
60 public:
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 
134 protected:
136  ~vtkDataSetToDataObjectFilter() override;
137 
139  vtkInformationVector*) override; // generate output data
141 
142  int FillInputPortInformation(int, vtkInformation*) override;
143 
151 
152 private:
154  void operator=(const vtkDataSetToDataObjectFilter&) = delete;
155 };
156 
157 #endif
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
static vtkDataObjectAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:69
a simple class to control print indentation
Definition: vtkIndent.h:39
map dataset into data object (i.e., a field)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Superclass for algorithms that produce only data object as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
int FillInputPortInformation(int port, vtkInformation *info) 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.