[vtk-developers] The VTK class hierarchy in 3D

Jeff Baumes jeff.baumes at kitware.com
Wed Apr 29 13:08:42 EDT 2009


Thanks to David Duke's new cone layout strategy implementation, the new 3D
dynamic label placer, and the recent representation/view rearchitecting, we
can now visualize trees in 3D with vtkGraphLayoutView which supports
selection/labelling/etc. The image was created by adding the following lines
to Views/Testing/Cxx/TestConeLayoutStrategy.cxx (which was constrained to
2D):

view->SetInteractionModeTo3D(); // Left mouse button causes 3D rotate
instead of zoom
view->SetLabelPlacementModeToLabelPlacer(); // needed since the default
dynamic 2D labeller cannot handle 3D

Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20090429/ab745eb8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ConeLayout.png
Type: image/png
Size: 344769 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20090429/ab745eb8/attachment-0001.png>


More information about the vtk-developers mailing list