VTK
vtkImageSkeleton2D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageSkeleton2D.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 =========================================================================*/
32 #ifndef __vtkImageSkeleton2D_h
33 #define __vtkImageSkeleton2D_h
34 
35 #include "vtkImageIterateFilter.h"
36 
38 {
39 public:
40  static vtkImageSkeleton2D *New();
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
46  vtkSetMacro(Prune,int);
47  vtkGetMacro(Prune,int);
48  vtkBooleanMacro(Prune,int);
50 
52  void SetNumberOfIterations(int num);
53 
54 protected:
57 
58  int Prune;
59 
61  vtkInformation* out);
62  void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
63  int outExt[6], int id);
64 private:
65  vtkImageSkeleton2D(const vtkImageSkeleton2D&); // Not implemented.
66  void operator=(const vtkImageSkeleton2D&); // Not implemented.
67 };
68 
69 #endif
70 
71 
72 
virtual void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int extent[6], int threadId)
void PrintSelf(ostream &os, vtkIndent indent)
Store vtkAlgorithm input/output information.
virtual void SetNumberOfIterations(int num)
a simple class to control print indentation
Definition: vtkIndent.h:37
Skeleton of 2D images.
#define VTK_IMAGING_EXPORT
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
Multiple executes per update.
static vtkAlgorithm * New()
virtual int IterativeRequestUpdateExtent(vtkInformation *in, vtkInformation *out)