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 =========================================================================*/
33 #ifndef vtkImageSkeleton2D_h
34 #define vtkImageSkeleton2D_h
35 
36 #include "vtkImagingMorphologicalModule.h" // For export macro
37 #include "vtkImageIterateFilter.h"
38 
39 class VTKIMAGINGMORPHOLOGICAL_EXPORT vtkImageSkeleton2D : public vtkImageIterateFilter
40 {
41 public:
42  static vtkImageSkeleton2D *New();
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
47 
50  vtkSetMacro(Prune,int);
51  vtkGetMacro(Prune,int);
52  vtkBooleanMacro(Prune,int);
54 
58  void SetNumberOfIterations(int num);
59 
60 protected:
63 
64  int Prune;
65 
67  vtkInformation* out);
69  vtkInformation* request,
70  vtkInformationVector** inputVector,
71  vtkInformationVector* outputVector,
72  vtkImageData ***inDataV,
73  vtkImageData **outDataV,
74  int outExt[6],
75  int id);
76 private:
77  vtkImageSkeleton2D(const vtkImageSkeleton2D&) VTK_DELETE_FUNCTION;
78  void operator=(const vtkImageSkeleton2D&) VTK_DELETE_FUNCTION;
79 };
80 
81 #endif
82 
83 
84 
vtkThreadedImageAlgorithm::ThreadedRequestData
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
If the subclass does not define an Execute method, then the task will be broken up,...
vtkImageSkeleton2D::Prune
int Prune
Definition: vtkImageSkeleton2D.h:64
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkImageSkeleton2D
Skeleton of 2D images.
Definition: vtkImageSkeleton2D.h:39
vtkImageIterateFilter::SetNumberOfIterations
virtual void SetNumberOfIterations(int num)
vtkImageIterateFilter::IterativeRequestUpdateExtent
virtual int IterativeRequestUpdateExtent(vtkInformation *in, vtkInformation *out)
vtkImageIterateFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkImageIterateFilter
Multiple executes per update.
Definition: vtkImageIterateFilter.h:33
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkImageSkeleton2D::~vtkImageSkeleton2D
~vtkImageSkeleton2D()
Definition: vtkImageSkeleton2D.h:62
vtkImageIterateFilter.h