VTK  9.3.1
vtkImplicitFunctionToImageStencil.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
17 #ifndef vtkImplicitFunctionToImageStencil_h
18 #define vtkImplicitFunctionToImageStencil_h
19 
20 #include "vtkImageStencilSource.h"
21 #include "vtkImagingStencilModule.h" // For export macro
22 
23 VTK_ABI_NAMESPACE_BEGIN
25 
26 class VTKIMAGINGSTENCIL_EXPORT vtkImplicitFunctionToImageStencil : public vtkImageStencilSource
27 {
28 public:
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
34 
37  virtual void SetInput(vtkImplicitFunction*);
38  vtkGetObjectMacro(Input, vtkImplicitFunction);
40 
42 
45  vtkSetMacro(Threshold, double);
46  vtkGetMacro(Threshold, double);
48 
52  vtkMTimeType GetMTime() override;
53 
54 protected:
57 
59 
61  double Threshold;
62 
63 private:
65  void operator=(const vtkImplicitFunctionToImageStencil&) = delete;
66 };
67 
68 VTK_ABI_NAMESPACE_END
69 #endif
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:270
static vtkImageStencilSource * New()
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual vtkMTimeType GetMTime()
Return this object's modified time.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
generate an image stencil