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,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:
116  ~vtkDataSetToDataObjectFilter() override;
117 
119  vtkInformationVector *) override; //generate output data
121  vtkInformationVector *) override;
122 
123  int FillInputPortInformation(int, vtkInformation*) override;
124 
125  int Geometry;
126  int Topology;
128  int CellData;
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()
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.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.
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.