VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
vtkTreeMapLayout.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkTreeMapLayout.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
-------------------------------------------------------------------------*/
45
#ifndef __vtkTreeMapLayout_h
46
#define __vtkTreeMapLayout_h
47
48
#include "
vtkTreeAlgorithm.h
"
49
50
class
vtkTreeMapLayoutStrategy
;
51
52
class
VTK_INFOVIS_EXPORT
vtkTreeMapLayout
:
public
vtkTreeAlgorithm
53
{
54
public
:
55
static
vtkTreeMapLayout
*
New
();
56
57
vtkTypeMacro(
vtkTreeMapLayout
,
vtkTreeAlgorithm
);
58
void
PrintSelf
(ostream& os,
vtkIndent
indent);
59
61
64
vtkGetStringMacro(RectanglesFieldName);
65
vtkSetStringMacro(RectanglesFieldName);
67
69
70
virtual
void
SetSizeArrayName(
const
char
*
name
)
71
{ this->
SetInputArrayToProcess
(0, 0, 0,
vtkDataObject::FIELD_ASSOCIATION_VERTICES
, name); }
73
75
76
vtkGetObjectMacro(LayoutStrategy,
vtkTreeMapLayoutStrategy
);
77
void
SetLayoutStrategy(
vtkTreeMapLayoutStrategy
* strategy);
79
81
vtkIdType
FindVertex(
float
pnt[2],
float
*binfo=0);
82
84
void
GetBoundingBox(
vtkIdType
id
,
float
*binfo);
85
87
virtual
unsigned
long
GetMTime
();
88
89
protected
:
90
vtkTreeMapLayout
();
91
~
vtkTreeMapLayout
();
92
93
char
*
RectanglesFieldName
;
94
vtkTreeMapLayoutStrategy
*
LayoutStrategy
;
95
96
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
97
98
private
:
99
100
vtkTreeMapLayout
(
const
vtkTreeMapLayout
&);
// Not implemented.
101
void
operator=(
const
vtkTreeMapLayout
&);
// Not implemented.
102
};
103
104
#endif
Generated on Thu Mar 13 2014 08:10:19 for VTK by
1.8.1.2