VTK: Infovis/Layout/vtkPassThroughEdgeStrategy.h Source File

| VTK 9.3.1

vtkPassThroughEdgeStrategy.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
16 #ifndef vtkPassThroughEdgeStrategy_h
17 #define vtkPassThroughEdgeStrategy_h
18
19 #include "vtkEdgeLayoutStrategy.h"
20 #include "vtkInfovisLayoutModule.h" // For export macro
21
22 VTK_ABI_NAMESPACE_BEGIN
23 class VTKINFOVISLAYOUT_EXPORT vtkPassThroughEdgeStrategy : public vtkEdgeLayoutStrategy
24 {
25 public:
26 static vtkPassThroughEdgeStrategy* New();
27 vtkTypeMacro(vtkPassThroughEdgeStrategy, vtkEdgeLayoutStrategy);
28 void PrintSelf(ostream& os, vtkIndent indent) override;
29
34 void Layout() override;
35
36 protected:
37 vtkPassThroughEdgeStrategy();
38 ~vtkPassThroughEdgeStrategy() override;
39
40 private:
41 vtkPassThroughEdgeStrategy(const vtkPassThroughEdgeStrategy&) = delete;
42 void operator=(const vtkPassThroughEdgeStrategy&) = delete;
43 };
44
45 VTK_ABI_NAMESPACE_END
46 #endif
vtkEdgeLayoutStrategy
abstract superclass for all edge layout strategies
Definition: vtkEdgeLayoutStrategy.h:23
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkPassThroughEdgeStrategy
passes edge routing information through
Definition: vtkPassThroughEdgeStrategy.h:24
vtkPassThroughEdgeStrategy::~vtkPassThroughEdgeStrategy
~vtkPassThroughEdgeStrategy() override
vtkPassThroughEdgeStrategy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPassThroughEdgeStrategy::New
static vtkPassThroughEdgeStrategy * New()
vtkPassThroughEdgeStrategy::Layout
void Layout() override
This is the layout method where the graph that was set in SetGraph() is laid out.
vtkPassThroughEdgeStrategy::vtkPassThroughEdgeStrategy
vtkPassThroughEdgeStrategy()
vtkEdgeLayoutStrategy.h