Raytrix Light Field SDK
5.0
|
Defines a single camera or ray image calibration, including a possible gray image.
Inherits Rx::Net::NativeInterfaceWrapper< Rx::LFR::CCalibration, Rx::LFR::Net::Interfaces::ECalib >.
Public Member Functions | |
Calibration () | |
Default constructor. Creates an uninitialized calibration. Call SetToDefault to initialize it. More... | |
Calibration (Rx::LFR::CCalibration &xNative) | |
Constructor. More... | |
~Calibration () | |
Default Destructor. More... | |
const void * | GetCameraFormat () |
Gets the pointer to the internal camera format. Only for internal purposes. More... | |
Rx::Net::Image ^ | GetGrayImage () |
Gets the gray image. The gray image is invalid if this calibration has no gray image. More... | |
void | GetGridData (RX_OUT array< double, 2 >^ % adLensData2D, bool bMLI) |
Gets the grid data of this calibration. More... | |
virtual System::Object ^ | GetInterface (Rx::LFR::Net::Interfaces::ECalib eData) |
Gets the interface. More... | |
IParameters< Rx::LFR::Net::Params::ECalib > ^ | GetParams () |
Gets the parameters object for Rx.LFR.Net.Params.ECalib parameters. More... | |
bool | HasGrayImage () |
Queries if this calibration has a gray image. More... | |
void | SaveAsXmlFile (System::String^ sFilename) |
Saves some details of this calibration as a XML file. More... | |
void | SaveAsXmlString (RX_OUT System::String^ % sXml) |
Saves some details of this calibration as a XML string. More... | |
void | SetCameraFormat (const void *pvData) |
Sets the camera format by using pointer. Only for internal purposes. More... | |
void | SetGrayImage (Rx::Net::Image^ xImg) |
Sets the given image as the gray image. This copies the given image into this calibration. More... | |
void | SetGrayImage (Rx::Net::Image^ xImg, bool bMove) |
Sets the given image as the gray image. This moves or copies the given image into this calibration. More... | |
void | SetToDefault (int iHeightPX, int iWidthPX) |
Sets this calibration to default. All applied parameters are reset. The gray image is not affected. More... | |
|
inline |
Default constructor. Creates an uninitialized calibration. Call SetToDefault to initialize it.
|
inline |
Constructor.
Wraps the given native instance instead of creating an own instance. The given native instance must be valid for the lifetime of this instance.
xNative | [in] The native instance to be wrapped by this class. |
|
inline |
Default Destructor.
|
inline |
Gets the pointer to the internal camera format. Only for internal purposes.
|
inline |
Gets the gray image. The gray image is invalid if this calibration has no gray image.
|
inline |
Gets the grid data of this calibration.
The grid data is a 2D vector of lens information. For each lens on the grid exists a four component entry with the following values:
adLensData2D | [out] The 2D lens information vector. |
bMLI | [in] True to get the MLI grid. False to get the MLA grid. |
|
inlinevirtualinherited |
Gets the interface.
|
inline |
Gets the parameters object for Rx.LFR.Net.Params.ECalib parameters.
|
inline |
Queries if this calibration has a gray image.
|
inline |
Saves some details of this calibration as a XML file.
sFilename | [in] The file name. |
|
inline |
Saves some details of this calibration as a XML string.
sXml | [out] The XML string. |
|
inline |
Sets the camera format by using pointer. Only for internal purposes.
pvData | [in] The pointer to the camera format to set. |
|
inline |
Sets the given image as the gray image. This copies the given image into this calibration.
xImg | [in] The gray image. |
|
inline |
Sets the given image as the gray image. This moves or copies the given image into this calibration.
xImg | [in] The gray image. Is invalid after this call if bMove is true. |
bMove | [in] True to move the image; false to copy the image. |
|
inline |
Sets this calibration to default. All applied parameters are reset. The gray image is not affected.
iHeightPX | The height of the camera sensor in pixels. |
iWidthPX | The width of the camera sensor in pixels. |