VTK  9.4.20241123
vtkEdgeLayout.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3// SPDX-License-Identifier: BSD-3-Clause
17#ifndef vtkEdgeLayout_h
18#define vtkEdgeLayout_h
19
20#include "vtkGraphAlgorithm.h"
21#include "vtkInfovisLayoutModule.h" // For export macro
22
23VTK_ABI_NAMESPACE_BEGIN
26
27class VTKINFOVISLAYOUT_EXPORT vtkEdgeLayout : public vtkGraphAlgorithm
28{
29public:
30 static vtkEdgeLayout* New();
32 void PrintSelf(ostream& os, vtkIndent indent) override;
33
35
39 vtkGetObjectMacro(LayoutStrategy, vtkEdgeLayoutStrategy);
41
46
47protected:
49 ~vtkEdgeLayout() override;
50
52
54
59 unsigned long ObserverTag;
61
63
64private:
65 vtkGraph* InternalGraph;
66
67 vtkEdgeLayout(const vtkEdgeLayout&) = delete;
68 void operator=(const vtkEdgeLayout&) = delete;
69};
70
71VTK_ABI_NAMESPACE_END
72#endif
abstract superclass for all edge layout strategies
layout graph edges
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkEdgeLayoutStrategy * LayoutStrategy
vtkMTimeType GetMTime() override
Get the modification time of the layout algorithm.
vtkEventForwarderCommand * EventForwarder
This intercepts events from the strategy object and re-emits them as if they came from the layout eng...
unsigned long ObserverTag
This intercepts events from the strategy object and re-emits them as if they came from the layout eng...
static vtkEdgeLayout * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetLayoutStrategy(vtkEdgeLayoutStrategy *strategy)
The layout strategy to use during graph layout.
~vtkEdgeLayout() override
a simple event forwarder command
Superclass for algorithms that produce only graph as output.
Base class for graph data types.
Definition vtkGraph.h:340
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:270