VTK  9.2.6
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----------------------------------------------------------------------------*/
31
32#ifndef vtkEdgeLayout_h
33#define vtkEdgeLayout_h
34
35#include "vtkGraphAlgorithm.h"
36#include "vtkInfovisLayoutModule.h" // For export macro
37
40
41class VTKINFOVISLAYOUT_EXPORT vtkEdgeLayout : public vtkGraphAlgorithm
42{
43public:
44 static vtkEdgeLayout* New();
46 void PrintSelf(ostream& os, vtkIndent indent) override;
47
49
55
60
61protected:
63 ~vtkEdgeLayout() override;
64
66
68
73 unsigned long ObserverTag;
75
77
78private:
79 vtkGraph* InternalGraph;
80
81 vtkEdgeLayout(const vtkEdgeLayout&) = delete;
82 void operator=(const vtkEdgeLayout&) = delete;
83};
84
85#endif
abstract superclass for all edge layout strategies
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
Base class for graph data types.
Definition vtkGraph.h:296
a simple class to control print indentation
Definition vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:287