VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 =========================================================================*/
49 #ifndef __vtkDataSetToDataObjectFilter_h
50 #define __vtkDataSetToDataObjectFilter_h
51 
52 #include "vtkFiltersCoreModule.h" // For export macro
53 #include "vtkDataObjectAlgorithm.h"
54 
55 class vtkDataSet;
56 
57 class VTKFILTERSCORE_EXPORT vtkDataSetToDataObjectFilter : public vtkDataObjectAlgorithm
58 {
59 public:
61  void PrintSelf(ostream& os, vtkIndent indent);
62 
65 
67 
68  vtkSetMacro(Geometry,int);
69  vtkGetMacro(Geometry,int);
70  vtkBooleanMacro(Geometry,int);
72 
74 
75  vtkSetMacro(Topology,int);
76  vtkGetMacro(Topology,int);
77  vtkBooleanMacro(Topology,int);
79 
81 
82  vtkSetMacro(FieldData,int);
83  vtkGetMacro(FieldData,int);
84  vtkBooleanMacro(FieldData,int);
86 
88 
89  vtkSetMacro(PointData,int);
90  vtkGetMacro(PointData,int);
91  vtkBooleanMacro(PointData,int);
93 
95 
96  vtkSetMacro(CellData,int);
97  vtkGetMacro(CellData,int);
98  vtkBooleanMacro(CellData,int);
100 
101 protected:
104 
105  virtual int RequestData(vtkInformation *, vtkInformationVector **,
106  vtkInformationVector *); //generate output data
107  virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **,
108  vtkInformationVector *);
109 
110  virtual int FillInputPortInformation(int, vtkInformation*);
111 
112  int Geometry;
113  int Topology;
115  int CellData;
117 
118 private:
120  void operator=(const vtkDataSetToDataObjectFilter&); // Not implemented.
121 };
122 
123 #endif
static vtkDataObjectAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
map dataset into data object (i.e., a field)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation(int port, vtkInformation *info)
Superclass for algorithms that produce only data object as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)