VTK  9.3.20240424
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
21#include "vtkImagingStencilModule.h" // For export macro
22
23VTK_ABI_NAMESPACE_BEGIN
25
26class VTKIMAGINGSTENCIL_EXPORT vtkImplicitFunctionToImageStencil : public vtkImageStencilSource
27{
28public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
34
38 vtkGetObjectMacro(Input, vtkImplicitFunction);
40
42
45 vtkSetMacro(Threshold, double);
46 vtkGetMacro(Threshold, double);
48
53
54protected:
57
59
61 double Threshold;
62
63private:
65 void operator=(const vtkImplicitFunctionToImageStencil&) = delete;
66};
67
68VTK_ABI_NAMESPACE_END
69#endif
generate an image stencil
vtkMTimeType GetMTime() override
Override GetMTime() to account for the implicit function.
virtual void SetInput(vtkImplicitFunction *)
Specify the implicit function to convert into a stencil.
static vtkImplicitFunctionToImageStencil * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract interface for implicit functions
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:270