VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile$ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00045 #ifndef __vtkReebGraphSurfaceSkeletonFilter_h 00046 #define __vtkReebGraphSurfaceSkeletonFilter_h 00047 00048 #include "vtkFiltersReebGraphModule.h" // For export macro 00049 #include "vtkDataObjectAlgorithm.h" 00050 00051 class vtkReebGraph; 00052 class vtkTable; 00053 00054 class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphSurfaceSkeletonFilter : 00055 public vtkDataObjectAlgorithm 00056 { 00057 public: 00058 static vtkReebGraphSurfaceSkeletonFilter* New(); 00059 vtkTypeMacro(vtkReebGraphSurfaceSkeletonFilter, vtkDataObjectAlgorithm); 00060 void PrintSelf(ostream& os, vtkIndent indent); 00061 00063 00065 vtkSetMacro(NumberOfSamples, int); 00066 vtkGetMacro(NumberOfSamples, int); 00068 00070 00071 vtkSetMacro(NumberOfSmoothingIterations, int); 00072 vtkGetMacro(NumberOfSmoothingIterations, int); 00074 00076 00077 vtkSetMacro(FieldId, vtkIdType); 00078 vtkGetMacro(FieldId, vtkIdType); 00080 00081 vtkTable* GetOutput(); 00082 00083 protected: 00084 vtkReebGraphSurfaceSkeletonFilter(); 00085 ~vtkReebGraphSurfaceSkeletonFilter(); 00086 00087 vtkIdType FieldId; 00088 int NumberOfSamples, NumberOfSmoothingIterations; 00089 00090 int FillInputPortInformation(int portNumber, vtkInformation *); 00091 int FillOutputPortInformation(int portNumber, vtkInformation *info); 00092 00093 int RequestData(vtkInformation *request, 00094 vtkInformationVector **inputVector, vtkInformationVector *outputVector); 00095 00096 private: 00097 vtkReebGraphSurfaceSkeletonFilter(const vtkReebGraphSurfaceSkeletonFilter&); // Not implemented. 00098 void operator=(const vtkReebGraphSurfaceSkeletonFilter&); // Not implemented. 00099 }; 00100 00101 #endif