|
| virtual void | PrintSelf (ostream &os, vtkIndent indent) |
| |
| virtual int | IsA (const char *type) |
| |
| vtkCosmicTreeLayoutStrategy * | NewInstance () const |
| |
| virtual void | Layout () |
| |
| virtual void | SetSizeLeafNodesOnly (int) |
| |
| virtual int | GetSizeLeafNodesOnly () |
| |
| virtual void | SizeLeafNodesOnlyOn () |
| |
| virtual void | SizeLeafNodesOnlyOff () |
| |
| virtual void | SetLayoutDepth (int) |
| |
| virtual int | GetLayoutDepth () |
| |
| virtual void | SetLayoutRoot (vtkIdType) |
| |
| virtual vtkIdType | GetLayoutRoot () |
| |
| virtual void | SetNodeSizeArrayName (const char *) |
| |
| virtual char * | GetNodeSizeArrayName () |
| |
| vtkGraphLayoutStrategy * | NewInstance () const |
| |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| |
| virtual void | SetGraph (vtkGraph *graph) |
| |
| virtual void | Initialize () |
| |
| virtual int | IsLayoutComplete () |
| |
| virtual void | SetWeightEdges (bool state) |
| |
| virtual bool | GetWeightEdges () |
| |
| virtual void | SetEdgeWeightField (const char *field) |
| |
| virtual char * | GetEdgeWeightField () |
| |
| vtkObject * | NewInstance () const |
| |
| virtual void | DebugOn () |
| |
| virtual void | DebugOff () |
| |
| bool | GetDebug () |
| |
| void | SetDebug (bool debugFlag) |
| |
| virtual void | Modified () |
| |
| virtual unsigned long | GetMTime () |
| |
| unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| |
| unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| |
| vtkCommand * | GetCommand (unsigned long tag) |
| |
| void | RemoveObserver (vtkCommand *) |
| |
| void | RemoveObservers (unsigned long event, vtkCommand *) |
| |
| void | RemoveObservers (const char *event, vtkCommand *) |
| |
| int | HasObserver (unsigned long event, vtkCommand *) |
| |
| int | HasObserver (const char *event, vtkCommand *) |
| |
| void | RemoveObserver (unsigned long tag) |
| |
| void | RemoveObservers (unsigned long event) |
| |
| void | RemoveObservers (const char *event) |
| |
| void | RemoveAllObservers () |
| |
| int | HasObserver (unsigned long event) |
| |
| int | HasObserver (const char *event) |
| |
| template<class U , class T > |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| |
| template<class U , class T > |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| |
| template<class U , class T > |
| unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| |
| int | InvokeEvent (unsigned long event, void *callData) |
| |
| int | InvokeEvent (const char *event, void *callData) |
| |
| int | InvokeEvent (unsigned long event) |
| |
| int | InvokeEvent (const char *event) |
| |
| const char * | GetClassName () const |
| |
| virtual void | Delete () |
| |
| virtual void | FastDelete () |
| |
| void | Print (ostream &os) |
| |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| |
| virtual void | Register (vtkObjectBase *o) |
| |
| virtual void | UnRegister (vtkObjectBase *o) |
| |
| int | GetReferenceCount () |
| |
| void | SetReferenceCount (int) |
| |
| void | PrintRevisions (ostream &) |
| |
|
| virtual vtkObjectBase * | NewInstanceInternal () const |
| |
| | vtkCosmicTreeLayoutStrategy () |
| |
| virtual | ~vtkCosmicTreeLayoutStrategy () |
| |
| void | LayoutChildren (vtkTree *tree, vtkPoints *newPoints, vtkDoubleArray *radii, vtkDoubleArray *scale, vtkIdType root, int depth, RadiusMode mode) |
| |
| void | OffsetChildren (vtkTree *tree, vtkPoints *pts, vtkDoubleArray *radii, vtkDoubleArray *scale, double parent[4], vtkIdType root, int depth, RadiusMode mode) |
| |
| vtkDoubleArray * | CreateRadii (vtkIdType numVertices, double initialValue, vtkDataArray *inputRadii) |
| |
| vtkDoubleArray * | CreateScaleFactors (vtkIdType numVertices) |
| |
| | vtkGraphLayoutStrategy () |
| |
| | ~vtkGraphLayoutStrategy () |
| |
| | vtkObject () |
| |
| virtual | ~vtkObject () |
| |
| virtual void | RegisterInternal (vtkObjectBase *, int check) |
| |
| virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
| |
| void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
| |
| void | InternalReleaseFocus () |
| |
| | vtkObjectBase () |
| |
| virtual | ~vtkObjectBase () |
| |
| virtual void | CollectRevisions (ostream &) |
| |
| virtual void | ReportReferences (vtkGarbageCollector *) |
| |
| | vtkObjectBase (const vtkObjectBase &) |
| |
| void | operator= (const vtkObjectBase &) |
| |
tree layout strategy reminiscent of astronomical systems
This layout strategy takes an input tree and places all the children of a node into a containing circle. The placement is such that each child placed can be represented with a circle tangent to the containing circle and (usually) 2 other children. The interior of the circle is left empty so that graph edges drawn on top of the tree will not obfuscate the tree. However, when one child is much larger than all the others, it may encroach on the center of the containing circle; that's OK, because it's large enough not to be obscured by edges drawn atop it.
- Thanks:
- Thanks to the galaxy and David Thompson hierarchically nested inside it for inspiring this layout strategy.
- Tests:
- vtkCosmicTreeLayoutStrategy (Tests)
Definition at line 43 of file vtkCosmicTreeLayoutStrategy.h.