Functions for working with light field sequences. More...
Functions | |
static unsigned | Rx::Net::ApiLF::RxRaySeqBind (unsigned uRaySeqID) |
Bind a ray sequence for use by other API functions. More... | |
static unsigned | Rx::Net::ApiLF::RxRaySeqClose (unsigned uRaySeqID) |
Close a ray sequence. More... | |
static void | Rx::Net::ApiLF::RxRaySeqGetFileSize (unsigned uRaySeqID, System::UInt64% uFileSize) |
Get the total file size of the ray sequence in bytes. More... | |
static unsigned | Rx::Net::ApiLF::RxRaySeqGetFrameBufferUsedCount (unsigned uRaySeqID) |
Get number of frame buffers in use. More... | |
static unsigned | Rx::Net::ApiLF::RxRaySeqGetFrameCount (unsigned uRaySeqID) |
Get number of frames in ray sequence. More... | |
static unsigned | Rx::Net::ApiLF::RxRaySeqGetFrameCount () |
Get number of frames in ray sequence that is currently bound in read mode. More... | |
static unsigned | Rx::Net::ApiLF::RxRaySeqGetFrameIndex (unsigned uRaySeqID) |
Get current frame index of ray sequence. More... | |
static bool | Rx::Net::ApiLF::RxRaySeqIsBound () |
Determines if a sequence is bound to the API. More... | |
static void | Rx::Net::ApiLF::RxRaySeqMoveFrameIndex (unsigned uRaySeqID, int iStep) |
Move the frame index relative to the current position in the ray sequence. More... | |
static unsigned | Rx::Net::ApiLF::RxRaySeqOpen (System::String^ sFilename, unsigned uMode, unsigned uFrameBufferCount) |
Open a ray sequence. Depending on the mode a ray sequence can be opened for reading or writing. More... | |
static void | Rx::Net::ApiLF::RxRaySeqRead () |
Read a frame from the currently bound ray sequence. More... | |
static void | Rx::Net::ApiLF::RxRaySeqSetFrameIndex (unsigned uRaySeqID, unsigned uFrameIdx) |
Set the current frame index of ray sequence. More... | |
static void | Rx::Net::ApiLF::RxRaySeqUnbind (unsigned uRaySeqID) |
Unbind a ray sequence. If a ray sequence in write mode is unbound, the currently bound ray image also stays bound. No more images can be written to the ray sequence once it has been unbound, however, the ray sequence has not been closed.It can be bound again to write further ray images to it. More... | |
static void | Rx::Net::ApiLF::RxRaySeqWrite () |
Write currently bound ray image to currently bound ray sequence. More... | |
Functions for working with light field sequences.
|
static |
Bind a ray sequence for use by other API functions.
Only one ray sequence for reading and one ray sequence for writing can be bound at a time. When a ray sequence is bound for reading, then any currently bound ray image is unbound, a new prototype ray image of the format of the ray sequence is created and bound and the first image of the ray sequence is loaded into the bound ray image.The ID of the newly created ray image is returned in uImgID.No new ray image can be bound until the ray sequence is unbound using Rx::Net::ApiLF::RxRaySeqUnbind.If a camera capture is started while a ray sequence is bound for reading, the ray sequence is automatically unbound. While a camera is in capture mode, no ray sequence can be bound for reading.
When a ray sequence is bound for writing a ray image must already be bound. If the ray sequence is empty up to now, the ray sequence is created for the currently bound image type and only ray images of the same format can be written to the ray sequence.Also only ray images of the same format can be bound while the ray sequence is bound. If the ray sequence already contains images, it can only be bound if the currently bound ray image format is of the same format as the ray sequence. If a ray sequence in write mode is bound and camera capture is started the ray sequence is also unbound if the image formats do not agree.To capture frames from a camera, first start the camera capture, then bind the ray sequence in write mode and set the parameter Rx::Net::ApiLF::EPar::RaySeq_AutoStoreCamFrames to 1. The value returned in uImgID is the ray image ID of the currently bound ray image.
uRaySeqID | The id of the ray sequence. |
|
static |
Close a ray sequence.
uRaySeqID | The id of the ray sequence. |
|
static |
Get the total file size of the ray sequence in bytes.
uRaySeqID | The ray sequence id. | |
[out] | uFileSize | Contains the total size of the ray sequence in bytes. |
|
static |
Get number of frame buffers in use.
uRaySeqID | The ray sequence id. |
|
static |
Get number of frames in ray sequence.
uRaySeqID | The ray sequence id. |
|
static |
Get number of frames in ray sequence that is currently bound in read mode.
|
static |
Get current frame index of ray sequence.
uRaySeqID | The ray sequence id. |
|
static |
Determines if a sequence is bound to the API.
|
static |
Move the frame index relative to the current position in the ray sequence.
uRaySeqID | The ray sequence id. |
iStep | The number of frames to move. Negative values move frame index backward. |
|
static |
Open a ray sequence. Depending on the mode a ray sequence can be opened for reading or writing.
[in] | sFilename | The ray sequence id. This id is used in other functions to reference the ray sequence. |
uMode | The ray sequence mode. This is a combination of elements of ERaySeqMode. | |
uFrameBufferCount | The number of frame buffers used for buffered writing/reading. |
|
static |
Read a frame from the currently bound ray sequence.
|
static |
Set the current frame index of ray sequence.
uRaySeqID | The ray sequence id. |
uFrameIdx | The frame index. |
|
static |
Unbind a ray sequence. If a ray sequence in write mode is unbound, the currently bound ray image also stays bound. No more images can be written to the ray sequence once it has been unbound, however, the ray sequence has not been closed.It can be bound again to write further ray images to it.
If a ray sequence in read mode is unbound, the currently bound ray image stays bound. The ray image is therefore also not removed from memory.
uRaySeqID | The ray sequence ID of the ray sequence to unbind. |
|
static |
Write currently bound ray image to currently bound ray sequence.
This function appends the currently bound ray image to the bound ray sequence.
1
.