VTK
dox/Filters/ReebGraph/vtkReebGraphToJoinSplitTreeFilter.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 =========================================================================*/
00034 #ifndef __vtkReebGraphToJoinSplitTreeFilter_h
00035 #define __vtkReebGraphToJoinSplitTreeFilter_h
00036 
00037 #include "vtkFiltersReebGraphModule.h" // For export macro
00038 #include  "vtkDirectedGraphAlgorithm.h"
00039 
00040 class vtkReebGraph;
00041 
00042 class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphToJoinSplitTreeFilter :
00043   public vtkDirectedGraphAlgorithm
00044 {
00045 public:
00046   static vtkReebGraphToJoinSplitTreeFilter* New();
00047   vtkTypeMacro(vtkReebGraphToJoinSplitTreeFilter,
00048     vtkDirectedGraphAlgorithm);
00049   void PrintSelf(ostream& os, vtkIndent indent);
00050 
00052 
00054   vtkSetMacro(IsSplitTree, bool);
00055   vtkGetMacro(IsSplitTree, bool);
00057 
00059 
00060   vtkSetMacro(FieldId, vtkIdType);
00061   vtkGetMacro(FieldId, vtkIdType);
00063 
00064   vtkReebGraph* GetOutput();
00065 
00066 protected:
00067   vtkReebGraphToJoinSplitTreeFilter();
00068   ~vtkReebGraphToJoinSplitTreeFilter();
00069 
00070   bool IsSplitTree;
00071 
00072   vtkIdType FieldId;
00073 
00074   int FillInputPortInformation(int portNumber, vtkInformation *);
00075   int FillOutputPortInformation(int, vtkInformation *);
00076 
00077   int RequestData(vtkInformation *request,
00078     vtkInformationVector **inputVector, vtkInformationVector *outputVector);
00079 
00080 private:
00081   vtkReebGraphToJoinSplitTreeFilter(const vtkReebGraphToJoinSplitTreeFilter&); // Not implemented.
00082   void operator=(const vtkReebGraphToJoinSplitTreeFilter&); // Not implemented.
00083 };
00084 
00085 #endif