VTK
vtkDirectedAcyclicGraph.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDirectedAcyclicGraph.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 -------------------------------------------------------------------------*/
48 #ifndef vtkDirectedAcyclicGraph_h
49 #define vtkDirectedAcyclicGraph_h
50 
51 #include "vtkCommonDataModelModule.h" // For export macro
52 #include "vtkDirectedGraph.h"
53 
54 class vtkIdTypeArray;
55 
57 {
58 public:
59  static vtkDirectedAcyclicGraph *New();
61  void PrintSelf(ostream& os, vtkIndent indent);
62 
65 
66  //BTX
68 
71  //ETX
73 
74 protected:
77 
79  virtual bool IsStructureValid(vtkGraph *g);
80 
81 private:
82  vtkDirectedAcyclicGraph(const vtkDirectedAcyclicGraph&); // Not implemented.
83  void operator=(const vtkDirectedAcyclicGraph&); // Not implemented.
84 };
85 
86 #endif
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent)
virtual bool IsStructureValid(vtkGraph *g)
dynamic, self-adjusting array of vtkIdType
A directed graph.
Base class for graph data types.
Definition: vtkGraph.h:288
#define VTK_DIRECTED_ACYCLIC_GRAPH
Definition: vtkType.h:92
a simple class to control print indentation
Definition: vtkIndent.h:38
static vtkDirectedGraph * New()
Store zero or more vtkInformation instances.
A rooted tree data structure.
static vtkDirectedGraph * GetData(vtkInformation *info)
#define VTKCOMMONDATAMODEL_EXPORT