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 ----------------------------------------------------------------------------*/
32 #ifndef vtkEdgeLayout_h
33 #define vtkEdgeLayout_h
34 
35 #include "vtkInfovisLayoutModule.h" // For export macro
36 #include "vtkGraphAlgorithm.h"
37 
40 
41 class VTKINFOVISLAYOUT_EXPORT vtkEdgeLayout : public vtkGraphAlgorithm
42 {
43 public:
44  static vtkEdgeLayout *New();
46  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
47 
49 
52  void SetLayoutStrategy(vtkEdgeLayoutStrategy *strategy);
53  vtkGetObjectMacro(LayoutStrategy, vtkEdgeLayoutStrategy);
55 
59  vtkMTimeType GetMTime() VTK_OVERRIDE;
60 
61 protected:
62  vtkEdgeLayout();
63  ~vtkEdgeLayout() VTK_OVERRIDE;
64 
65  vtkEdgeLayoutStrategy* LayoutStrategy;
66 
68 
72  vtkEventForwarderCommand *EventForwarder;
73  unsigned long ObserverTag;
75 
76  int RequestData(
79  vtkInformationVector *) VTK_OVERRIDE;
80 
81 private:
82 
83  vtkGraph *InternalGraph;
84 
85  vtkEdgeLayout(const vtkEdgeLayout&) VTK_DELETE_FUNCTION;
86  void operator=(const vtkEdgeLayout&) VTK_DELETE_FUNCTION;
87 };
88 
89 #endif
a simple event forwarder command
static vtkGraphAlgorithm * New()
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:300
Superclass for algorithms that produce only graph as output.
Base class for graph data types.
Definition: vtkGraph.h:287
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual vtkMTimeType GetMTime()
Return this object's modified time.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract superclass for all edge layout strategies
layout graph edges
Definition: vtkEdgeLayout.h:41
Store zero or more vtkInformation instances.