public MarkerPositioner(SerializationInfo info, StreamingContext context) { _final = Matrix.Create((double[][])info.GetValue("final", typeof(double[][]))); _cpattern = (Parsley.Core.CalibrationPatterns.CompositePattern)info.GetValue("patternC", typeof(Parsley.Core.CalibrationPattern)); _logger = LogManager.GetLogger(typeof(MarkerPositioner)); _firstCallUpdateTransformation = true; }
/// <summary> /// Default Constructor /// </summary> /// <param name="theCam"> Camera Object needed in order to obtain the current camera frame.</param> public MarkerPositioner() { _final = Matrix.Identity(4, 4); _ecp_A = null; _cpattern = null; _extrinsicMatrix_A = Matrix.Identity(4, 4); _logger = LogManager.GetLogger(typeof(MarkerPositioner)); _firstCallUpdateTransformation = true; }