VTK
vtkEdgeLayoutStrategy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkEdgeLayoutStrategy.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 ----------------------------------------------------------------------------*/
27 #ifndef vtkEdgeLayoutStrategy_h
28 #define vtkEdgeLayoutStrategy_h
29 
30 #include "vtkInfovisLayoutModule.h" // For export macro
31 #include "vtkObject.h"
32 
33 class vtkGraph;
34 
36 {
37 public:
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42  virtual void SetGraph(vtkGraph *graph);
43 
46  virtual void Initialize() {}
47 
50  virtual void Layout()=0;
51 
53 
54  vtkSetStringMacro(EdgeWeightArrayName);
55  vtkGetStringMacro(EdgeWeightArrayName);
57 
58 protected:
61 
64 
65 private:
66 
67  vtkEdgeLayoutStrategy(const vtkEdgeLayoutStrategy&); // Not implemented.
68  void operator=(const vtkEdgeLayoutStrategy&); // Not implemented.
69 };
70 
71 #endif
72 
abstract base class for most VTK objects
Definition: vtkObject.h:61
#define VTKINFOVISLAYOUT_EXPORT
Base class for graph data types.
Definition: vtkGraph.h:288
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
abstract superclass for all edge layout strategies