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 =========================================================================*/
29 #ifndef vtkImplicitFunctionToImageStencil_h
30 #define vtkImplicitFunctionToImageStencil_h
31 
32 
33 #include "vtkImagingStencilModule.h" // For export macro
34 #include "vtkImageStencilSource.h"
35 
37 
38 class VTKIMAGINGSTENCIL_EXPORT vtkImplicitFunctionToImageStencil : public vtkImageStencilSource
39 {
40 public:
43  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
46 
49  virtual void SetInput(vtkImplicitFunction*);
50  vtkGetObjectMacro(Input, vtkImplicitFunction);
52 
54 
57  vtkSetMacro(Threshold, double);
58  vtkGetMacro(Threshold, double);
60 
64  vtkMTimeType GetMTime() override;
65 
66 protected:
69 
71  vtkInformationVector *) override;
72 
74  double Threshold;
75 
76 private:
78  void operator=(const vtkImplicitFunctionToImageStencil&) = delete;
79 };
80 
81 #endif
82 
vtkImageStencilSource::New
static vtkImageStencilSource * New()
vtkImplicitFunctionToImageStencil::Threshold
double Threshold
Definition: vtkImplicitFunctionToImageStencil.h:74
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkImplicitFunction
abstract interface for implicit functions
Definition: vtkImplicitFunction.h:60
vtkImplicitFunctionToImageStencil
clip an image with a function
Definition: vtkImplicitFunctionToImageStencil.h:38
vtkObject::GetMTime
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkImageStencilSource.h
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkImageStencilSource
generate an image stencil
Definition: vtkImageStencilSource.h:42
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:73
vtkImageStencilAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:302