VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 #ifndef __vtkCirclePackLayoutStrategy_h
42 #define __vtkCirclePackLayoutStrategy_h
43 
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);
56 
58 
62  virtual void Layout(vtkTree *inputTree, vtkDataArray *areaArray,
63  vtkDataArray* sizeArray) = 0;
65 
66 protected:
69 
70 private:
71  vtkCirclePackLayoutStrategy(const vtkCirclePackLayoutStrategy&); // Not implemented.
72  void operator=(const vtkCirclePackLayoutStrategy&); // Not implemented.
73 };
74 
75 #endif
abstract superclass for all circle packing layout strategies.