Imaging/vtkImageSkeleton2D.h Source File

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# Imaging/vtkImageSkeleton2D.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkImageSkeleton2D.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00047 #ifndef __vtkImageSkeleton2D_h
    00048 #define __vtkImageSkeleton2D_h
    00049
    00050 #include "vtkImageIterateFilter.h"
    00051
    00052 class VTK_IMAGING_EXPORT vtkImageSkeleton2D : public vtkImageIterateFilter
    00053 {
    00054 public:
    00055   static vtkImageSkeleton2D *New();
    00056   vtkTypeRevisionMacro(vtkImageSkeleton2D,vtkImageIterateFilter);
    00057   void PrintSelf(ostream& os, vtkIndent indent);
    00058
    00060
    00061   vtkSetMacro(Prune,int);
    00062   vtkGetMacro(Prune,int);
    00063   vtkBooleanMacro(Prune,int);
    00065
    00067   void SetNumberOfIterations(int num);
    00068
    00069   virtual void IterativeExecuteData(vtkImageData *in, vtkImageData *out)
    00070     { this->MultiThread(in,out);};
    00071
    00072 protected:
    00073   vtkImageSkeleton2D();
    00074   ~vtkImageSkeleton2D() {};
    00075
    00076   int Prune;
    00077
    00078   void ComputeInputUpdateExtent(int inExt[6], int outExt[6] );
    00079   void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
    00080                        int outExt[6], int id);
    00081 private:
    00082   vtkImageSkeleton2D(const vtkImageSkeleton2D&);  // Not implemented.
    00083   void operator=(const vtkImageSkeleton2D&);  // Not implemented.
    00084 };
    00085
    00086 #endif
    00087
    00088
    00089