[vtkusers] vtkAnnotatedCubeActor custom initial orientation

Dean Inglis dean.inglis at camris.ca
Tue Nov 14 10:22:23 EST 2006


Jesús,

although I have never used it in the way you want,
you could get all of the actors (props) that comprise
the annotated cube actor by passing an empty vtkPropCollection to
the actos' GetActors(vtkPropCollection* ) method, and
then trying to modify each one's orientation.

Dean

Well, maybe I'll have to implement my own "orientable" annotated cube actor.
Thanks for the info though.


2006/11/13, Dean Inglis < dean.inglis at sympatico.ca>:
Jesús,

vtkAnnotatedCubeActor does not implement that
method which belongs to its parent class, vtkProp3D.
The actor is designed to be used with vtkOrientationMarkerWidget
so that its orientation is controlled by a specified renderer's camera.
The faces of the cube are always aligned with the x-y-z axes.  You
can change the text on those faces and their orientation though.

Dean



More information about the vtkusers mailing list