VTK
dox/Graphics/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 "vtkDirectedGraphAlgorithm.h"
00032 
00033 class vtkReebGraph;
00034 
00035 class VTK_GRAPHICS_EXPORT vtkPolyDataToReebGraphFilter :
00036   public vtkDirectedGraphAlgorithm
00037 {
00038 public:
00039   static vtkPolyDataToReebGraphFilter* New();
00040   vtkTypeMacro(vtkPolyDataToReebGraphFilter, vtkDirectedGraphAlgorithm);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00044 
00045   vtkSetMacro(FieldId, int);
00046   vtkGetMacro(FieldId, int);
00048 
00049   vtkReebGraph* GetOutput();
00050 
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