VTK
|
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 "vtkInfovisLayoutModule.h" // For export macro 00051 #include "vtkCirclePackLayoutStrategy.h" 00052 00053 class vtkCirclePackFrontChainLayoutStrategyImplementation; 00054 00055 class VTKINFOVISLAYOUT_EXPORT vtkCirclePackFrontChainLayoutStrategy : public vtkCirclePackLayoutStrategy 00056 { 00057 public: 00058 static vtkCirclePackFrontChainLayoutStrategy *New(); 00059 00060 vtkTypeMacro(vtkCirclePackFrontChainLayoutStrategy,vtkCirclePackLayoutStrategy); 00061 void PrintSelf(ostream& os, vtkIndent indent); 00062 00064 00066 virtual void Layout(vtkTree *inputTree, vtkDataArray *areaArray, 00067 vtkDataArray* sizeArray); 00069 00071 00073 vtkGetMacro(Width, int); 00074 vtkSetMacro(Width, int); 00075 vtkGetMacro(Height, int); 00076 vtkSetMacro(Height, int); 00078 00079 protected: 00080 vtkCirclePackFrontChainLayoutStrategy(); 00081 ~vtkCirclePackFrontChainLayoutStrategy(); 00082 00083 char * CirclesFieldName; 00084 int Width; 00085 int Height; 00086 00087 private: 00088 00089 vtkCirclePackFrontChainLayoutStrategyImplementation* pimpl; // Private implementation 00090 00091 vtkCirclePackFrontChainLayoutStrategy(const vtkCirclePackFrontChainLayoutStrategy&); // Not implemented. 00092 void operator=(const vtkCirclePackFrontChainLayoutStrategy&); // Not implemented. 00093 }; 00094 00095 #endif