[vtk-developers] Convenience methods for vtkCamera

David Gobbi david.gobbi at gmail.com
Thu Jul 21 17:28:25 EDT 2011


I noticed these two new methods in vtkCamera today, and if possible, I'd
like for them to be removed:

 void SetModelTransformMatrix( double x00,  double x01,  double x02, double
x03,
   double x10,  double x11,  double x12,  double x13,
   double x20,  double x21,  double x22,  double x23,
   double x30,  double x31,  double x32,  double x33);

 void SetEyeTransformMatrix( double x00,  double x01,  double x02,  double
x03,
   double x10,  double x11,  double x12,  double x13,
   double x20,  double x21,  double x22,  double x23,
   double x30,  double x31,  double x32,  double x33);

Is it really so hard to create a vtkMatrix4x4 and then pass it as an
argument?
There is even a vtkMatrix4x4::DeepCopy method to make it easy to create
a matrix from an array of doubles.

- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110721/dea5ee52/attachment.html>


More information about the vtk-developers mailing list