[vtkusers] How to scale vtkCubeAxesActor2D ?

Amy Henderson amy.henderson at kitware.com
Wed Jan 26 09:41:17 EST 2005


Hi Kavin,

In vtkCubeAxesActor2D the SetViewProp method can be used to make the 
vtkCubeAxesActor2D depend on an actor (prop) instead of a data set.  Make 
sure you do not set the input if you are going to use the SetViewProp 
method.  If you set the input data set, SetViewProp will have no effect.

- Amy

At 09:27 AM 1/26/2005, ckchen at CIS wrote:
>Hello everyone, I am a newbie to vtk. Hope you can help me or give me some 
>suggestions.
>Here is my problem:
>There is a dataset with a scaled actor (use SetUserTransform( )) in my 
>program, and now I
>want to add a vtkCubeAxesActor2D on this actor. However, 
>vtkCubeAxesActor2D depends
>on the dataset instead of the scaled actor. So the result is not what I want.
>Can anyone answer my question, or give me some hints?
>thanks~
>
>Kavin Chen.
>
>
>_______________________________________________
>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





More information about the vtkusers mailing list