Camera Orientation
Gala'Vi and Liss @ Mainframe Country
pushkare at students.uiuc.edu
Wed Jun 23 16:54:29 EDT 1999
Yes you can. Instead of using a vtkActor to display your text use a
vtkFollower. This does exactly what you want. The actor then will always
face the camera.
Good luck.
Gala'Vi
NCSA, UIUC
//***********************************************
-- There is always a way,
you just have to find it.
(B.Hambly "Children Of The Jedi")
//***********************************************
On Wed, 23 Jun 1999, Matthew R. Dorbin wrote:
> Hi VTKers,
>
> I'm new to using VTK and I'm trying to create a 3-dimensional view
> of a mesh. I'm trying to number nodes and label them, but the problem I'm
> running into is that when I rotate the view (by calling the camera's
> Elevation() and Azimuth() functions) the (vtkVectorText) numbers rotate as
> well. Is there any way I can set the orientation of the Actors so that the
> text will always face the camera?
>
> TIA,
>
> Matthew Dorbin
>
>
>
>
> -----------------------------------------------------------------------------
> This is the private VTK discussion list. Please keep messages on-topic.
> Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
> To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> <majordomo at gsao.med.ge.com>. For help, send message body containing
> "info vtkusers" to the same address. Live long and prosper.
> -----------------------------------------------------------------------------
>
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list