VTK
9.5.20251125
Infovis
Layout
vtkSpanTreeLayoutStrategy.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3
// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
44
45
#ifndef vtkSpanTreeLayoutStrategy_h
46
#define vtkSpanTreeLayoutStrategy_h
47
48
#include "
vtkGraphLayoutStrategy.h
"
49
#include "vtkInfovisLayoutModule.h"
// For export macro
50
51
VTK_ABI_NAMESPACE_BEGIN
52
class
VTKINFOVISLAYOUT_EXPORT
vtkSpanTreeLayoutStrategy
:
public
vtkGraphLayoutStrategy
53
{
54
public
:
55
static
vtkSpanTreeLayoutStrategy
*
New
();
56
57
vtkTypeMacro(
vtkSpanTreeLayoutStrategy
,
vtkGraphLayoutStrategy
);
58
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
59
61
68
vtkSetMacro(
DepthFirstSpanningTree
,
bool
);
69
vtkGetMacro(
DepthFirstSpanningTree
,
bool
);
70
vtkBooleanMacro(
DepthFirstSpanningTree
,
bool
);
72
76
void
Layout
()
override
;
77
78
protected
:
79
vtkSpanTreeLayoutStrategy
();
80
~vtkSpanTreeLayoutStrategy
()
override
;
81
82
vtkGraphLayoutStrategy
*
TreeLayout
;
83
bool
DepthFirstSpanningTree
;
84
85
private
:
86
vtkSpanTreeLayoutStrategy
(
const
vtkSpanTreeLayoutStrategy
&) =
delete
;
87
void
operator=(
const
vtkSpanTreeLayoutStrategy
&) =
delete
;
88
};
89
90
VTK_ABI_NAMESPACE_END
91
#endif
vtkGraphLayoutStrategy::vtkGraphLayoutStrategy
vtkGraphLayoutStrategy()
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:108
vtkSpanTreeLayoutStrategy::vtkSpanTreeLayoutStrategy
vtkSpanTreeLayoutStrategy()
vtkSpanTreeLayoutStrategy::Layout
void Layout() override
Perform the layout.
vtkSpanTreeLayoutStrategy::DepthFirstSpanningTree
bool DepthFirstSpanningTree
Definition
vtkSpanTreeLayoutStrategy.h:83
vtkSpanTreeLayoutStrategy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSpanTreeLayoutStrategy::TreeLayout
vtkGraphLayoutStrategy * TreeLayout
Definition
vtkSpanTreeLayoutStrategy.h:82
vtkSpanTreeLayoutStrategy::New
static vtkSpanTreeLayoutStrategy * New()
vtkSpanTreeLayoutStrategy::~vtkSpanTreeLayoutStrategy
~vtkSpanTreeLayoutStrategy() override
vtkGraphLayoutStrategy.h
Generated on Tue Nov 25 2025 05:56:46 for VTK by
1.13.2