VTK
dox/Infovis/Layout/vtkCirclePackLayoutStrategy.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003  Program:   Visualization Toolkit
00004  Module:    vtkCirclePackLayoutStrategy.h
00005 
00006  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007  All rights reserved.
00008  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010  This software is distributed WITHOUT ANY WARRANTY; without even
00011  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012  PURPOSE.  See the above copyright notice for more information.
00013 
00014  =========================================================================*/
00015 /*-------------------------------------------------------------------------
00016  Copyright 2008 Sandia Corporation.
00017  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
00018  the U.S. Government retains certain rights in this software.
00019  -------------------------------------------------------------------------*/
00041 #ifndef __vtkCirclePackLayoutStrategy_h
00042 #define __vtkCirclePackLayoutStrategy_h
00043 
00044 
00045 #include "vtkInfovisLayoutModule.h" // For export macro
00046 #include "vtkObject.h"
00047 
00048 class vtkTree;
00049 class vtkDataArray;
00050 
00051 class VTKINFOVISLAYOUT_EXPORT vtkCirclePackLayoutStrategy : public vtkObject
00052 {
00053 public:
00054     vtkTypeMacro(vtkCirclePackLayoutStrategy,vtkObject);
00055     void PrintSelf(ostream& os, vtkIndent indent);
00056 
00058 
00062     virtual void Layout(vtkTree *inputTree, vtkDataArray *areaArray,
00063                         vtkDataArray* sizeArray) = 0;
00065 
00066 protected:
00067     vtkCirclePackLayoutStrategy();
00068     ~vtkCirclePackLayoutStrategy();
00069 
00070 private:
00071     vtkCirclePackLayoutStrategy(const vtkCirclePackLayoutStrategy&);  // Not implemented.
00072     void operator=(const vtkCirclePackLayoutStrategy&);  // Not implemented.
00073 };
00074 
00075 #endif