VTK  9.2.6
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
29#ifndef vtkImplicitFunctionToImageStencil_h
30#define vtkImplicitFunctionToImageStencil_h
31
33#include "vtkImagingStencilModule.h" // For export macro
34
36
37class VTKIMAGINGSTENCIL_EXPORT vtkImplicitFunctionToImageStencil : public vtkImageStencilSource
38{
39public:
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43
45
49 vtkGetObjectMacro(Input, vtkImplicitFunction);
51
53
56 vtkSetMacro(Threshold, double);
57 vtkGetMacro(Threshold, double);
59
64
65protected:
68
70
72 double Threshold;
73
74private:
76 void operator=(const vtkImplicitFunctionToImageStencil&) = delete;
77};
78
79#endif
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:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:287