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) VTK_OVERRIDE;
63 
68 
70 
73  vtkSetMacro(Geometry,int);
74  vtkGetMacro(Geometry,int);
75  vtkBooleanMacro(Geometry,int);
77 
79 
82  vtkSetMacro(Topology,int);
83  vtkGetMacro(Topology,int);
84  vtkBooleanMacro(Topology,int);
86 
88 
91  vtkSetMacro(FieldData,int);
92  vtkGetMacro(FieldData,int);
93  vtkBooleanMacro(FieldData,int);
95 
97 
100  vtkSetMacro(PointData,int);
101  vtkGetMacro(PointData,int);
102  vtkBooleanMacro(PointData,int);
104 
106 
109  vtkSetMacro(CellData,int);
110  vtkGetMacro(CellData,int);
111  vtkBooleanMacro(CellData,int);
113 
114 protected:
117 
118  int RequestData(vtkInformation *, vtkInformationVector **,
119  vtkInformationVector *) VTK_OVERRIDE; //generate output data
120  int RequestUpdateExtent(vtkInformation *, vtkInformationVector **,
121  vtkInformationVector *) VTK_OVERRIDE;
122 
123  int FillInputPortInformation(int, vtkInformation*) VTK_OVERRIDE;
124 
125  int Geometry;
126  int Topology;
127  int PointData;
128  int CellData;
129  int FieldData;
130 
131 private:
133  void operator=(const vtkDataSetToDataObjectFilter&) VTK_DELETE_FUNCTION;
134 };
135 
136 #endif
Superclass for algorithms that produce only data object as output.
map dataset into data object (i.e., a field)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkDataSetToDataObjectFilter() 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.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.