<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello Juan Carlos,<div><br></div><div>You can show your tree with a vtkGraphLayoutView, but use SetLayoutStrategyToPassThrough() so it won't try to do any layout on the graph. With that layout strategy it will just use the coordinates that are already stored in the tree/graph.</div><div><br></div><div>Good luck,</div><div>-Eric</div><div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·</div><div>Eric E Monson</div><div>Duke Visualization Technology Group</div><div><br class="webkit-block-placeholder"></div></div></span><br></span></div><div><div>On Sep 9, 2011, at 6:22 AM, Juan Carlos Prieto wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">

  

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  
  <div bgcolor="#ffffff" text="#000000">
    Hello Everyone, <br>
    <br>
    I was wondering if is possible to assign coordinates to the vtkTree.
    I have an algorithm that collects a number of points from an image
    and it stores them in the vtkTree, I'm using a MutableDirectedGraph
    and a vtkDoubleArray to store the coordinates of each point, then
    assigning the Array to the Graph and finally converting them to a
    vtkTree. <br>
    <br>
    It is possible to show this tree using the coordinates? from the
    examples, I can't find one that does this type of operation. <br>
    <br>
    any suggestions will be greatly appreciated. <br>
    <br>
    Have a nice day
    <div class="moz-signature">-- <br>
      Juan Carlos Prieto
      <font face="arial" color="grey" size="2">
        <br>
        Phd Student
        <br>
        <a href="http://www.creatis.insa-lyon.fr/">CREATIS</a>
        Tel:+33472438918
        <br>
        7 Av Jean Capelle
        <br>
        69621 Villeurbanne Cedex
        <br>
        France <br>
        <a href="http://www.creatis.insa-lyon.fr/%7Eprieto">Personal
          page</a>
      </font>
    </div>
  </div>

_______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br></div></body></html>