VTK
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 -------------------------------------------------------------------------*/
42#ifndef vtkCirclePackLayoutStrategy_h
43#define vtkCirclePackLayoutStrategy_h
44
45
46#include "vtkInfovisLayoutModule.h" // For export macro
47#include "vtkObject.h"
48
49class vtkTree;
50class vtkDataArray;
51
52class VTKINFOVISLAYOUT_EXPORT vtkCirclePackLayoutStrategy : public vtkObject
53{
54public:
56 void PrintSelf(ostream& os, vtkIndent indent);
57
66 virtual void Layout(vtkTree *inputTree, vtkDataArray *areaArray,
67 vtkDataArray* sizeArray) = 0;
68
69protected:
72
73private:
75 void operator=(const vtkCirclePackLayoutStrategy&) VTK_DELETE_FUNCTION;
76};
77
78#endif
abstract superclass for all circle packing layout strategies.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
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...
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:55
a simple class to control print indentation
Definition: vtkIndent.h:40
abstract base class for most VTK objects
Definition: vtkObject.h:60
A rooted tree data structure.
Definition: vtkTree.h:61