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 -------------------------------------------------------------------------*/
49 #ifndef vtkDirectedAcyclicGraph_h
50 #define vtkDirectedAcyclicGraph_h
51 
52 #include "vtkCommonDataModelModule.h" // For export macro
53 #include "vtkDirectedGraph.h"
54 
55 class vtkIdTypeArray;
56 
57 class VTKCOMMONDATAMODEL_EXPORT vtkDirectedAcyclicGraph : public vtkDirectedGraph
58 {
59 public:
60  static vtkDirectedAcyclicGraph *New();
62  void PrintSelf(ostream& os, vtkIndent indent) override;
63 
68 
70 
76 
77 protected:
79  ~vtkDirectedAcyclicGraph() override;
80 
85  bool IsStructureValid(vtkGraph *g) override;
86 
87 private:
89  void operator=(const vtkDirectedAcyclicGraph&) = delete;
90 };
91 
92 #endif
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
dynamic, self-adjusting array of vtkIdType
int GetDataObjectType() override
Return what type of dataset this is.
A directed graph.
Base class for graph data types.
Definition: vtkGraph.h:287
#define VTK_DIRECTED_ACYCLIC_GRAPH
Definition: vtkType.h:117
bool IsStructureValid(vtkGraph *g) override
Check the storage, and accept it if it is a valid undirected graph.
a simple class to control print indentation
Definition: vtkIndent.h:39
static vtkDirectedGraph * New()
Store zero or more vtkInformation instances.
A rooted tree data structure.
static vtkDirectedGraph * GetData(vtkInformation *info)
Retrieve a graph from an information vector.