VTK
vtkPistonToDataSet.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPistonToDataSet.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 =========================================================================*/
29 #ifndef vtkPistonToDataSet_h
30 #define vtkPistonToDataSet_h
31 
32 #include "vtkPistonAlgorithm.h"
33 
34 class vtkDataSet;
35 
36 class VTKACCELERATORSPISTON_EXPORT vtkPistonToDataSet : public vtkPistonAlgorithm
37 {
38 public:
39  static vtkPistonToDataSet *New();
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
47  vtkSetMacro(OutputDataSetType, int);
48  vtkGetMacro(OutputDataSetType, int);
50 
53  vtkDataSet *GetDataSetOutput(int port);
54 
55 protected:
58 
60  virtual int FillOutputPortInformation(int, vtkInformation*);
61 
63 
64  virtual int RequestDataObject(vtkInformation* request,
65  vtkInformationVector** inputVector,
66  vtkInformationVector* outputVector);
68 
70 
71  virtual int RequestData(vtkInformation* request,
72  vtkInformationVector** inputVector,
73  vtkInformationVector* outputVector);
75 
77 
78 private:
79  vtkPistonToDataSet(const vtkPistonToDataSet&); // Not implemented.
80  void operator=(const vtkPistonToDataSet&); // Not implemented.
81 };
82 
83 #endif
static vtkPistonAlgorithm * New()
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
Superclass for algorithms that produce only PistonDataObjects.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
converts a PistonDataObject to a DataSet
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)