|
From: massimiliano c. <mas...@is...> - 2011-05-19 16:39:17
|
Dear VCG developers, due to last non-properly-coherent changes made to the VCG::Shot class I have changed many comments of the code. Now, all the comments about the computations and assumptions made in this class are correct (I hope). I have also added a test applications of the Vcg::Camera-Vcg::Shot classes under apps\test\camerashot and two new Shot methods to deal with roto-translation of the local reference frame and to adjust both the intrinsics and the extrinsics camera parameters in case you change the scale of your 3D world coordinates system (sometimes it could be useful handling data coming from structure-from-motion reconstruction tools). The new methods are: vcg::Shot::RescalingWorld(ScalarType scalefactor) vcg::Shot::ApplyRigidTransformation(Matrix44<S> M) Finally, the method ::MultMatrix, that it is probably used by PhotoCloud developers, needs to be renamed to match better what it does with its name. Please, give me feedback about this point in order to finish this ''clean'' of the Vcg::Shot class. The official documentation should be updated accordingly. I hope to do it in the next days. Best, Massimiliano Corsini |