00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkDirectedGraph.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 -------------------------------------------------------------------------*/ 00040 #ifndef __vtkDirectedGraph_h 00041 #define __vtkDirectedGraph_h 00042 00043 #include "vtkGraph.h" 00044 00045 class VTK_FILTERING_EXPORT vtkDirectedGraph : public vtkGraph 00046 { 00047 public: 00048 static vtkDirectedGraph *New(); 00049 vtkTypeMacro(vtkDirectedGraph, vtkGraph); 00050 void PrintSelf(ostream& os, vtkIndent indent); 00051 00053 virtual int GetDataObjectType() {return VTK_DIRECTED_GRAPH;} 00054 00055 //BTX 00057 00058 static vtkDirectedGraph *GetData(vtkInformation *info); 00059 static vtkDirectedGraph *GetData(vtkInformationVector *v, int i=0); 00060 //ETX 00062 00065 virtual bool IsStructureValid(vtkGraph *g); 00066 00067 protected: 00068 vtkDirectedGraph(); 00069 ~vtkDirectedGraph(); 00070 00071 private: 00072 vtkDirectedGraph(const vtkDirectedGraph&); // Not implemented. 00073 void operator=(const vtkDirectedGraph&); // Not implemented. 00074 }; 00075 00076 #endif