VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Common/DataModel/vtkDirectedGraph.h
Go to the documentation of this file.
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 "vtkCommonDataModelModule.h" // For export macro
00044 #include "vtkGraph.h"
00045 
00046 class VTKCOMMONDATAMODEL_EXPORT vtkDirectedGraph : public vtkGraph
00047 {
00048 public:
00049   static vtkDirectedGraph *New();
00050   vtkTypeMacro(vtkDirectedGraph, vtkGraph);
00051   void PrintSelf(ostream& os, vtkIndent indent);
00052 
00054   virtual int GetDataObjectType() {return VTK_DIRECTED_GRAPH;}
00055 
00056   //BTX
00058 
00059   static vtkDirectedGraph *GetData(vtkInformation *info);
00060   static vtkDirectedGraph *GetData(vtkInformationVector *v, int i=0);
00061   //ETX
00063 
00066   virtual bool IsStructureValid(vtkGraph *g);
00067 
00068 protected:
00069   vtkDirectedGraph();
00070   ~vtkDirectedGraph();
00071 
00072 private:
00073   vtkDirectedGraph(const vtkDirectedGraph&);  // Not implemented.
00074   void operator=(const vtkDirectedGraph&);  // Not implemented.
00075 };
00076 
00077 #endif