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 "vtkInfovisCoreModule.h" // For export macro 00045 #include "vtkGraphAlgorithm.h" 00046 00047 class vtkBitArray; 00048 class vtkMergeGraphs; 00049 class vtkMutableDirectedGraph; 00050 class vtkMutableGraphHelper; 00051 class vtkStringArray; 00052 class vtkTable; 00053 00054 class VTKINFOVISCORE_EXPORT vtkStreamGraph : public vtkGraphAlgorithm 00055 { 00056 public: 00057 static vtkStreamGraph* New(); 00058 vtkTypeMacro(vtkStreamGraph,vtkGraphAlgorithm); 00059 void PrintSelf(ostream& os, vtkIndent indent); 00060 00062 00064 vtkSetMacro(UseEdgeWindow, bool); 00065 vtkGetMacro(UseEdgeWindow, bool); 00066 vtkBooleanMacro(UseEdgeWindow, bool); 00068 00070 00071 vtkSetStringMacro(EdgeWindowArrayName); 00072 vtkGetStringMacro(EdgeWindowArrayName); 00074 00076 00079 vtkSetMacro(EdgeWindow, double); 00080 vtkGetMacro(EdgeWindow, double); 00082 00083 protected: 00084 vtkStreamGraph(); 00085 ~vtkStreamGraph(); 00086 00087 virtual int RequestData( 00088 vtkInformation*, 00089 vtkInformationVector**, 00090 vtkInformationVector*); 00091 00092 vtkMutableGraphHelper* CurrentGraph; 00093 vtkMergeGraphs* MergeGraphs; 00094 bool UseEdgeWindow; 00095 double EdgeWindow; 00096 char* EdgeWindowArrayName; 00097 00098 private: 00099 vtkStreamGraph(const vtkStreamGraph&); // Not implemented 00100 void operator=(const vtkStreamGraph&); // Not implemented 00101 }; 00102 00103 #endif 00104