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 =========================================================================*/
30 #ifndef vtkPistonToDataSet_h
31 #define vtkPistonToDataSet_h
32 
33 #include "vtkPistonAlgorithm.h"
34 
35 class vtkDataSet;
36 
37 class VTKACCELERATORSPISTON_EXPORT vtkPistonToDataSet : public vtkPistonAlgorithm
38 {
39 public:
40  static vtkPistonToDataSet *New();
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
51  vtkSetMacro(OutputDataSetType, int);
52  vtkGetMacro(OutputDataSetType, int);
54 
59  vtkDataSet *GetDataSetOutput(int port);
60 
61 protected:
64 
68  virtual int FillOutputPortInformation(int, vtkInformation*);
69 
73  virtual int RequestDataObject(vtkInformation* request,
74  vtkInformationVector** inputVector,
75  vtkInformationVector* outputVector);
76 
80  virtual int RequestData(vtkInformation* request,
81  vtkInformationVector** inputVector,
82  vtkInformationVector* outputVector);
83 
85 
86 private:
87  vtkPistonToDataSet(const vtkPistonToDataSet&) VTK_DELETE_FUNCTION;
88  void operator=(const vtkPistonToDataSet&) VTK_DELETE_FUNCTION;
89 };
90 
91 #endif
static vtkPistonAlgorithm * New()
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Produce empty output of the proper type for RequestData to fill in.
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
Superclass for algorithms that produce only PistonDataObjects.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Overridden to say that we take in and produce vtkPistonDataObjects.
converts a PistonDataObject to a DataSet
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Method that does the actual calculation.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.