VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkStreamGraph.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 2008 Sandia Corporation. 00017 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, 00018 the U.S. Government retains certain rights in this software. 00019 -------------------------------------------------------------------------*/ 00041 #ifndef __vtkStreamGraph_h 00042 #define __vtkStreamGraph_h 00043 00044 #include "vtkGraphAlgorithm.h" 00045 00046 class vtkBitArray; 00047 class vtkMergeGraphs; 00048 class vtkMutableDirectedGraph; 00049 class vtkMutableGraphHelper; 00050 class vtkStringArray; 00051 class vtkTable; 00052 00053 class VTK_INFOVIS_EXPORT vtkStreamGraph : public vtkGraphAlgorithm 00054 { 00055 public: 00056 static vtkStreamGraph* New(); 00057 vtkTypeMacro(vtkStreamGraph,vtkGraphAlgorithm); 00058 void PrintSelf(ostream& os, vtkIndent indent); 00059 00061 00063 vtkSetMacro(UseEdgeWindow, bool); 00064 vtkGetMacro(UseEdgeWindow, bool); 00065 vtkBooleanMacro(UseEdgeWindow, bool); 00067 00069 00070 vtkSetStringMacro(EdgeWindowArrayName); 00071 vtkGetStringMacro(EdgeWindowArrayName); 00073 00075 00078 vtkSetMacro(EdgeWindow, double); 00079 vtkGetMacro(EdgeWindow, double); 00081 00082 protected: 00083 vtkStreamGraph(); 00084 ~vtkStreamGraph(); 00085 00086 virtual int RequestData( 00087 vtkInformation*, 00088 vtkInformationVector**, 00089 vtkInformationVector*); 00090 00091 vtkMutableGraphHelper* CurrentGraph; 00092 vtkMergeGraphs* MergeGraphs; 00093 bool UseEdgeWindow; 00094 double EdgeWindow; 00095 char* EdgeWindowArrayName; 00096 00097 private: 00098 vtkStreamGraph(const vtkStreamGraph&); // Not implemented 00099 void operator=(const vtkStreamGraph&); // Not implemented 00100 }; 00101 00102 #endif 00103