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
35class vtkDataSet;
36
37class VTKACCELERATORSPISTON_EXPORT vtkPistonToDataSet : public vtkPistonAlgorithm
38{
39public:
42 void PrintSelf(ostream& os, vtkIndent indent);
43
45
51 vtkSetMacro(OutputDataSetType, int);
52 vtkGetMacro(OutputDataSetType, int);
54
60
61protected:
64
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
86private:
87 vtkPistonToDataSet(const vtkPistonToDataSet&) VTK_DELETE_FUNCTION;
88 void operator=(const vtkPistonToDataSet&) VTK_DELETE_FUNCTION;
89};
90
91#endif
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only PistonDataObjects.
converts a PistonDataObject to a DataSet
vtkDataSet * GetDataSetOutput(int port)
A convenience method to reduce code duplication that gets the output as the expected type or NULL.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Method that does the actual calculation.
virtual int FillOutputPortInformation(int, vtkInformation *)
Overridden to say that we produce vtkDataSet.
static vtkPistonToDataSet * New()
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Overriden to create whatever output data set type is selected.
@ port
Definition: vtkX3D.h:447
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.