VTK
vtkTreeMapLayout.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTreeMapLayout.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 -------------------------------------------------------------------------*/
45 #ifndef __vtkTreeMapLayout_h
46 #define __vtkTreeMapLayout_h
47 
48 #include "vtkTreeAlgorithm.h"
49 
51 
53 {
54 public:
55  static vtkTreeMapLayout *New();
56 
58  void PrintSelf(ostream& os, vtkIndent indent);
59 
61 
64  vtkGetStringMacro(RectanglesFieldName);
65  vtkSetStringMacro(RectanglesFieldName);
67 
69 
70  virtual void SetSizeArrayName(const char* name)
73 
75 
76  vtkGetObjectMacro(LayoutStrategy, vtkTreeMapLayoutStrategy);
77  void SetLayoutStrategy(vtkTreeMapLayoutStrategy * strategy);
79 
81  vtkIdType FindVertex(float pnt[2], float *binfo=0);
82 
84  void GetBoundingBox(vtkIdType id, float *binfo);
85 
87  virtual unsigned long GetMTime();
88 
89 protected:
92 
95 
97 
98 private:
99 
100  vtkTreeMapLayout(const vtkTreeMapLayout&); // Not implemented.
101  void operator=(const vtkTreeMapLayout&); // Not implemented.
102 };
103 
104 #endif