nn::jpeg::CTR::MpAttribute Structure

Syntax

struct MpAttribute
{
   bool isMpfVersionValid;
   bool isMpIndividualNumValid;
   bool isPanOrientationValid;
   bool isPanOverlapHValid;
   bool isPanOverlapVValid;
   bool isBaseViewpointNumValid;
   bool isConvergenceAngleValid;
   bool isBaselineLengthValid;
   bool isVerticalDivergenceValid;
   bool isAxisDistanceXValid;
   bool isAxisDistanceYValid;
   bool isAxisDistanceZValid;
   bool isYawAngleValid;
   bool isPitchAngleValid;
   bool isRollAngleValid;
   u8 reserved[1];
   u8 mpfVersion[MPF_VERSION_SIZE];
   u32 mpIndividualNum;
   u32 panOrientation;
   Rational panOverlapH;
   Rational panOverlapV;
   u32 baseViewpointNum;
   Srational convergenceAngle;
   Rational baselineLength;
   Srational verticalDivergence;
   Srational axisDistanceX;
   Srational axisDistanceY;
   Srational axisDistanceZ;
   Srational yawAngle;
   Srational pitchAngle;
   Srational rollAngle;
};

Description

Structure holding the MP Attribute IFD in a format easily processed by the library. The MP Attribute IFD is included in the data stored in MP format.

Initialize this (get its information) using the JpegMpDecoder::GetMpAttribute function.

Member Variables

isMpfVersionValid bool Whether the MP format version is valid.
isMpIndividualNumValid bool Whether the individual image number is valid.
isPanOrientationValid bool Whether the panorama image placement is valid.
isPanOverlapHValid bool Whether the horizontal overlap is valid.
isPanOverlapVValid bool Whether the vertical overlap is valid.
isBaseViewpointNumValid bool Whether the base viewpoint number is valid.
isConvergenceAngleValid bool Whether the convergence angle is valid.
isBaselineLengthValid bool Whether the baseline length is valid.
isVerticalDivergenceValid bool Whether the vertical divergence is valid.
isAxisDistanceXValid bool Whether the horizontal (X-axis) distance is valid.
isAxisDistanceYValid bool Whether the vertical (Y-axis) distance is valid.
isAxisDistanceZValid bool Whether the line-of-sight (Z-axis) distance is valid.
isYawAngleValid bool Whether the yaw angle is valid.
isPitchAngleValid bool Whether the pitch angle is valid.
isRollAngleValid bool Whether the roll angle is valid.
reserved u8 Reserved (ignored).
mpfVersion u8 MP format version.
mpIndividualNum u32 Individual image number.
panOrientation u32 Panorama image placement.
panOverlapH Rational Horizontal overlap.
panOverlapV Rational Vertical overlap.
baseViewpointNum u32 Base viewpoint number.
convergenceAngle Srational Convergence angle.
baselineLength Rational Baseline length.
verticalDivergence Srational Vertical divergence.
axisDistanceX Srational Horizontal (X-axis) distance.
axisDistanceY Srational Vertical (Y-axis) distance.
axisDistanceZ Srational Line-of-sight (Z-axis) distance.
yawAngle Srational Yaw angle.
pitchAngle Srational Pitch angle.
rollAngle Srational Roll angle.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL