<div dir="ltr">You don't use vtkAxesActor but vtkAxisActor. There is a small difference in the classes' 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"><<a href="mailto:senseiwa@gmail.com" target="_blank">senseiwa@gmail.com</a>></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's why I am asking this.<br>
<br>
The code I'm using is simple and probably wrong:<br>
<br>
// Create axes<br>
vtkSmartPointer<vtkAxisActor> axisActor = vtkSmartPointer<vtkAxisActor>:<u></u>:New();<br>
<br>
// Setup renderer (always render axes)<br>
vtkSmartPointer<vtkRenderer> renderer = vtkSmartPointer<vtkRenderer>::<u></u>New();<br>
renderWindow->AddRenderer(<u></u>renderer);<br>
renderer->AddActor(axisActor);<br>
renderer->ResetCamera();<br>
renderer-><u></u>GradientBackgroundOn();<br>
renderer->SetBackground(1.0, 1.0, 1.0);<br>
renderer->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>