VTK
vtkDirectedGraph.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDirectedGraph.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
40 #ifndef vtkDirectedGraph_h
41 #define vtkDirectedGraph_h
42 
43 #include "vtkCommonDataModelModule.h" // For export macro
44 #include "vtkGraph.h"
45 
47 {
48 public:
49  static vtkDirectedGraph *New();
50  vtkTypeMacro(vtkDirectedGraph, vtkGraph);
51  void PrintSelf(ostream& os, vtkIndent indent);
52 
54  virtual int GetDataObjectType() {return VTK_DIRECTED_GRAPH;}
55 
56  //BTX
58 
60  static vtkDirectedGraph *GetData(vtkInformationVector *v, int i=0);
61  //ETX
63 
66  virtual bool IsStructureValid(vtkGraph *g);
67 
68 protected:
71 
72 private:
73  vtkDirectedGraph(const vtkDirectedGraph&); // Not implemented.
74  void operator=(const vtkDirectedGraph&); // Not implemented.
75 };
76 
77 #endif
static vtkDataObject * New()
Store vtkAlgorithm input/output information.
#define VTK_DIRECTED_GRAPH
Definition: vtkType.h:89
static vtkGraph * GetData(vtkInformation *info)
A directed graph.
Base class for graph data types.
Definition: vtkGraph.h:288
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
virtual int GetDataObjectType()
virtual bool IsStructureValid(vtkGraph *g)=0
Store zero or more vtkInformation instances.
#define VTKCOMMONDATAMODEL_EXPORT