VTK
9.2.6
Infovis
Layout
vtkCirclePackLayoutStrategy.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkCirclePackLayoutStrategy.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
-------------------------------------------------------------------------*/
41
42
#ifndef vtkCirclePackLayoutStrategy_h
43
#define vtkCirclePackLayoutStrategy_h
44
45
#include "vtkInfovisLayoutModule.h"
// For export macro
46
#include "
vtkObject.h
"
47
48
class
vtkTree
;
49
class
vtkDataArray
;
50
51
class
VTKINFOVISLAYOUT_EXPORT
vtkCirclePackLayoutStrategy
:
public
vtkObject
52
{
53
public
:
54
vtkTypeMacro(
vtkCirclePackLayoutStrategy
,
vtkObject
);
55
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
56
65
virtual
void
Layout
(
vtkTree
* inputTree,
vtkDataArray
* areaArray,
vtkDataArray
* sizeArray) = 0;
66
67
protected
:
68
vtkCirclePackLayoutStrategy
();
69
~vtkCirclePackLayoutStrategy
()
override
;
70
71
private
:
72
vtkCirclePackLayoutStrategy
(
const
vtkCirclePackLayoutStrategy
&) =
delete
;
73
void
operator=(
const
vtkCirclePackLayoutStrategy
&) =
delete
;
74
};
75
76
#endif
vtkCirclePackLayoutStrategy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkCirclePackLayoutStrategy::~vtkCirclePackLayoutStrategy
~vtkCirclePackLayoutStrategy() override
vtkCirclePackLayoutStrategy::vtkCirclePackLayoutStrategy
vtkCirclePackLayoutStrategy()
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...
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:40
vtkObject::vtkObject
vtkObject()
vtkTree
A rooted tree data structure.
Definition
vtkTree.h:61
vtkDataArray
#define vtkDataArray
Definition
vtkCharArray.h:49
vtkObject.h
Generated on Thu Feb 27 2025 00:00:00 for VTK by
1.13.2