VTK
|
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 "vtkInfovisCoreModule.h" // For export macro 00046 #include "vtkGraphAlgorithm.h" 00047 00048 class VTKINFOVISCORE_EXPORT vtkCollapseGraph : public vtkGraphAlgorithm 00049 { 00050 public: 00051 static vtkCollapseGraph* New(); 00052 vtkTypeMacro(vtkCollapseGraph,vtkGraphAlgorithm); 00053 void PrintSelf(ostream& os, vtkIndent indent); 00054 00056 void SetGraphConnection(vtkAlgorithmOutput*); 00058 void SetSelectionConnection(vtkAlgorithmOutput*); 00059 00060 protected: 00061 vtkCollapseGraph(); 00062 ~vtkCollapseGraph(); 00063 00064 int FillInputPortInformation(int port, vtkInformation* info); 00065 00066 int RequestData( 00067 vtkInformation*, 00068 vtkInformationVector**, 00069 vtkInformationVector*); 00070 00071 private: 00072 vtkCollapseGraph(const vtkCollapseGraph&); // Not implemented 00073 void operator=(const vtkCollapseGraph&); // Not implemented 00074 }; 00075 00076 #endif 00077