VTK
9.0.1
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
-------------------------------------------------------------------------*/
38
#ifndef vtkTreeMapLayoutStrategy_h
39
#define vtkTreeMapLayoutStrategy_h
40
41
#include "
vtkAreaLayoutStrategy.h
"
42
#include "vtkInfovisLayoutModule.h"
// For export macro
43
44
class
vtkTree
;
45
class
vtkDataArray
;
46
47
class
VTKINFOVISLAYOUT_EXPORT
vtkTreeMapLayoutStrategy
:
public
vtkAreaLayoutStrategy
48
{
49
public
:
50
vtkTypeMacro(
vtkTreeMapLayoutStrategy
,
vtkAreaLayoutStrategy
);
51
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
52
56
vtkIdType
FindVertex
(
vtkTree
* tree,
vtkDataArray
* areaArray,
float
pnt[2])
override
;
57
58
protected
:
59
vtkTreeMapLayoutStrategy
();
60
~
vtkTreeMapLayoutStrategy
()
override
;
61
void
AddBorder(
float
* boxInfo);
62
63
private
:
64
vtkTreeMapLayoutStrategy
(
const
vtkTreeMapLayoutStrategy
&) =
delete
;
65
void
operator=(
const
vtkTreeMapLayoutStrategy
&) =
delete
;
66
};
67
68
#endif
vtkIdType
int vtkIdType
Definition:
vtkType.h:338
vtkAreaLayoutStrategy::FindVertex
virtual vtkIdType FindVertex(vtkTree *tree, vtkDataArray *array, float pnt[2])=0
Returns the vertex id that contains pnt (or -1 if no one contains it)
vtkDataArray
abstract superclass for arrays of numeric data
Definition:
vtkDataArray.h:49
vtkTree
A rooted tree data structure.
Definition:
vtkTree.h:54
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkTreeMapLayoutStrategy
abstract superclass for all tree map layout strategies
Definition:
vtkTreeMapLayoutStrategy.h:47
vtkAreaLayoutStrategy.h
vtkAreaLayoutStrategy
abstract superclass for all area layout strategies
Definition:
vtkAreaLayoutStrategy.h:47
vtkAreaLayoutStrategy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Generated on Thu Jun 24 2021 15:17:26 for VTK by
1.8.17