VTK
vtkPistonThreshold.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPistonThreshold.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 =========================================================================*/
24 #ifndef vtkPistonThreshold_h
25 #define vtkPistonThreshold_h
26 
27 #include "vtkPistonAlgorithm.h"
28 
29 class VTKACCELERATORSPISTON_EXPORT vtkPistonThreshold : public vtkPistonAlgorithm
30 {
31 public:
33  static vtkPistonThreshold *New();
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
37 
38  vtkSetMacro(MinValue, float);
39  vtkGetMacro(MinValue, float);
41 
43 
44  vtkSetMacro(MaxValue, float);
45  vtkGetMacro(MaxValue, float);
46 protected:
50 
52 
53  virtual int RequestData(vtkInformation* request,
54  vtkInformationVector** inputVector,
55  vtkInformationVector* outputVector);
57 
58 
59  float MinValue;
60  float MaxValue;
61 
62 private:
63  vtkPistonThreshold(const vtkPistonThreshold&); // Not implemented.
64  void operator=(const vtkPistonThreshold&); // Not implemented.
65 
66 };
67 
68 #endif
static vtkPistonAlgorithm * New()
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only PistonDataObjects.
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
A filter that contours on the GPU.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)