VTK
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 "vtkFiltersCoreModule.h" // For export macro
54 #include "vtkDataObjectAlgorithm.h"
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 
91  vtkSetMacro(FieldData,vtkTypeBool);
92  vtkGetMacro(FieldData,vtkTypeBool);
93  vtkBooleanMacro(FieldData,vtkTypeBool);
95 
97 
100  vtkSetMacro(PointData,vtkTypeBool);
101  vtkGetMacro(PointData,vtkTypeBool);
102  vtkBooleanMacro(PointData,vtkTypeBool);
104 
106 
109  vtkSetMacro(CellData,vtkTypeBool);
110  vtkGetMacro(CellData,vtkTypeBool);
111  vtkBooleanMacro(CellData,vtkTypeBool);
113 
114 protected:
116  ~vtkDataSetToDataObjectFilter() override;
117 
119  vtkInformationVector *) override; //generate output data
121  vtkInformationVector *) override;
122 
123  int FillInputPortInformation(int, vtkInformation*) override;
124 
130 
131 private:
133  void operator=(const vtkDataSetToDataObjectFilter&) = delete;
134 };
135 
136 #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.