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 =========================================================================*/
47 #ifndef vtkDataSetToDataObjectFilter_h
48 #define vtkDataSetToDataObjectFilter_h
49 
50 #include "vtkFiltersCoreModule.h" // For export macro
51 #include "vtkDataObjectAlgorithm.h"
52 
53 class vtkDataSet;
54 
55 class VTKFILTERSCORE_EXPORT vtkDataSetToDataObjectFilter : public vtkDataObjectAlgorithm
56 {
57 public:
59  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
60 
65 
67 
70  vtkSetMacro(Geometry,int);
71  vtkGetMacro(Geometry,int);
72  vtkBooleanMacro(Geometry,int);
74 
76 
79  vtkSetMacro(Topology,int);
80  vtkGetMacro(Topology,int);
81  vtkBooleanMacro(Topology,int);
83 
85 
88  vtkSetMacro(FieldData,int);
89  vtkGetMacro(FieldData,int);
90  vtkBooleanMacro(FieldData,int);
92 
94 
97  vtkSetMacro(PointData,int);
98  vtkGetMacro(PointData,int);
99  vtkBooleanMacro(PointData,int);
101 
103 
106  vtkSetMacro(CellData,int);
107  vtkGetMacro(CellData,int);
108  vtkBooleanMacro(CellData,int);
110 
111 protected:
113  ~vtkDataSetToDataObjectFilter() VTK_OVERRIDE;
114 
115  int RequestData(vtkInformation *, vtkInformationVector **,
116  vtkInformationVector *) VTK_OVERRIDE; //generate output data
117  int RequestUpdateExtent(vtkInformation *, vtkInformationVector **,
118  vtkInformationVector *) VTK_OVERRIDE;
119 
120  int FillInputPortInformation(int, vtkInformation*) VTK_OVERRIDE;
121 
122  int Geometry;
123  int Topology;
124  int PointData;
125  int CellData;
126  int FieldData;
127 
128 private:
130  void operator=(const vtkDataSetToDataObjectFilter&) VTK_DELETE_FUNCTION;
131 };
132 
133 #endif
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:56
static vtkDataObjectAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:33
map dataset into data object (i.e., a field)
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Superclass for algorithms that produce only data object as output.
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.