VTK
vtkImplicitFunctionToImageStencil.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImplicitFunctionToImageStencil.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 =========================================================================*/
28 #ifndef vtkImplicitFunctionToImageStencil_h
29 #define vtkImplicitFunctionToImageStencil_h
30 
31 
32 #include "vtkImagingStencilModule.h" // For export macro
33 #include "vtkImageStencilSource.h"
34 
36 
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
46  virtual void SetInput(vtkImplicitFunction*);
47  vtkGetObjectMacro(Input, vtkImplicitFunction);
49 
51 
52  vtkSetMacro(Threshold, double);
53  vtkGetMacro(Threshold, double);
55 
57  unsigned long GetMTime();
58 
59 protected:
62 
65 
67  double Threshold;
68 
69 private:
71  void operator=(const vtkImplicitFunctionToImageStencil&); // Not implemented.
72 };
73 
74 #endif
75 
abstract interface for implicit functions
Store vtkAlgorithm input/output information.
static vtkImageStencilSource * New()
#define VTKIMAGINGSTENCIL_EXPORT
virtual unsigned long GetMTime()
a simple class to control print indentation
Definition: vtkIndent.h:38
int Threshold(vtkDataSet *input, vtkUnstructuredGrid *output, vtkDataArray *field, double lower, double upper)
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
generate an image stencil