VTK
vtkArcParallelEdgeStrategy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkArcParallelEdgeStrategy.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 ----------------------------------------------------------------------------*/
28 #ifndef vtkArcParallelEdgeStrategy_h
29 #define vtkArcParallelEdgeStrategy_h
30 
31 #include "vtkInfovisLayoutModule.h" // For export macro
32 #include "vtkEdgeLayoutStrategy.h"
33 
34 class vtkGraph;
35 
36 class VTKINFOVISLAYOUT_EXPORT vtkArcParallelEdgeStrategy : public vtkEdgeLayoutStrategy
37 {
38 public:
41  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
42 
47  void Layout() VTK_OVERRIDE;
48 
50 
53  vtkGetMacro(NumberOfSubdivisions, int);
54  vtkSetMacro(NumberOfSubdivisions, int);
56 
57 protected:
59  ~vtkArcParallelEdgeStrategy() VTK_OVERRIDE;
60 
61  int NumberOfSubdivisions;
62 
63 private:
64  vtkArcParallelEdgeStrategy(const vtkArcParallelEdgeStrategy&) VTK_DELETE_FUNCTION;
65  void operator=(const vtkArcParallelEdgeStrategy&) VTK_DELETE_FUNCTION;
66 };
67 
68 #endif
69 
virtual void Layout()=0
This is the layout method where the graph that was set in SetGraph() is laid out. ...
Base class for graph data types.
Definition: vtkGraph.h:281
a simple class to control print indentation
Definition: vtkIndent.h:33
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
routes parallel edges as arcs
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
abstract superclass for all edge layout strategies
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...