*** SIGNIFICANT CHANGE ***

The member 'camera' of the base trimesh class, is no more used since Dec 2006.His initial purpose was keeping intrinsics of the camera, but it is a long time that intrinsics have moved into the Shot class. 
The I/O procedure already comply this fact filling only the interal structure.
This commit is contained in:
Paolo Cignoni 2009-05-21 23:02:48 +00:00
parent 2d3d9bd13f
commit c5491807fd
1 changed files with 4 additions and 5 deletions

View File

@ -315,10 +315,9 @@ class TriMesh: public TriMeshEdgeHolder<VertContainerType,FaceContainerType,Edge
ATTR_TYPE & operator ()(){ return *((Attribute<ATTR_TYPE> *)_handle)->attribute;}
};
/// La camera
Camera<ScalarType> camera; // intrinsic
Shot<ScalarType> shot; // extrinsic
// the camera member (that should keep the intrinsics) is no more needed since 2006, when intrisncs moved into the Shot structure
//Camera<ScalarType> camera; // intrinsic
Shot<ScalarType> shot; // intrinsic && extrinsic
/// Il colore della mesh
private:
@ -337,7 +336,7 @@ public:
/// Default constructor
TriMesh():shot(camera)
TriMesh()
{
fn = vn = 0;
imark = 0;