VTK
vtkEdgeLayout.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkEdgeLayout.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 (c) Sandia Corporation
17  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
18 ----------------------------------------------------------------------------*/
31 #ifndef __vtkEdgeLayout_h
32 #define __vtkEdgeLayout_h
33 
34 #include "vtkGraphAlgorithm.h"
35 
38 
40 {
41 public:
42  static vtkEdgeLayout *New();
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
47 
48  void SetLayoutStrategy(vtkEdgeLayoutStrategy *strategy);
49  vtkGetObjectMacro(LayoutStrategy, vtkEdgeLayoutStrategy);
51 
53  virtual unsigned long GetMTime();
54 
55 protected:
56  vtkEdgeLayout();
57  ~vtkEdgeLayout();
58 
60 
62 
65  unsigned long ObserverTag;
67 
68  int RequestData(
69  vtkInformation *,
72 
73 private:
74 
75  vtkGraph *InternalGraph;
76 
77  vtkEdgeLayout(const vtkEdgeLayout&); // Not implemented.
78  void operator=(const vtkEdgeLayout&); // Not implemented.
79 };
80 
81 #endif