[vtkusers] vtkCamera->SetUserViewTransform(vtkHomogeneousTransform)

David Gobbi david.gobbi at gmail.com
Tue Mar 1 22:58:52 EST 2011


Hi Sergio,

Use vtkPerspectiveTransform, it is a concrete subclass of vtkHomogenousTransform
and it can take a vtkMatrix4x4.

 - David


On Tue, Mar 1, 2011 at 8:55 PM, Sergio Aguirre <sergio.aguirre at gmail.com> wrote:
> Hi everyone
> I am trying to set a special VIEWMODEL MATRIX and was thinking of using the
> SetUserViewTransform call on vtkCamera.
> However, I am confused as to how to input a vtkMatrix4x4 to a
> vtkHomogeneousTransform object.
> I saw the vtkMatrixToHomogeneousTransform class, but again you can call
> SetMatrix but then I not sure what to call so it can be passed to the
> vtkHomogeneousTransform object...
> Any suggestions? Thank you.
> Sergio



More information about the vtkusers mailing list