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 ----------------------------------------------------------------------------*/
22 #ifndef vtkTreeOrbitLayoutStrategy_h
23 #define vtkTreeOrbitLayoutStrategy_h
24 
25 #include "vtkInfovisLayoutModule.h" // For export macro
26 #include "vtkGraphLayoutStrategy.h"
27 
28 class vtkPoints;
29 class vtkTree;
30 
31 
33 {
34 public:
36 
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41  void Layout();
42 
44 
48  vtkSetMacro(LogSpacingValue, double);
49  vtkGetMacro(LogSpacingValue, double);
51 
53 
56  vtkSetClampMacro(LeafSpacing, double, 0.0, 1.0);
57  vtkGetMacro(LeafSpacing, double);
59 
61 
64  vtkSetMacro(ChildRadiusFactor, double);
65  vtkGetMacro(ChildRadiusFactor, double);
67 
68 protected:
71 
72  void OrbitChildren(vtkTree *t, vtkPoints *p, vtkIdType parent, double radius);
73 
75  double LeafSpacing;
77 
78 private:
79 
80  vtkTreeOrbitLayoutStrategy(const vtkTreeOrbitLayoutStrategy&); // Not implemented.
81  void operator=(const vtkTreeOrbitLayoutStrategy&); // Not implemented.
82 };
83 
84 #endif
85 
hierarchical orbital layout
#define VTKINFOVISLAYOUT_EXPORT
int vtkIdType
Definition: vtkType.h:247
abstract superclass for all graph layout strategies
a simple class to control print indentation
Definition: vtkIndent.h:38
static vtkObject * New()
A rooted tree data structure.
Definition: vtkTree.h:59
represent and manipulate 3D points
Definition: vtkPoints.h:38
virtual void Layout()=0
void PrintSelf(ostream &os, vtkIndent indent)