[vtkusers] VTK with wxWidgets

rakesh patil prakeshofficial at gmail.com
Sat Sep 10 06:40:25 EDT 2011


Hi Nelson,

I am also using wxRenderWindowInteractor, and for me also the statusbar is
being covered by the interactor. Once minimized and maximized, it acts
correclty. Did you solve that problem?

Thanks

Regards
Rakesh Patil

On Fri, Sep 9, 2011 at 9:16 PM, Jothy <jothybasu at gmail.com> wrote:

> This is how I created in python. It works fine.
>
> def CreateOrientedAxes():
>     axesActor = vtk.vtkAxesActor();
>     axesActor.AxisLabelsOn();
>     axesActor.SetShaftTypeToCylinder();
>     axesActor.SetTipTypeToCone();
>     axesActor.SetTotalLength([30,30,30])
>     axes = vtk.vtkOrientationMarkerWidget()
>     axes.SetOrientationMarker(axesActor)
>     return axes
>
> self.axes=CO.CreateOrientedAxes()
> self.axes.SetInteractor(iren)
> self.axes.EnabledOn()
>  self.axes.InteractiveOn()
>  self.ModelRenderer.ResetCamera()
>  self.frameM.show()
>
> You could try setting the origin of the vtkAxesActor yourself.
>
> Jothy
>
>
>
>
>
>
>
>
>
> On Fri, Sep 9, 2011 at 4:22 PM, Nelson <gnjoseph at gmail.com> wrote:
>
>> Jothy:
>>
>> I already tried the method - InteractiveOn()
>> Could you tell me how to remove extra space around the axes actor.
>> I also attached the image after set InteractiveOn() to the actor widget
>> for
>> your perusal.
>>
>> http://vtk.1045678.n5.nabble.com/file/n4773424/screen-shot.jpg Actually I
>> want to create axes actor like this.  Is it possible? Any suggestion...
>>
>> http://vtk.1045678.n5.nabble.com/file/n4786722/Untitled.jpg
>>
>> Thanks.
>>
>> -----
>> Regards,
>> Nelson
>> --
>> View this message in context:
>> http://vtk.1045678.n5.nabble.com/VTK-with-wxWidgets-tp3330391p4786722.html
>> Sent from the VTK - Users mailing list archive at Nabble.com.
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110910/d0980449/attachment.htm>


More information about the vtkusers mailing list