VTK
dox/Infovis/vtkCirclePackFrontChainLayoutStrategy.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkCirclePackFrontChainLayoutStrategy.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 -------------------------------------------------------------------------*/
00047 #ifndef __vtkCirclePackFrontChainLayoutStrategy_h
00048 #define __vtkCirclePackFrontChainLayoutStrategy_h
00049 
00050 #include "vtkCirclePackLayoutStrategy.h"
00051 
00052 class vtkCirclePackFrontChainLayoutStrategyImplementation;
00053 
00054 class VTK_INFOVIS_EXPORT vtkCirclePackFrontChainLayoutStrategy : public vtkCirclePackLayoutStrategy
00055 {
00056 public:
00057   static vtkCirclePackFrontChainLayoutStrategy *New();
00058 
00059   vtkTypeMacro(vtkCirclePackFrontChainLayoutStrategy,vtkCirclePackLayoutStrategy);
00060   void PrintSelf(ostream& os, vtkIndent indent);
00061 
00063 
00065   virtual void Layout(vtkTree *inputTree, vtkDataArray *areaArray,
00066                       vtkDataArray* sizeArray);
00068 
00070 
00072   vtkGetMacro(Width, int);
00073   vtkSetMacro(Width, int);
00074   vtkGetMacro(Height, int);
00075   vtkSetMacro(Height, int);
00077 
00078 protected:
00079   vtkCirclePackFrontChainLayoutStrategy();
00080   ~vtkCirclePackFrontChainLayoutStrategy();
00081 
00082   char * CirclesFieldName;
00083   int Width;
00084   int Height;
00085 
00086 private:
00087 
00088   vtkCirclePackFrontChainLayoutStrategyImplementation* pimpl; // Private implementation
00089 
00090   vtkCirclePackFrontChainLayoutStrategy(const vtkCirclePackFrontChainLayoutStrategy&);  // Not implemented.
00091   void operator=(const vtkCirclePackFrontChainLayoutStrategy&);  // Not implemented.
00092 };
00093 
00094 #endif