VTK
dox
Infovis
Layout
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
27
#include "
vtkGraphLayoutStrategy.h
"
28
29
class
vtkPoints
;
30
class
vtkTree
;
31
32
33
class
VTKINFOVISLAYOUT_EXPORT
vtkTreeOrbitLayoutStrategy
:
public
vtkGraphLayoutStrategy
34
{
35
public
:
36
static
vtkTreeOrbitLayoutStrategy
*
New
();
37
38
vtkTypeMacro(
vtkTreeOrbitLayoutStrategy
,
vtkGraphLayoutStrategy
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
40
44
void
Layout
()
override
;
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
77
protected
:
78
vtkTreeOrbitLayoutStrategy
();
79
~
vtkTreeOrbitLayoutStrategy
()
override
;
80
81
void
OrbitChildren(
vtkTree
*t,
vtkPoints
*p,
vtkIdType
parent,
double
radius
);
82
83
double
LogSpacingValue
;
84
double
LeafSpacing
;
85
double
ChildRadiusFactor
;
86
87
private
:
88
89
vtkTreeOrbitLayoutStrategy
(
const
vtkTreeOrbitLayoutStrategy
&) =
delete
;
90
void
operator=(
const
vtkTreeOrbitLayoutStrategy
&) =
delete
;
91
};
92
93
#endif
94
vtkPoints
represent and manipulate 3D points
Definition:
vtkPoints.h:39
vtkIdType
int vtkIdType
Definition:
vtkType.h:347
vtkTreeOrbitLayoutStrategy::LogSpacingValue
double LogSpacingValue
Definition:
vtkTreeOrbitLayoutStrategy.h:83
vtkTreeOrbitLayoutStrategy::ChildRadiusFactor
double ChildRadiusFactor
Definition:
vtkTreeOrbitLayoutStrategy.h:85
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkGraphLayoutStrategy
abstract superclass for all graph layout strategies
Definition:
vtkGraphLayoutStrategy.h:45
vtkGraphLayoutStrategy::Layout
virtual void Layout()=0
This is the layout method where the graph that was set in SetGraph() is laid out.
vtkTree
A rooted tree data structure.
Definition:
vtkTree.h:60
vtkTreeOrbitLayoutStrategy::LeafSpacing
double LeafSpacing
Definition:
vtkTreeOrbitLayoutStrategy.h:84
vtkTreeOrbitLayoutStrategy
hierarchical orbital layout
Definition:
vtkTreeOrbitLayoutStrategy.h:33
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkGraphLayoutStrategy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGraphLayoutStrategy.h
vtkX3D::radius
Definition:
vtkX3D.h:252
Generated by
1.8.16