00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkCollapseGraph.h 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 =========================================================================*/ 00015 /*---------------------------------------------------------------------------- 00016 Copyright (c) Sandia Corporation 00017 See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. 00018 ----------------------------------------------------------------------------*/ 00019 00042 #ifndef __vtkCollapseGraph_h 00043 #define __vtkCollapseGraph_h 00044 00045 #include "vtkGraphAlgorithm.h" 00046 00047 class VTK_INFOVIS_EXPORT vtkCollapseGraph : public vtkGraphAlgorithm 00048 { 00049 public: 00050 static vtkCollapseGraph* New(); 00051 vtkTypeMacro(vtkCollapseGraph,vtkGraphAlgorithm); 00052 void PrintSelf(ostream& os, vtkIndent indent); 00053 00055 void SetGraphConnection(vtkAlgorithmOutput*); 00057 void SetSelectionConnection(vtkAlgorithmOutput*); 00058 00059 protected: 00060 vtkCollapseGraph(); 00061 ~vtkCollapseGraph(); 00062 00063 int FillInputPortInformation(int port, vtkInformation* info); 00064 00065 int RequestData( 00066 vtkInformation*, 00067 vtkInformationVector**, 00068 vtkInformationVector*); 00069 00070 private: 00071 vtkCollapseGraph(const vtkCollapseGraph&); // Not implemented 00072 void operator=(const vtkCollapseGraph&); // Not implemented 00073 }; 00074 00075 #endif 00076