VTK
vtkThreadedSynchronizedTemplatesCutter3D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkThreadedSynchronizedTemplatesCutter3D.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 =========================================================================*/
27 #ifndef vtkThreadedSynchronizedTemplatesCutter3D_h
28 #define vtkThreadedSynchronizedTemplatesCutter3D_h
29 
30 #include "vtkFiltersSMPModule.h" // For export macro
32 
34 
36 {
37 public:
39 
41  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
42 
46  void ThreadedExecute(vtkImageData *data, vtkInformation *outInfo, int);
47 
49 
52  virtual void SetCutFunction(vtkImplicitFunction*);
53  vtkGetObjectMacro(CutFunction,vtkImplicitFunction);
55 
57 
62  vtkSetClampMacro(OutputPointsPrecision, int, SINGLE_PRECISION, DEFAULT_PRECISION);
63  vtkGetMacro(OutputPointsPrecision, int);
65 
70  vtkMTimeType GetMTime() VTK_OVERRIDE;
71 
72 protected:
74  ~vtkThreadedSynchronizedTemplatesCutter3D() VTK_OVERRIDE;
75 
76  vtkImplicitFunction *CutFunction;
77  int OutputPointsPrecision;
78 
79  int RequestData(vtkInformation *,
81  vtkInformationVector *) VTK_OVERRIDE;
82 
83  int FillOutputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
84 private:
85  vtkThreadedSynchronizedTemplatesCutter3D(const vtkThreadedSynchronizedTemplatesCutter3D&) VTK_DELETE_FUNCTION;
86  void operator=(const vtkThreadedSynchronizedTemplatesCutter3D&) VTK_DELETE_FUNCTION;
87 };
88 
89 #endif
abstract interface for implicit functions
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ThreadedExecute(vtkImageData *data, vtkInformation *inInfo, vtkInformation *outInfo, vtkDataArray *inScalars)
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:300
generate isosurface from structured points
a simple class to control print indentation
Definition: vtkIndent.h:33
topologically and geometrically regular array of data
Definition: vtkImageData.h:39
vtkMTimeType GetMTime() override
Because we delegate to vtkContourValues.
Store zero or more vtkInformation instances.
static vtkThreadedSynchronizedTemplates3D * New()