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 "vtkObject.h"
31 
32 class vtkGraph;
33 
35 {
36 public:
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41  virtual void SetGraph(vtkGraph *graph);
42 
45  virtual void Initialize() {};
46 
49  virtual void Layout()=0;
50 
52 
53  vtkSetStringMacro(EdgeWeightArrayName);
54  vtkGetStringMacro(EdgeWeightArrayName);
56 
57 protected:
60 
63 
64 private:
65 
66  vtkEdgeLayoutStrategy(const vtkEdgeLayoutStrategy&); // Not implemented.
67  void operator=(const vtkEdgeLayoutStrategy&); // Not implemented.
68 };
69 
70 #endif
71 
abstract base class for most VTK objects
Definition: vtkObject.h:60
Base class for graph data types.
Definition: vtkGraph.h:287
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_INFOVIS_EXPORT
abstract superclass for all edge layout strategies