<div dir="ltr">This is how I created in python. It works fine.<br><br>def CreateOrientedAxes():<br>    axesActor = vtk.vtkAxesActor();<br>    axesActor.AxisLabelsOn();<br>    axesActor.SetShaftTypeToCylinder();<br>    axesActor.SetTipTypeToCone();<br>
    axesActor.SetTotalLength([30,30,30])<br>    axes = vtk.vtkOrientationMarkerWidget()<br>    axes.SetOrientationMarker(axesActor)<br>    return axes<br><br>self.axes=CO.CreateOrientedAxes()<br>self.axes.SetInteractor(iren)<br>
self.axes.EnabledOn()<br> self.axes.InteractiveOn()<br> self.ModelRenderer.ResetCamera()<br> self.frameM.show()<br><br>You could try setting the origin of the vtkAxesActor yourself.<br><br>Jothy<br><br><br><br><br><br><br>
<br><br><div class="gmail_quote">On Fri, Sep 9, 2011 at 4:22 PM, Nelson <span dir="ltr">&lt;<a href="mailto:gnjoseph@gmail.com">gnjoseph@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;">
Jothy:<br>
<br>
I already tried the method - InteractiveOn()<br>
Could you tell me how to remove extra space around the axes actor.<br>
I also attached the image after set InteractiveOn() to the actor widget for<br>
your perusal.<br>
<br>
<a href="http://vtk.1045678.n5.nabble.com/file/n4773424/screen-shot.jpg" target="_blank">http://vtk.1045678.n5.nabble.com/file/n4773424/screen-shot.jpg</a> Actually I<br>
want to create axes actor like this.  Is it possible? Any suggestion...<br>
<br>
<a href="http://vtk.1045678.n5.nabble.com/file/n4786722/Untitled.jpg" target="_blank">http://vtk.1045678.n5.nabble.com/file/n4786722/Untitled.jpg</a><br>
<br>
Thanks.<br>
<br>
-----<br>
Regards,<br>
Nelson<br>
<font color="#888888">--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/VTK-with-wxWidgets-tp3330391p4786722.html" target="_blank">http://vtk.1045678.n5.nabble.com/VTK-with-wxWidgets-tp3330391p4786722.html</a><br>
</font><div><div></div><div class="h5">Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">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" target="_blank">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" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>