VTK  9.0.1
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 #include "vtkImageStencilSource.h"
30 #include "vtkImagingStencilModule.h" // For export macro
31 
33 
34 class VTKIMAGINGSTENCIL_EXPORT vtkImplicitFunctionToImageStencil : public vtkImageStencilSource
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
45  virtual void SetInput(vtkImplicitFunction*);
46  vtkGetObjectMacro(Input, vtkImplicitFunction);
48 
50 
53  vtkSetMacro(Threshold, double);
54  vtkGetMacro(Threshold, double);
56 
60  vtkMTimeType GetMTime() override;
61 
62 protected:
65 
67 
69  double Threshold;
70 
71 private:
73  void operator=(const vtkImplicitFunctionToImageStencil&) = delete;
74 };
75 
76 #endif
vtkImageStencilSource::New
static vtkImageStencilSource * New()
vtkImplicitFunctionToImageStencil::Threshold
double Threshold
Definition: vtkImplicitFunctionToImageStencil.h:69
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkImplicitFunction
abstract interface for implicit functions
Definition: vtkImplicitFunction.h:60
vtkImplicitFunctionToImageStencil
clip an image with a function
Definition: vtkImplicitFunctionToImageStencil.h:34
vtkObject::GetMTime
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkImageStencilSource.h
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkImageStencilSource
generate an image stencil
Definition: vtkImageStencilSource.h:41
vtkImageStencilSource::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImplicitFunctionToImageStencil::Input
vtkImplicitFunction * Input
Definition: vtkImplicitFunctionToImageStencil.h:68
vtkImageStencilAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:293