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 "vtkImagingMorphologicalModule.h" // For export macro
36 #include "vtkImageIterateFilter.h"
37 
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 
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)
Store vtkAlgorithm input/output information.
#define VTKIMAGINGMORPHOLOGICAL_EXPORT
virtual void SetNumberOfIterations(int num)
a simple class to control print indentation
Definition: vtkIndent.h:38
Skeleton of 2D images.
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
Multiple executes per update.
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
virtual int IterativeRequestUpdateExtent(vtkInformation *in, vtkInformation *out)