VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
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 "
vtkGraphLayoutStrategy.h
"
68
69
class
VTK_INFOVIS_EXPORT
vtkSpanTreeLayoutStrategy
:
public
vtkGraphLayoutStrategy
70
{
71
public
:
72
static
vtkSpanTreeLayoutStrategy
*
New
();
73
74
vtkTypeMacro(
vtkSpanTreeLayoutStrategy
,
vtkGraphLayoutStrategy
);
75
void
PrintSelf
(ostream& os,
vtkIndent
indent);
76
78
82
vtkSetMacro(DepthFirstSpanningTree,
bool
);
83
vtkGetMacro(DepthFirstSpanningTree,
bool
);
84
vtkBooleanMacro(DepthFirstSpanningTree,
bool
);
86
88
void
Layout
();
89
90
protected
:
91
vtkSpanTreeLayoutStrategy
();
92
~
vtkSpanTreeLayoutStrategy
();
93
94
vtkGraphLayoutStrategy
*
TreeLayout
;
95
bool
DepthFirstSpanningTree
;
96
97
private
:
98
vtkSpanTreeLayoutStrategy
(
const
vtkSpanTreeLayoutStrategy
&);
// Not implemented.
99
void
operator=(
const
vtkSpanTreeLayoutStrategy
&);
// Not implemented.
100
};
101
102
#endif
103
Generated on Wed May 30 2012 13:22:16 for VTK by
1.8.1