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) override;
60 
65 
67 
70  vtkSetMacro(Geometry,vtkTypeBool);
71  vtkGetMacro(Geometry,vtkTypeBool);
72  vtkBooleanMacro(Geometry,vtkTypeBool);
74 
76 
79  vtkSetMacro(Topology,vtkTypeBool);
80  vtkGetMacro(Topology,vtkTypeBool);
81  vtkBooleanMacro(Topology,vtkTypeBool);
83 
85 
88  vtkSetMacro(FieldData,vtkTypeBool);
89  vtkGetMacro(FieldData,vtkTypeBool);
90  vtkBooleanMacro(FieldData,vtkTypeBool);
92 
94 
97  vtkSetMacro(PointData,vtkTypeBool);
98  vtkGetMacro(PointData,vtkTypeBool);
99  vtkBooleanMacro(PointData,vtkTypeBool);
101 
103 
106  vtkSetMacro(CellData,vtkTypeBool);
107  vtkGetMacro(CellData,vtkTypeBool);
108  vtkBooleanMacro(CellData,vtkTypeBool);
110 
111 protected:
113  ~vtkDataSetToDataObjectFilter() override;
114 
116  vtkInformationVector *) override; //generate output data
118  vtkInformationVector *) override;
119 
120  int FillInputPortInformation(int, vtkInformation*) override;
121 
127 
128 private:
130  void operator=(const vtkDataSetToDataObjectFilter&) = delete;
131 };
132 
133 #endif
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:56
static vtkDataObjectAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:69
a simple class to control print indentation
Definition: vtkIndent.h:33
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.