<div dir="ltr">You don&#39;t use vtkAxesActor but vtkAxisActor. There is a small difference in the classes&#39; name :-)<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 8, 2013 at 4:09 PM, Sensei <span dir="ltr">&lt;<a href="mailto:senseiwa@gmail.com" target="_blank">senseiwa@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"><div class="im">On 4/8/13 4:04pm, Arnaud BARRE wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Sensei,<br>
<br>
Did you try the vtkAxesActor<br>
(<a href="http://www.vtk.org/doc/nightly/html/classvtkAxesActor.html" target="_blank">http://www.vtk.org/doc/<u></u>nightly/html/<u></u>classvtkAxesActor.html</a>). It creates<br>
X/Y/Z axes with R/G/B colors.<br>
<br>
Arnaud<br>
<br>
</blockquote>
<br></div>
Thanks, Arnaud, I actually use the class but it shows me just white axes, that&#39;s why I am asking this.<br>
<br>
The code I&#39;m using is simple and probably wrong:<br>
<br>
    // Create axes<br>
    vtkSmartPointer&lt;vtkAxisActor&gt; axisActor = vtkSmartPointer&lt;vtkAxisActor&gt;:<u></u>:New();<br>
<br>
    // Setup renderer (always render axes)<br>
    vtkSmartPointer&lt;vtkRenderer&gt; renderer = vtkSmartPointer&lt;vtkRenderer&gt;::<u></u>New();<br>
    renderWindow-&gt;AddRenderer(<u></u>renderer);<br>
    renderer-&gt;AddActor(axisActor);<br>
    renderer-&gt;ResetCamera();<br>
    renderer-&gt;<u></u>GradientBackgroundOn();<br>
    renderer-&gt;SetBackground(1.0, 1.0, 1.0);<br>
    renderer-&gt;SetBackground(0.2, 0.5, 1.0);<br>
<br>
<br>
What am I doing wrong here?<br>
<br>
<br>
Thanks!<br>
<br>
</blockquote></div><br></div>