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:
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
vtkDirectedAcyclicGraph::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkDirectedAcyclicGraph::~vtkDirectedAcyclicGraph
~vtkDirectedAcyclicGraph()
vtkCommonDataModelModule.h
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkDirectedAcyclicGraph
A rooted tree data structure.
Definition: vtkDirectedAcyclicGraph.h:57
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkDirectedGraph
A directed graph.
Definition: vtkDirectedGraph.h:47
vtkgl::v
const GLdouble * v
Definition: vtkgl.h:11595
vtkDirectedAcyclicGraph::IsStructureValid
virtual bool IsStructureValid(vtkGraph *g)
vtkDirectedAcyclicGraph::New
static vtkDirectedAcyclicGraph * New()
vtkDirectedGraph.h
vtkDirectedAcyclicGraph::vtkDirectedAcyclicGraph
vtkDirectedAcyclicGraph()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkDirectedAcyclicGraph::GetData
static vtkDirectedAcyclicGraph * GetData(vtkInformation *info)
VTK_DIRECTED_ACYCLIC_GRAPH
#define VTK_DIRECTED_ACYCLIC_GRAPH
Definition: vtkType.h:92
vtkDirectedAcyclicGraph::GetData
static vtkDirectedAcyclicGraph * GetData(vtkInformationVector *v, int i=0)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkIdTypeArray
dynamic, self-adjusting array of vtkIdType
Definition: vtkIdTypeArray.h:49
vtkgl::g
GLboolean GLboolean g
Definition: vtkgl.h:12312
vtkDirectedAcyclicGraph::GetDataObjectType
virtual int GetDataObjectType()
Definition: vtkDirectedAcyclicGraph.h:64
VTKCOMMONDATAMODEL_EXPORT
#define VTKCOMMONDATAMODEL_EXPORT
Definition: vtkCommonDataModelModule.h:15
vtkGraph
Base class for graph data types.
Definition: vtkGraph.h:289