VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Filters/General/vtkPolyDataToReebGraphFilter.h
Go to the documentation of this file.
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 =========================================================================*/
00028 #ifndef vtkPolyDataToReebGraphFilter_h
00029 #define vtkPolyDataToReebGraphFilter_h
00030 
00031 #include "vtkFiltersGeneralModule.h" // For export macro
00032 #include "vtkDirectedGraphAlgorithm.h"
00033 
00034 class vtkReebGraph;
00035 
00036 class VTKFILTERSGENERAL_EXPORT vtkPolyDataToReebGraphFilter :
00037   public vtkDirectedGraphAlgorithm
00038 {
00039 public:
00040   static vtkPolyDataToReebGraphFilter* New();
00041   vtkTypeMacro(vtkPolyDataToReebGraphFilter, vtkDirectedGraphAlgorithm);
00042   void PrintSelf(ostream& os, vtkIndent indent);
00043 
00045 
00046   vtkSetMacro(FieldId, int);
00047   vtkGetMacro(FieldId, int);
00049 
00050   vtkReebGraph* GetOutput();
00051 
00052 protected:
00053   vtkPolyDataToReebGraphFilter();
00054   ~vtkPolyDataToReebGraphFilter();
00055 
00056   int FieldId;
00057 
00058   int FillInputPortInformation(int portNumber, vtkInformation *);
00059   int FillOutputPortInformation(int, vtkInformation *);
00060 
00061   int RequestData(vtkInformation*,
00062                   vtkInformationVector**,
00063                   vtkInformationVector*);
00064 
00065 private:
00066   vtkPolyDataToReebGraphFilter(const vtkPolyDataToReebGraphFilter&);
00067   // Not implemented.
00068   void operator=(const vtkPolyDataToReebGraphFilter&);  // Not implemented.
00069 };
00070 
00071 #endif