[vtkusers] Put labels onto image

Dženan Zukić dzenanz at gmail.com
Fri Aug 26 09:28:13 EDT 2011


You can group it into a vtkAssembly together with the sphere, and then
rotate that assembly.

On Fri, Aug 26, 2011 at 15:14, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:

> David, ****
>
> ** **
>
> The second example is what I want since I need to assign the caption to
> certain point in a 3D object. However, in the example, the caption itself
> does not move when I rotate the sphere. My question is how to make it move
> along with the 3D object during rotation.****
>
> ** **
>
> Thank you so much.****
>
> ** **
>
> Xiaopeng****
>
> ** **
>
> *From:* David Doria [mailto:daviddoria at gmail.com]
> *Sent:* Friday, August 26, 2011 8:33 PM
> *To:* Xiaopeng Yang
> *Cc:* vtkusers at vtk.org
>
> *Subject:* Re: [vtkusers] Put labels onto image****
>
> ** **
>
> On Fri, Aug 26, 2011 at 3:43 AM, Xiaopeng Yang <yxp233 at postech.ac.kr>
> wrote:****
>
> Hi Wayne,****
>
>  ****
>
> It works good. Thank you. However, when I rotate the 3D object, the caption
> which associated with a point on the 3D object should be covered (invisible)
> when that point is rotated to the backside (invisible). But is always
> visible and appear on the object, which can mislead the user  to know the
> position of the caption.****
>
>  ****
>
> Do you have any good idea to avoid this happening?****
>
>  ****
>
> Thanks,****
>
> Xiaopeng****
>
> ** **
>
> CaptionActor2D is great for 2D, but for 3D I think you'll want:****
>
> ** **
>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/Follower****
>
> or****
>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Widgets/Caption****
>
> ** **
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110826/bf95dfcb/attachment.htm>


More information about the vtkusers mailing list