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 =========================================================================*/
49 #ifndef __vtkDataSetToDataObjectFilter_h
50 #define __vtkDataSetToDataObjectFilter_h
51 
52 #include "vtkDataObjectAlgorithm.h"
53 
54 class vtkDataSet;
55 
57 {
58 public:
60  void PrintSelf(ostream& os, vtkIndent indent);
61 
64 
66 
67  vtkSetMacro(Geometry,int);
68  vtkGetMacro(Geometry,int);
69  vtkBooleanMacro(Geometry,int);
71 
73 
74  vtkSetMacro(Topology,int);
75  vtkGetMacro(Topology,int);
76  vtkBooleanMacro(Topology,int);
78 
80 
81  vtkSetMacro(FieldData,int);
82  vtkGetMacro(FieldData,int);
83  vtkBooleanMacro(FieldData,int);
85 
87 
88  vtkSetMacro(PointData,int);
89  vtkGetMacro(PointData,int);
90  vtkBooleanMacro(PointData,int);
92 
94 
95  vtkSetMacro(CellData,int);
96  vtkGetMacro(CellData,int);
97  vtkBooleanMacro(CellData,int);
99 
100 protected:
103 
105  vtkInformationVector *); //generate output data
108 
109  virtual int FillInputPortInformation(int, vtkInformation*);
110 
111  int Geometry;
112  int Topology;
114  int CellData;
116 
117 private:
119  void operator=(const vtkDataSetToDataObjectFilter&); // Not implemented.
120 };
121 
122 #endif
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTK_GRAPHICS_EXPORT
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:58
static vtkDataObjectAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37
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.
Store zero or more vtkInformation instances.