VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 "vtkImagingMorphologicalModule.h" // For export macro
36 #include "vtkImageIterateFilter.h"
37 
38 class VTKIMAGINGMORPHOLOGICAL_EXPORT vtkImageSkeleton2D : public vtkImageIterateFilter
39 {
40 public:
41  static vtkImageSkeleton2D *New();
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
46 
47  vtkSetMacro(Prune,int);
48  vtkGetMacro(Prune,int);
49  vtkBooleanMacro(Prune,int);
51 
53  void SetNumberOfIterations(int num);
54 
55 protected:
58 
59  int Prune;
60 
61  virtual int IterativeRequestUpdateExtent(vtkInformation* in,
62  vtkInformation* out);
64  vtkInformation* request,
65  vtkInformationVector** inputVector,
66  vtkInformationVector* outputVector,
67  vtkImageData ***inDataV,
68  vtkImageData **outDataV,
69  int outExt[6],
70  int id);
71 private:
72  vtkImageSkeleton2D(const vtkImageSkeleton2D&); // Not implemented.
73  void operator=(const vtkImageSkeleton2D&); // Not implemented.
74 };
75 
76 #endif
77 
78 
79 
void PrintSelf(ostream &os, vtkIndent indent)
virtual void SetNumberOfIterations(int num)
Skeleton of 2D images.
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
Multiple executes per update.
static vtkAlgorithm * New()
virtual int IterativeRequestUpdateExtent(vtkInformation *in, vtkInformation *out)