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
-------------------------------------------------------------------------*/
45
#ifndef vtkCirclePackFrontChainLayoutStrategy_h
46
#define vtkCirclePackFrontChainLayoutStrategy_h
47
48
#include "vtkInfovisLayoutModule.h"
// For export macro
49
#include "
vtkCirclePackLayoutStrategy.h
"
50
51
class
vtkCirclePackFrontChainLayoutStrategyImplementation;
52
53
class
VTKINFOVISLAYOUT_EXPORT
vtkCirclePackFrontChainLayoutStrategy
:
public
vtkCirclePackLayoutStrategy
54
{
55
public
:
56
static
vtkCirclePackFrontChainLayoutStrategy
*
New
();
57
58
vtkTypeMacro(
vtkCirclePackFrontChainLayoutStrategy
,
vtkCirclePackLayoutStrategy
);
59
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
60
66
void
Layout
(
vtkTree
*inputTree,
vtkDataArray
*areaArray,
67
vtkDataArray
* sizeArray)
override
;
68
70
74
vtkGetMacro(Width,
int
);
75
vtkSetMacro(Width,
int
);
76
vtkGetMacro(Height,
int
);
77
vtkSetMacro(Height,
int
);
79
80
protected
:
81
vtkCirclePackFrontChainLayoutStrategy
();
82
~
vtkCirclePackFrontChainLayoutStrategy
()
override
;
83
84
char
*
CirclesFieldName
;
85
int
Width
;
86
int
Height
;
87
88
private
:
89
90
vtkCirclePackFrontChainLayoutStrategyImplementation* pimpl;
// Private implementation
91
92
vtkCirclePackFrontChainLayoutStrategy
(
const
vtkCirclePackFrontChainLayoutStrategy
&) =
delete
;
93
void
operator=(
const
vtkCirclePackFrontChainLayoutStrategy
&) =
delete
;
94
};
95
96
#endif
vtkCirclePackLayoutStrategy.h
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkCirclePackFrontChainLayoutStrategy::CirclesFieldName
char * CirclesFieldName
Definition:
vtkCirclePackFrontChainLayoutStrategy.h:84
vtkDataArray
abstract superclass for arrays of numeric data
Definition:
vtkDataArray.h:48
vtkCirclePackLayoutStrategy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkCirclePackLayoutStrategy
abstract superclass for all circle packing layout strategies.
Definition:
vtkCirclePackLayoutStrategy.h:49
vtkTree
A rooted tree data structure.
Definition:
vtkTree.h:54
vtkCirclePackFrontChainLayoutStrategy::Height
int Height
Definition:
vtkCirclePackFrontChainLayoutStrategy.h:86
vtkCirclePackFrontChainLayoutStrategy
layout a vtkTree into packed circles using the front chain algorithm.
Definition:
vtkCirclePackFrontChainLayoutStrategy.h:53
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkCirclePackLayoutStrategy::Layout
virtual void Layout(vtkTree *inputTree, vtkDataArray *areaArray, vtkDataArray *sizeArray)=0
Perform the layout of the input tree, and store the circle bounds of each vertex as a tuple in a data...
vtkCirclePackFrontChainLayoutStrategy::Width
int Width
Definition:
vtkCirclePackFrontChainLayoutStrategy.h:85
Generated by
1.8.16