VTK
vtkTreeOrbitLayoutStrategy.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkTreeOrbitLayoutStrategy.h
5
6=========================================================================*/
7/*----------------------------------------------------------------------------
8 Copyright (c) Sandia Corporation
9 See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
10----------------------------------------------------------------------------*/
23#ifndef vtkTreeOrbitLayoutStrategy_h
24#define vtkTreeOrbitLayoutStrategy_h
25
26#include "vtkInfovisLayoutModule.h" // For export macro
28
29class vtkPoints;
30class vtkTree;
31
32
33class VTKINFOVISLAYOUT_EXPORT vtkTreeOrbitLayoutStrategy : public vtkGraphLayoutStrategy
34{
35public:
37
39 void PrintSelf(ostream& os, vtkIndent indent);
40
44 void Layout();
45
47
53 vtkSetMacro(LogSpacingValue, double);
54 vtkGetMacro(LogSpacingValue, double);
56
58
63 vtkSetClampMacro(LeafSpacing, double, 0.0, 1.0);
64 vtkGetMacro(LeafSpacing, double);
66
68
73 vtkSetMacro(ChildRadiusFactor, double);
74 vtkGetMacro(ChildRadiusFactor, double);
76
77protected:
80
81 void OrbitChildren(vtkTree *t, vtkPoints *p, vtkIdType parent, double radius);
82
86
87private:
88
90 void operator=(const vtkTreeOrbitLayoutStrategy&) VTK_DELETE_FUNCTION;
91};
92
93#endif
94
abstract superclass for all graph layout strategies
a simple class to control print indentation
Definition: vtkIndent.h:40
represent and manipulate 3D points
Definition: vtkPoints.h:40
hierarchical orbital layout
void OrbitChildren(vtkTree *t, vtkPoints *p, vtkIdType parent, double radius)
void Layout()
Perform the orbital layout.
static vtkTreeOrbitLayoutStrategy * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
A rooted tree data structure.
Definition: vtkTree.h:61
@ radius
Definition: vtkX3D.h:252
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
int vtkIdType
Definition: vtkType.h:287