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 "vtkDirectedGraph.h"
52 
53 class vtkIdTypeArray;
54 
56 {
57 public:
58  static vtkDirectedAcyclicGraph *New();
60  void PrintSelf(ostream& os, vtkIndent indent);
61 
64 
65  //BTX
67 
70  //ETX
72 
73 protected:
76 
78  virtual bool IsStructureValid(vtkGraph *g);
79 
80 private:
81  vtkDirectedAcyclicGraph(const vtkDirectedAcyclicGraph&); // Not implemented.
82  void operator=(const vtkDirectedAcyclicGraph&); // Not implemented.
83 };
84 
85 #endif
Store vtkAlgorithm input/output information.
#define VTK_FILTERING_EXPORT
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:287
#define VTK_DIRECTED_ACYCLIC_GRAPH
Definition: vtkType.h:92
a simple class to control print indentation
Definition: vtkIndent.h:37
static vtkDirectedGraph * New()
Store zero or more vtkInformation instances.
A rooted tree data structure.
static vtkDirectedGraph * GetData(vtkInformation *info)