VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
vtkBoxLayoutStrategy.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkBoxLayoutStrategy.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
-------------------------------------------------------------------------*/
34
#ifndef __vtkBoxLayoutStrategy_h
35
#define __vtkBoxLayoutStrategy_h
36
37
#include "
vtkTreeMapLayoutStrategy.h
"
38
39
class
VTK_INFOVIS_EXPORT
vtkBoxLayoutStrategy
:
public
vtkTreeMapLayoutStrategy
40
{
41
public
:
42
static
vtkBoxLayoutStrategy
*
New
();
43
44
vtkTypeMacro(
vtkBoxLayoutStrategy
,
vtkTreeMapLayoutStrategy
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent);
46
48
50
virtual
void
Layout
(
51
vtkTree
* inputTree,
52
vtkDataArray
* coordsArray,
53
vtkDataArray
* sizeArray);
55
56
protected
:
57
vtkBoxLayoutStrategy
();
58
~
vtkBoxLayoutStrategy
();
59
60
private
:
61
62
void
LayoutChildren(
vtkTree
*inputTree,
vtkDataArray
*coordsArray,
63
vtkIdType
parentId,
64
float
parentMinX,
float
parentMaxX,
65
float
parentMinY,
float
parentMaxY);
66
67
vtkBoxLayoutStrategy
(
const
vtkBoxLayoutStrategy
&);
// Not implemented.
68
void
operator=(
const
vtkBoxLayoutStrategy
&);
// Not implemented.
69
};
70
71
#endif
72
Generated on Wed Nov 21 2012 21:33:57 for VTK by
1.8.2