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