Fwd: [vtkusers] Rotating vtkActor2D subclasses?

Charles Boivin Charles.Boivin at rwdi.com
Mon Jan 24 14:48:18 EST 2005


Hello, 

Just thought I would include some pictures with this email to
illustrate my question a bit better...

First picture is with the vtkCubeAxesActor2D aligned with the
vtkImageData outline. The second one is when I rotate the outline actor,
the vtkCubeAxesActor2D does not follow properly...

Hope this will help generate a few replies!

>>> "Charles Boivin" <Charles.Boivin at rwdi.com> 24/01/2005 11:40:34 am
>>>
Hello all,

Is there any way to rotate actors derived from vtkActor2D? I am using
vtkCubeAxesActor2D to show the outer dimensions of a vtkImageData
structure. The (3D) actors that are displayed from the data stored in
this vtkImageData have the ability of being rotated using the
vtkProp3D::vtkRotateWXYZ() member function. However, if I rotate, say
the actor representing the outline of my vtkImageData object, then my
vtkCubeAxesActor2D does not rotate with it. Actually, I guess I do not
want to actually rotate the whole actor, but just to make sure the
axes
follow the actual outline of the domain as it is being displayed.

What would be the solution to this? Any ideas / suggestions from the
people on this list?

Thank you.

Charles Boivin

_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ 
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: axesaligned.png
Type: image/png
Size: 18914 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050124/9cdb1b59/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: axesnotaligned.png
Type: image/png
Size: 23341 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050124/9cdb1b59/attachment-0001.png>


More information about the vtkusers mailing list