VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
Layout
vtkTreeMapLayoutStrategy.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkTreeMapLayoutStrategy.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
-------------------------------------------------------------------------*/
40
#ifndef __vtkTreeMapLayoutStrategy_h
41
#define __vtkTreeMapLayoutStrategy_h
42
43
44
#include "vtkInfovisLayoutModule.h"
// For export macro
45
#include "
vtkAreaLayoutStrategy.h
"
46
47
class
vtkTree
;
48
class
vtkDataArray
;
49
50
class
VTKINFOVISLAYOUT_EXPORT
vtkTreeMapLayoutStrategy
:
public
vtkAreaLayoutStrategy
51
{
52
public
:
53
vtkTypeMacro(
vtkTreeMapLayoutStrategy
,
vtkAreaLayoutStrategy
);
54
void
PrintSelf
(ostream& os,
vtkIndent
indent);
55
57
58
virtual
vtkIdType
FindVertex
(
59
vtkTree
* tree,
vtkDataArray
* areaArray,
float
pnt[2]);
61
62
protected
:
63
vtkTreeMapLayoutStrategy
();
64
~
vtkTreeMapLayoutStrategy
();
65
void
AddBorder(
float
*boxInfo);
66
private
:
67
vtkTreeMapLayoutStrategy
(
const
vtkTreeMapLayoutStrategy
&);
// Not implemented.
68
void
operator=(
const
vtkTreeMapLayoutStrategy
&);
// Not implemented.
69
};
70
71
#endif
72
Generated on Thu May 24 2012 22:22:26 for VTK by
1.8.1