VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
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
64
#ifndef __vtkSpanTreeLayoutStrategy_h
65
#define __vtkSpanTreeLayoutStrategy_h
66
67
#include "vtkInfovisLayoutModule.h"
// For export macro
68
#include "
vtkGraphLayoutStrategy.h
"
69
70
class
VTKINFOVISLAYOUT_EXPORT
vtkSpanTreeLayoutStrategy
:
public
vtkGraphLayoutStrategy
71
{
72
public
:
73
static
vtkSpanTreeLayoutStrategy
*
New
();
74
75
vtkTypeMacro(
vtkSpanTreeLayoutStrategy
,
vtkGraphLayoutStrategy
);
76
void
PrintSelf
(ostream& os,
vtkIndent
indent);
77
79
83
vtkSetMacro(DepthFirstSpanningTree,
bool
);
84
vtkGetMacro(DepthFirstSpanningTree,
bool
);
85
vtkBooleanMacro(DepthFirstSpanningTree,
bool
);
87
89
void
Layout
();
90
91
protected
:
92
vtkSpanTreeLayoutStrategy
();
93
~
vtkSpanTreeLayoutStrategy
();
94
95
vtkGraphLayoutStrategy
*
TreeLayout
;
96
bool
DepthFirstSpanningTree
;
97
98
private
:
99
vtkSpanTreeLayoutStrategy
(
const
vtkSpanTreeLayoutStrategy
&);
// Not implemented.
100
void
operator=(
const
vtkSpanTreeLayoutStrategy
&);
// Not implemented.
101
};
102
103
#endif
104
Generated on Thu May 24 2012 22:22:26 for VTK by
1.8.1