VTK
vtkAreaLayout.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkAreaLayout.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 -------------------------------------------------------------------------*/
37 #ifndef __vtkAreaLayout_h
38 #define __vtkAreaLayout_h
39 
40 #include "vtkTreeAlgorithm.h"
41 
43 
45 {
46 public:
47  static vtkAreaLayout *New();
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
55  virtual void SetSizeArrayName(const char* name)
58 
60 
64  vtkGetStringMacro(AreaArrayName);
65  vtkSetStringMacro(AreaArrayName);
67 
69 
71  vtkGetMacro(EdgeRoutingPoints, bool);
72  vtkSetMacro(EdgeRoutingPoints, bool);
73  vtkBooleanMacro(EdgeRoutingPoints, bool);
75 
77 
78  vtkGetObjectMacro(LayoutStrategy, vtkAreaLayoutStrategy);
79  void SetLayoutStrategy(vtkAreaLayoutStrategy * strategy);
81 
83  virtual unsigned long GetMTime();
84 
87  vtkIdType FindVertex(float pnt[2]);
88 
90  void GetBoundingArea(vtkIdType id, float *sinfo);
91 
92 protected:
93  vtkAreaLayout();
94  ~vtkAreaLayout();
95 
100 
102 
103 private:
104 
105  vtkAreaLayout(const vtkAreaLayout&); // Not implemented.
106  void operator=(const vtkAreaLayout&); // Not implemented.
107 };
108 
109 #endif