If you create a vtkAxesActor and then call this method...<br><br>void <a class="el" href="http://www.vtk.org/doc/nightly/html/classvtkProp3D.html#ac7f621f0a3666a29d21b5087919797a">SetUserTransform</a> (<a class="el" href="http://www.vtk.org/doc/nightly/html/classvtkLinearTransform.html">vtkLinearTransform</a> *transform)<br>
<br>...the axis labels will be oriented correctly but not translated with the axes. I want to make sure this is a bug and not a "feature" that somebody relies on. Here is a fix I could commit:<br><br><br>Index: Hybrid/vtkAxesActor.cxx<br>
===================================================================<br>RCS file: /cvsroot/VTK/VTK/Hybrid/vtkAxesActor.cxx,v<br>retrieving revision 1.5<br>diff -u -3 -r1.5 vtkAxesActor.cxx<br>--- Hybrid/vtkAxesActor.cxx 5 Mar 2007 13:50:12 -0000 1.5<br>
+++ Hybrid/vtkAxesActor.cxx 16 Mar 2009 19:29:41 -0000<br>@@ -748,15 +748,15 @@<br> <br> double newpos[3];<br> double* pos = this->XAxisLabel->GetAttachmentPoint();<br>- transform->TransformVector( pos, newpos );<br>
+ transform->TransformPoint( pos, newpos );<br> this->XAxisLabel->SetAttachmentPoint( newpos );<br> <br> pos = this->YAxisLabel->GetAttachmentPoint();<br>- transform->TransformVector( pos, newpos );<br>
+ transform->TransformPoint( pos, newpos );<br> this->YAxisLabel->SetAttachmentPoint( newpos );<br> <br> pos = this->ZAxisLabel->GetAttachmentPoint();<br>- transform->TransformVector( pos, newpos );<br>
+ transform->TransformPoint( pos, newpos );<br> this->ZAxisLabel->SetAttachmentPoint( newpos );<br> }<br> <br><br><br>Pat<br>