VTK
dox
Infovis
Layout
vtkCirclePackFrontChainLayoutStrategy.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkCirclePackFrontChainLayoutStrategy.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
-------------------------------------------------------------------------*/
48
#ifndef vtkCirclePackFrontChainLayoutStrategy_h
49
#define vtkCirclePackFrontChainLayoutStrategy_h
50
51
#include "vtkInfovisLayoutModule.h"
// For export macro
52
#include "
vtkCirclePackLayoutStrategy.h
"
53
54
class
vtkCirclePackFrontChainLayoutStrategyImplementation;
55
56
class
VTKINFOVISLAYOUT_EXPORT
vtkCirclePackFrontChainLayoutStrategy
:
public
vtkCirclePackLayoutStrategy
57
{
58
public
:
59
static
vtkCirclePackFrontChainLayoutStrategy
*
New
();
60
61
vtkTypeMacro(
vtkCirclePackFrontChainLayoutStrategy
,
vtkCirclePackLayoutStrategy
);
62
void
PrintSelf
(ostream& os,
vtkIndent
indent);
63
69
virtual
void
Layout
(
vtkTree
*inputTree,
vtkDataArray
*areaArray,
70
vtkDataArray
* sizeArray);
71
73
77
vtkGetMacro(Width,
int
);
78
vtkSetMacro
(Width,
int
);
79
vtkGetMacro(Height,
int
);
80
vtkSetMacro
(Height,
int
);
82
83
protected
:
84
vtkCirclePackFrontChainLayoutStrategy
();
85
~vtkCirclePackFrontChainLayoutStrategy
();
86
87
char
*
CirclesFieldName
;
88
int
Width
;
89
int
Height
;
90
91
private
:
92
93
vtkCirclePackFrontChainLayoutStrategyImplementation* pimpl;
// Private implementation
94
95
vtkCirclePackFrontChainLayoutStrategy
(
const
vtkCirclePackFrontChainLayoutStrategy
&) VTK_DELETE_FUNCTION;
96
void
operator=(
const
vtkCirclePackFrontChainLayoutStrategy
&) VTK_DELETE_FUNCTION;
97
};
98
99
#endif
vtkCirclePackLayoutStrategy.h
vtkCirclePackFrontChainLayoutStrategy::CirclesFieldName
char * CirclesFieldName
Definition:
vtkCirclePackFrontChainLayoutStrategy.h:87
vtkDataArray
abstract superclass for arrays of numeric data
Definition:
vtkDataArray.h:55
vtkCirclePackFrontChainLayoutStrategy::Layout
virtual void Layout(vtkTree *inputTree, vtkDataArray *areaArray, vtkDataArray *sizeArray)
Perform the layout of the input tree, and store the circle bounds of each vertex as a tuple in a data...
vtkCirclePackLayoutStrategy
abstract superclass for all circle packing layout strategies.
Definition:
vtkCirclePackLayoutStrategy.h:53
vtkTree
A rooted tree data structure.
Definition:
vtkTree.h:61
vtkCirclePackFrontChainLayoutStrategy::Height
int Height
Definition:
vtkCirclePackFrontChainLayoutStrategy.h:89
vtkCirclePackFrontChainLayoutStrategy
layout a vtkTree into packed circles using the front chain algorithm.
Definition:
vtkCirclePackFrontChainLayoutStrategy.h:57
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkCirclePackFrontChainLayoutStrategy::vtkCirclePackFrontChainLayoutStrategy
vtkCirclePackFrontChainLayoutStrategy()
vtkCirclePackFrontChainLayoutStrategy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkCirclePackFrontChainLayoutStrategy::~vtkCirclePackFrontChainLayoutStrategy
~vtkCirclePackFrontChainLayoutStrategy()
vtkCirclePackFrontChainLayoutStrategy::New
static vtkCirclePackFrontChainLayoutStrategy * New()
vtkCirclePackFrontChainLayoutStrategy::Width
int Width
Definition:
vtkCirclePackFrontChainLayoutStrategy.h:88
Generated by
1.8.20