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 
vtkEdgeLayoutStrategy::Layout
virtual void Layout()=0
vtkEdgeLayoutStrategy::Graph
vtkGraph * Graph
Definition: vtkEdgeLayoutStrategy.h:62
vtkEdgeLayoutStrategy::Initialize
virtual void Initialize()
Definition: vtkEdgeLayoutStrategy.h:46
vtkEdgeLayoutStrategy::SetGraph
virtual void SetGraph(vtkGraph *graph)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkEdgeLayoutStrategy::EdgeWeightArrayName
char * EdgeWeightArrayName
Definition: vtkEdgeLayoutStrategy.h:63
vtkEdgeLayoutStrategy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkEdgeLayoutStrategy::vtkEdgeLayoutStrategy
vtkEdgeLayoutStrategy()
vtkSetStringMacro
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:104
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
VTKINFOVISLAYOUT_EXPORT
#define VTKINFOVISLAYOUT_EXPORT
Definition: vtkInfovisLayoutModule.h:15
vtkObject.h
vtkInfovisLayoutModule.h
vtkEdgeLayoutStrategy::~vtkEdgeLayoutStrategy
~vtkEdgeLayoutStrategy()
vtkEdgeLayoutStrategy
abstract superclass for all edge layout strategies
Definition: vtkEdgeLayoutStrategy.h:36
vtkGraph
Base class for graph data types.
Definition: vtkGraph.h:289