<div class="gmail_quote">On Wed, Mar 3, 2010 at 8:05 AM, Mathieu P <span dir="ltr">&lt;<a href="mailto:mtp.vtk@gmail.com">mtp.vtk@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Well guys,<br><br>self answer :<br><br>When using vtkHybrid and vtkRendering libs, you need to use <font size="2">vtkfreetype.lib and vtkftgl.lib</font><br><br><br>Now it&#39;s working.<br><br><br>For information, here a code snipplet for 3D axes attached to the left bottom corner :<br>

<br><pre><font style="font-family:arial,helvetica,sans-serif" size="2">There is, you can use the vtkAxesActor and  <br>vtkOrientationMarkerWidget. Here&#39;s a snippet; look at the docs to see  <br>the available options.<br>

<br>   vtkAxesActor* axesActor = vtkAxesActor::New();<br>   axesActor-&gt;AxisLabelsOn();<br>   axesActor-&gt;SetShaftTypeToLine();<br>   axesActor-&gt;SetTipTypeToCone();<br>   axesActor-&gt;GetXAxisCaptionActor2D()-&gt;GetCaptionTextProperty()- <br>

 &gt;ShadowOff();<br>   axesActor-&gt;GetYAxisCaptionActor2D()-&gt;GetCaptionTextProperty()- <br> &gt;ShadowOff();<br>   axesActor-&gt;GetZAxisCaptionActor2D()-&gt;GetCaptionTextProperty()- <br> &gt;ShadowOff();<br>   _axes = vtkOrientationMarkerWidget::New();<br>

   _axes-&gt;SetOrientationMarker(axesActor);<br>   _axes-&gt;SetInteractor(GetInteractor());<br>   _axes-&gt;EnabledOn();<br style="font-family:arial,helvetica,sans-serif"></font><font size="2"><font style="font-family:arial,helvetica,sans-serif" size="2">   _axes-&gt;InteractiveOff();</font><br style="font-family:arial,helvetica,sans-serif">

</font><br><font style="font-family:arial,helvetica,sans-serif" size="2"><br><br>from Michel Rice @ <a href="http://marc.info/?l=vtkusers&amp;m=119419720362846&amp;w=2" target="_blank">http://marc.info/?l=vtkusers&amp;m=119419720362846&amp;w=2</a></font><br>

   <br></pre><div class="im"><br>Cordialement,<br><br>Mathieu PICCIN<br>-----------------------<br></div><div class="im"><br></div></blockquote><div><br></div><div>Any time you use a vtk*Widget, you should link to vtkWidgets:</div>
<a href="http://www.vtk.org/Wiki/VTK/Examples/DisplayCoordinateAxes">http://www.vtk.org/Wiki/VTK/Examples/DisplayCoordinateAxes</a></div><div class="gmail_quote"><br clear="all">Thanks,<br><br><div>David</div></div>