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