VTK
9.0.1
Infovis
Layout
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
62
#ifndef vtkSpanTreeLayoutStrategy_h
63
#define vtkSpanTreeLayoutStrategy_h
64
65
#include "
vtkGraphLayoutStrategy.h
"
66
#include "vtkInfovisLayoutModule.h"
// For export macro
67
68
class
VTKINFOVISLAYOUT_EXPORT
vtkSpanTreeLayoutStrategy
:
public
vtkGraphLayoutStrategy
69
{
70
public
:
71
static
vtkSpanTreeLayoutStrategy
*
New
();
72
73
vtkTypeMacro(
vtkSpanTreeLayoutStrategy
,
vtkGraphLayoutStrategy
);
74
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
75
77
84
vtkSetMacro(DepthFirstSpanningTree,
bool
);
85
vtkGetMacro(DepthFirstSpanningTree,
bool
);
86
vtkBooleanMacro(DepthFirstSpanningTree,
bool
);
88
92
void
Layout
()
override
;
93
94
protected
:
95
vtkSpanTreeLayoutStrategy
();
96
~vtkSpanTreeLayoutStrategy
()
override
;
97
98
vtkGraphLayoutStrategy
*
TreeLayout
;
99
bool
DepthFirstSpanningTree
;
100
101
private
:
102
vtkSpanTreeLayoutStrategy
(
const
vtkSpanTreeLayoutStrategy
&) =
delete
;
103
void
operator=(
const
vtkSpanTreeLayoutStrategy
&) =
delete
;
104
};
105
106
#endif
vtkSpanTreeLayoutStrategy
vtkSpanTreeLayout is a strategy for drawing directed graphs that works by first extracting a spanning...
Definition:
vtkSpanTreeLayoutStrategy.h:69
vtkSpanTreeLayoutStrategy::New
static vtkSpanTreeLayoutStrategy * New()
vtkGraphLayoutStrategy
abstract superclass for all graph layout strategies
Definition:
vtkGraphLayoutStrategy.h:46
vtkSpanTreeLayoutStrategy::Layout
void Layout() override
Perform the layout.
vtkSpanTreeLayoutStrategy::~vtkSpanTreeLayoutStrategy
~vtkSpanTreeLayoutStrategy() override
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:34
vtkSpanTreeLayoutStrategy::TreeLayout
vtkGraphLayoutStrategy * TreeLayout
Definition:
vtkSpanTreeLayoutStrategy.h:98
vtkGraphLayoutStrategy.h
vtkSpanTreeLayoutStrategy::vtkSpanTreeLayoutStrategy
vtkSpanTreeLayoutStrategy()
vtkSpanTreeLayoutStrategy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSpanTreeLayoutStrategy::DepthFirstSpanningTree
bool DepthFirstSpanningTree
Definition:
vtkSpanTreeLayoutStrategy.h:99
Generated on Mon Jan 4 2021 21:12:05 for VTK by
1.8.20