[vtkusers] vtkPropAssembly with vtkInteractorStyleTrackballActor behaviour

Bill Lorensen bill.lorensen at gmail.com
Sun Feb 21 15:28:11 EST 2010


There is a bug (or feature) in vtkAxesActor.

GetActors returns a PropCollection, NOT a Prop3DCollection. The style
requires that the picked prop a a Prop3D, not a Prop.

It gets worse. The AxesActor is actually composed of Actors and
Actor2D's (the text is 2D). So even if we fixed AxesActor, the labels
won't rotate. I suspect that is why GetActors returns a
PropCollection.

Also, we can't fix AvesActor without breaking backward compatibility
unless we add a new method, something like GetProp3Ds().

Bill

On Sun, Feb 21, 2010 at 11:30 AM, David Doria <daviddoria+vtk at gmail.com> wrote:
> On Sun, Feb 21, 2010 at 11:01 AM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
>>
>> Can you provide a small example that illustrates the problem?
>
> Sure:
> http://www.vtk.org/Wiki/VTK/Examples/MovableAxes
> You'll notice that you can interact with the cone, but not the axes.
> Thanks,
>
> David
> _______________________________________________
> 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
>
>



More information about the vtkusers mailing list