32 #ifndef __vtkCosmicTreeLayoutStrategy_h
33 #define __vtkCosmicTreeLayoutStrategy_h
35 #include "vtkInfovisLayoutModule.h"
47 virtual void PrintSelf( ostream& os, vtkIndent indent );
59 vtkSetMacro(SizeLeafNodesOnly,
int);
60 vtkGetMacro(SizeLeafNodesOnly,
int);
61 vtkBooleanMacro(SizeLeafNodesOnly,
int);
70 vtkSetMacro(LayoutDepth,
int);
71 vtkGetMacro(LayoutDepth,
int);
81 vtkSetMacro(LayoutRoot,vtkIdType);
82 vtkGetMacro(LayoutRoot,vtkIdType);
89 vtkSetStringMacro(NodeSizeArrayName);
90 vtkGetStringMacro(NodeSizeArrayName);
112 vtkTree* tree, vtkPoints* newPoints, vtkDoubleArray* radii, vtkDoubleArray* scale,
113 vtkIdType root,
int depth, RadiusMode mode );
122 vtkTree* tree, vtkPoints* pts, vtkDoubleArray* radii, vtkDoubleArray* scale,
123 double parent[4], vtkIdType root,
int depth, RadiusMode mode );
135 vtkDoubleArray* CreateRadii( vtkIdType numVertices,
double initialValue, vtkDataArray* inputRadii );
141 vtkDoubleArray* CreateScaleFactors( vtkIdType numVertices );
153 #endif // __vtkCosmicTreeLayoutStrategy_h
abstract superclass for all graph layout strategies
tree layout strategy reminiscent of astronomical systems
RadiusMode
How are node sizes specified?
No node sizes specified... unit radius is assumed.
void PrintSelf(ostream &os, vtkIndent indent)
Only leaf node sizes specified... parents are calculated during layout.