VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Views
Infovis
vtkTreeMapView.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkTreeMapView.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
-------------------------------------------------------------------------*/
35
#ifndef __vtkTreeMapView_h
36
#define __vtkTreeMapView_h
37
38
#include "vtkViewsInfovisModule.h"
// For export macro
39
#include "
vtkTreeAreaView.h
"
40
41
class
vtkBoxLayoutStrategy
;
42
class
vtkSliceAndDiceLayoutStrategy
;
43
class
vtkSquarifyLayoutStrategy
;
44
45
class
VTKVIEWSINFOVIS_EXPORT
vtkTreeMapView
:
public
vtkTreeAreaView
46
{
47
public
:
48
static
vtkTreeMapView
*
New
();
49
vtkTypeMacro(
vtkTreeMapView
,
vtkTreeAreaView
);
50
void
PrintSelf
(ostream& os,
vtkIndent
indent);
51
53
54
virtual
void
SetLayoutStrategy
(
vtkAreaLayoutStrategy
* s);
55
virtual
void
SetLayoutStrategy
(
const
char
*
name
);
56
virtual
void
SetLayoutStrategyToBox();
57
virtual
void
SetLayoutStrategyToSliceAndDice();
58
virtual
void
SetLayoutStrategyToSquarify();
60
62
63
virtual
void
SetFontSizeRange(
64
const
int
maxSize,
const
int
minSize,
const
int
delta=4);
65
virtual
void
GetFontSizeRange(
int
range
[3]);
67
68
protected
:
69
vtkTreeMapView
();
70
~
vtkTreeMapView
();
71
72
//BTX
73
vtkSmartPointer<vtkBoxLayoutStrategy>
BoxLayout
;
74
vtkSmartPointer<vtkSliceAndDiceLayoutStrategy>
SliceAndDiceLayout
;
75
vtkSmartPointer<vtkSquarifyLayoutStrategy>
SquarifyLayout
;
76
//ETX
77
78
private
:
79
vtkTreeMapView
(
const
vtkTreeMapView
&);
// Not implemented.
80
void
operator=(
const
vtkTreeMapView
&);
// Not implemented.
81
};
82
83
#endif
Generated on Thu May 24 2012 22:22:38 for VTK by
1.8.1