VTK
dox
Infovis
Layout
vtkSliceAndDiceLayoutStrategy.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkSliceAndDiceLayoutStrategy.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
-------------------------------------------------------------------------*/
37
#ifndef vtkSliceAndDiceLayoutStrategy_h
38
#define vtkSliceAndDiceLayoutStrategy_h
39
40
#include "vtkInfovisLayoutModule.h"
// For export macro
41
#include "
vtkTreeMapLayoutStrategy.h
"
42
43
class
VTKINFOVISLAYOUT_EXPORT
vtkSliceAndDiceLayoutStrategy
:
public
vtkTreeMapLayoutStrategy
44
{
45
public
:
46
static
vtkSliceAndDiceLayoutStrategy
*
New
();
47
48
vtkTypeMacro(
vtkSliceAndDiceLayoutStrategy
,
vtkTreeMapLayoutStrategy
);
49
void
PrintSelf
(ostream& os,
vtkIndent
indent);
50
55
void
Layout
(
56
vtkTree
* inputTree,
57
vtkDataArray
* coordsArray,
58
vtkDataArray
* sizeArray);
59
60
protected
:
61
vtkSliceAndDiceLayoutStrategy
();
62
~vtkSliceAndDiceLayoutStrategy
();
63
64
private
:
65
vtkSliceAndDiceLayoutStrategy
(
const
vtkSliceAndDiceLayoutStrategy
&) VTK_DELETE_FUNCTION;
66
void
operator=(
const
vtkSliceAndDiceLayoutStrategy
&) VTK_DELETE_FUNCTION;
67
};
68
69
#endif
70
vtkSliceAndDiceLayoutStrategy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkSliceAndDiceLayoutStrategy
a horizontal and vertical slicing tree map layout
Definition:
vtkSliceAndDiceLayoutStrategy.h:44
vtkSliceAndDiceLayoutStrategy::Layout
void Layout(vtkTree *inputTree, vtkDataArray *coordsArray, vtkDataArray *sizeArray)
Perform the layout of a tree and place the results as 4-tuples in coordsArray (Xmin,...
vtkDataArray
abstract superclass for arrays of numeric data
Definition:
vtkDataArray.h:55
vtkTree
A rooted tree data structure.
Definition:
vtkTree.h:61
vtkSliceAndDiceLayoutStrategy::New
static vtkSliceAndDiceLayoutStrategy * New()
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkTreeMapLayoutStrategy.h
vtkSliceAndDiceLayoutStrategy::vtkSliceAndDiceLayoutStrategy
vtkSliceAndDiceLayoutStrategy()
vtkTreeMapLayoutStrategy
abstract superclass for all tree map layout strategies
Definition:
vtkTreeMapLayoutStrategy.h:52
vtkSliceAndDiceLayoutStrategy::~vtkSliceAndDiceLayoutStrategy
~vtkSliceAndDiceLayoutStrategy()
Generated by
1.8.20