Пример #1
0
	/**
	@brief Query camera calibration and transformation data for a sensor according to user defined options.
	@param[in]  streamType      The stream type which is produced by the sensor.
	@param[in]  options         The options that selects specific calibration and transformation data which is produced by the sensor.
	@param[out] calibration     The intrinsics calibration parameters of the sensor.
	@param[out] transformation  The extrinsics transformation parameters from the sensor to the camera coordinate system origin.
	@return PXCM_STATUS_NO_ERROR Successful execution.
	*/
        public pxcmStatus QueryStreamProjectionParametersEx(PXCMCapture.StreamType streamType, PXCMCapture.Device.StreamOption options, out StreamCalibration calibration, out StreamTransform transformation)
        {
            calibration = new StreamCalibration();
            transformation = new StreamTransform();
            return PXCMCalibration_QueryStreamProjectionParametersEx(instance, streamType, options, calibration, transformation);
        }
Пример #2
0
 internal static extern pxcmStatus PXCMCalibration_QueryStreamProjectionParametersEx(IntPtr instance, PXCMCapture.StreamType streamType, PXCMCapture.Device.StreamOption options, [Out] StreamCalibration calibration, [Out] StreamTransform transformation);
Пример #3
0
 /**
  * @brief Query camera calibration and transformation data for a sensor according to user defined options.
  * @param[in]  streamType      The stream type which is produced by the sensor.
  * @param[in]  options         The options that selects specific calibration and transformation data which is produced by the sensor.
  * @param[out] calibration     The intrinsics calibration parameters of the sensor.
  * @param[out] transformation  The extrinsics transformation parameters from the sensor to the camera coordinate system origin.
  * @return PXCM_STATUS_NO_ERROR Successful execution.
  */
 public pxcmStatus QueryStreamProjectionParametersEx(PXCMCapture.StreamType streamType, PXCMCapture.Device.StreamOption options, out StreamCalibration calibration, out StreamTransform transformation)
 {
     calibration    = new StreamCalibration();
     transformation = new StreamTransform();
     return(PXCMCalibration_QueryStreamProjectionParametersEx(instance, streamType, options, calibration, transformation));
 }