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
35
37
38class VTKIMAGINGSTENCIL_EXPORT vtkImplicitFunctionToImageStencil : public vtkImageStencilSource
39{
40public:
43 void PrintSelf(ostream& os, vtkIndent indent);
44
46
50 vtkGetObjectMacro(Input, vtkImplicitFunction);
52
54
58 vtkGetMacro(Threshold, double);
60
65
66protected:
69
72
74 double Threshold;
75
76private:
78 void operator=(const vtkImplicitFunctionToImageStencil&) VTK_DELETE_FUNCTION;
79};
80
81#endif
82
generate an image stencil
virtual void SetInput(vtkImplicitFunction *)
Specify the implicit function to convert into a stencil.
vtkMTimeType GetMTime()
Override GetMTime() to account for the implicit function.
static vtkImplicitFunctionToImageStencil * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
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.
int Threshold(vtkDataSet *input, vtkUnstructuredGrid *output, vtkDataArray *field, double lower, double upper)
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTypeUInt64 vtkMTimeType
Definition: vtkType.h:248