forked from Kitware/VTK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vtkPassThroughEdgeStrategy.h
56 lines (45 loc) · 1.84 KB
/
vtkPassThroughEdgeStrategy.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*=========================================================================
Program: Visualization Toolkit
Module: vtkPassThroughEdgeStrategy.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
/*----------------------------------------------------------------------------
Copyright (c) Sandia Corporation
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
----------------------------------------------------------------------------*/
/**
* @class vtkPassThroughEdgeStrategy
* @brief passes edge routing information through
*
*
* Simply passes existing edge layout information from the input to the
* output without making changes.
*/
#ifndef vtkPassThroughEdgeStrategy_h
#define vtkPassThroughEdgeStrategy_h
#include "vtkEdgeLayoutStrategy.h"
#include "vtkInfovisLayoutModule.h" // For export macro
class VTKINFOVISLAYOUT_EXPORT vtkPassThroughEdgeStrategy : public vtkEdgeLayoutStrategy
{
public:
static vtkPassThroughEdgeStrategy* New();
vtkTypeMacro(vtkPassThroughEdgeStrategy, vtkEdgeLayoutStrategy);
void PrintSelf(ostream& os, vtkIndent indent) override;
/**
* This is the layout method where the graph that was
* set in SetGraph() is laid out.
*/
void Layout() override;
protected:
vtkPassThroughEdgeStrategy();
~vtkPassThroughEdgeStrategy() override;
private:
vtkPassThroughEdgeStrategy(const vtkPassThroughEdgeStrategy&) = delete;
void operator=(const vtkPassThroughEdgeStrategy&) = delete;
};
#endif