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