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 =========================================================================*/
26 #ifndef vtkImplicitFunctionToImageStencil_h
27 #define vtkImplicitFunctionToImageStencil_h
28 
29 
30 #include "vtkImagingStencilModule.h" // For export macro
31 #include "vtkImageStencilSource.h"
32 
34 
35 class VTKIMAGINGSTENCIL_EXPORT vtkImplicitFunctionToImageStencil : public vtkImageStencilSource
36 {
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
41 
43 
46  virtual void SetInput(vtkImplicitFunction*);
47  vtkGetObjectMacro(Input, vtkImplicitFunction);
49 
51 
54  vtkSetMacro(Threshold, double);
55  vtkGetMacro(Threshold, double);
57 
61  vtkMTimeType GetMTime() VTK_OVERRIDE;
62 
63 protected:
65  ~vtkImplicitFunctionToImageStencil() VTK_OVERRIDE;
66 
67  int RequestData(vtkInformation *, vtkInformationVector **,
68  vtkInformationVector *) VTK_OVERRIDE;
69 
71  double Threshold;
72 
73 private:
75  void operator=(const vtkImplicitFunctionToImageStencil&) VTK_DELETE_FUNCTION;
76 };
77 
78 #endif
79 
abstract interface for implicit functions
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:300
static vtkImageStencilSource * New()
a simple class to control print indentation
Definition: vtkIndent.h:33
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Store zero or more vtkInformation instances.
generate an image stencil