VTK
vtkSpanTreeLayoutStrategy.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkSpanTreeLayoutStrategy.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//-------------------------------------------------------------------------
20
65#ifndef vtkSpanTreeLayoutStrategy_h
66#define vtkSpanTreeLayoutStrategy_h
67
68#include "vtkInfovisLayoutModule.h" // For export macro
70
71class VTKINFOVISLAYOUT_EXPORT vtkSpanTreeLayoutStrategy : public vtkGraphLayoutStrategy
72{
73public:
75
77 void PrintSelf(ostream& os, vtkIndent indent);
78
80
87 vtkSetMacro(DepthFirstSpanningTree, bool);
88 vtkGetMacro(DepthFirstSpanningTree, bool);
89 vtkBooleanMacro(DepthFirstSpanningTree, bool);
91
95 void Layout();
96
97protected:
100
103
104private:
105 vtkSpanTreeLayoutStrategy(const vtkSpanTreeLayoutStrategy&) VTK_DELETE_FUNCTION;
106 void operator=(const vtkSpanTreeLayoutStrategy&) VTK_DELETE_FUNCTION;
107};
108
109#endif
110
abstract superclass for all graph layout strategies
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkSpanTreeLayout is a strategy for drawing directed graphs that works by first extracting a spanning...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkGraphLayoutStrategy * TreeLayout
static vtkSpanTreeLayoutStrategy * New()
void Layout()
Perform the layout.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.