Impact Acquire SDK Java
|
Contains information about a specific part of a captured buffer. More...
Public Member Functions | |
synchronized void | delete () |
PropertyPtr | getAddress () |
A pointer property (read-only) containing the start address of this buffer part. | |
PropertyI64 | getBayerMosaicParity () |
An enumerated 64-bit integer property (read-only) containing the Bayer parity of this buffer part. | |
PropertyI64 | getBytesPerPixel () |
A 64-bit integer property (read-only) containing the number of bytes per pixel in this buffer part. | |
PropertyI64 | getChannelBitDepth () |
A 64-bit integer property (read-only) containing the number of effective bits stored in each channel belonging to the current buffer part. | |
PropertyI64 | getChannelCount () |
A 64-bit integer property (read-only) containing the number of channels this buffer part consists of. | |
PropertyS | getChannelDesc () |
A string property (read-only) containing the string descriptors of each channel belonging to the current buffer part. | |
PropertyI64 | getChannelOffset () |
A 64-bit integer property (read-only) containing the offset (in bytes) to each channel belonging to the current buffer part relative to the address contained in mvIMPACT.acquire.BufferPart.getAddress(). | |
PropertyI64 | getDataSize () |
A 64-bit integer property (read-only) containing the size (in bytes) of this buffer part. | |
PropertyI64 | getDataType () |
An enumerated 64-bit integer property (read-only) containing the data type of this buffer part. | |
PropertyI64 | getGroupID () |
Identifier allowing to group data parts having the same purpose (usually corresponding with the ComponentSelector feature from SFNC). | |
PropertyI64 | getHeight () |
A 64-bit integer property (read-only) containing the height of the buffer part in pixels. | |
ImageBufferDesc | getImageBufferDesc () |
Returns a const reference to the image buffer descriptor of this buffer part. | |
PropertyI64 | getLinePitch () |
A 64-bit integer property (read-only) containing the offset (in bytes) to the next line of each channel belonging to the current buffer part. | |
PropertyI64 | getOffsetX () |
A 64-bit integer property (read-only) containing the X-offset of the buffer part in pixels. | |
PropertyI64 | getOffsetY () |
A 64-bit integer property (read-only) containing the Y-offset of the buffer part in pixels. | |
PropertyI64 | getPaddingX () |
A 64-bit integer property (read-only) containing the number of padding bytes in X direction of the buffer part. | |
PropertyI | getPixelFormat () |
An enumerated integer property defining the pixel format of this buffer part. | |
PropertyI64 | getPixelPitch () |
A 64-bit integer property (read-only) containing the offset (in bytes) to the next pixel of the specified channel of this buffer part. | |
PropertyI64 | getRegionID () |
Identifier allowing to group data parts belonging to the same region (usually corresponding with the RegionSelector/ChunkRegionID features from SFNC). | |
PropertyI64 | getSourceID () |
Identifier allowing to group data parts belonging to the same source (usually corresponding with the SourceSelector/ChunkSourceID features from SFNC). | |
PropertyI64 | getWidth () |
A 64-bit integer property (read-only) containing the width of the buffer part in pixels. | |
int | hObj () |
Returns a unique identifier for the component collection referenced by this object. | |
ComponentCollection | restoreDefault () |
Restores the default for every component of this collection. | |
Protected Member Functions | |
BufferPart (long cPtr, boolean cMemoryOwn) | |
void | finalize () |
Static Protected Member Functions | |
static long | swigRelease (BufferPart obj) |
static long | swigRelease (ComponentCollection obj) |
Protected Attributes | |
transient boolean | swigCMemOwn |
Contains information about a specific part of a captured buffer.
This class provides access to all sorts of information about a specific part of a captured buffer. Only Instances of mvIMPACT.acquire.Request are allowed to create objects of mvIMPACT.acquire.BufferPart. Consequently the only way to get access to a mvIMPACT.acquire.BufferPart object is via a call to mvIMPACT.acquire.Request.getBufferPart.
|
protected |
synchronized void delete | ( | ) |
Reimplemented from ComponentCollection.
|
protected |
Reimplemented from ComponentCollection.
PropertyPtr getAddress | ( | ) |
A pointer property (read-only) containing the start address of this buffer part.
See remarks under mvIMPACT.acquire.Request.getImageData(). Most of the information provided there will be valid for this property as well.
PropertyI64 getBayerMosaicParity | ( | ) |
An enumerated 64-bit integer property (read-only) containing the Bayer parity of this buffer part.
If the current buffer part does not contain Bayer data, this value will be mvIMPACT.acquire.TBayerMosaicParity.bmpUndefined.
Valid values for this property are defined by the enumeration mvIMPACT.acquire.TBayerMosaicParity.
PropertyI64 getBytesPerPixel | ( | ) |
A 64-bit integer property (read-only) containing the number of bytes per pixel in this buffer part.
PropertyI64 getChannelBitDepth | ( | ) |
A 64-bit integer property (read-only) containing the number of effective bits stored in each channel belonging to the current buffer part.
PropertyI64 getChannelCount | ( | ) |
A 64-bit integer property (read-only) containing the number of channels this buffer part consists of.
For an RGB image this value e.g. would be 3. This value also defines how many parameters are stored by the properties mvIMPACT.acquire.BufferPart.getPixelPitch(),
mvIMPACT.acquire.BufferPart.getLinePitch(),
mvIMPACT.acquire.BufferPart.getChannelBitDepth(),
mvIMPACT.acquire.BufferPart.getChannelDesc() and
mvIMPACT.acquire.BufferPart.getChannelOffset().
If e.g. the channel count is 3 a call like bufferPart.getChannelOffset().read( 2 ) would return the channel offset of channel 3 (as calls to the read functions of properties are '0' based).
PropertyS getChannelDesc | ( | ) |
A string property (read-only) containing the string descriptors of each channel belonging to the current buffer part.
See remarks under mvIMPACT.acquire.Request.getImageChannelDesc(). Most of the information provided there will be valid for this property as well.
PropertyI64 getChannelOffset | ( | ) |
A 64-bit integer property (read-only) containing the offset (in bytes) to each channel belonging to the current buffer part relative to the address contained in mvIMPACT.acquire.BufferPart.getAddress().
PropertyI64 getDataSize | ( | ) |
A 64-bit integer property (read-only) containing the size (in bytes) of this buffer part.
See remarks under mvIMPACT.acquire.Request.getImageData(). Most of the information provided there will be valid for this property as well.
PropertyI64 getDataType | ( | ) |
An enumerated 64-bit integer property (read-only) containing the data type of this buffer part.
Valid values for this property are defined by the enumeration mvIMPACT.acquire.TBufferPartDataType.
PropertyI64 getGroupID | ( | ) |
Identifier allowing to group data parts having the same purpose (usually corresponding with the ComponentSelector feature from SFNC).
PropertyI64 getHeight | ( | ) |
A 64-bit integer property (read-only) containing the height of the buffer part in pixels.
ImageBufferDesc getImageBufferDesc | ( | ) |
Returns a const reference to the image buffer descriptor of this buffer part.
This function returns a const reference to the mvIMPACT.acquire.ImageBufferDesc associated with this mvIMPACT.acquire.BufferPart.
PropertyI64 getLinePitch | ( | ) |
A 64-bit integer property (read-only) containing the offset (in bytes) to the next line of each channel belonging to the current buffer part.
PropertyI64 getOffsetX | ( | ) |
A 64-bit integer property (read-only) containing the X-offset of the buffer part in pixels.
PropertyI64 getOffsetY | ( | ) |
A 64-bit integer property (read-only) containing the Y-offset of the buffer part in pixels.
PropertyI64 getPaddingX | ( | ) |
A 64-bit integer property (read-only) containing the number of padding bytes in X direction of the buffer part.
PropertyI getPixelFormat | ( | ) |
An enumerated integer property defining the pixel format of this buffer part.
Valid values for this property are defined by the enumeration mvIMPACT.acquire.TImageBufferPixelFormat.
PropertyI64 getPixelPitch | ( | ) |
A 64-bit integer property (read-only) containing the offset (in bytes) to the next pixel of the specified channel of this buffer part.
PropertyI64 getRegionID | ( | ) |
Identifier allowing to group data parts belonging to the same region (usually corresponding with the RegionSelector/ChunkRegionID features from SFNC).
Parts marked with the same region_id can be pixel mapped together. Parts carrying data from different ROI's of the same source would typically be marked with the same source_id but with different region_ids.
PropertyI64 getSourceID | ( | ) |
Identifier allowing to group data parts belonging to the same source (usually corresponding with the SourceSelector/ChunkSourceID features from SFNC).
Parts marked with the same source_id can be pixel mapped together. Parts carrying data from different ROI's of the same source would typically be marked with the same source_id. It is not mandatory that source_id's within a given buffer make a contiguous sequence of numbers starting with zero.
PropertyI64 getWidth | ( | ) |
A 64-bit integer property (read-only) containing the width of the buffer part in pixels.
|
inherited |
Returns a unique identifier for the component collection referenced by this object.
This handle will always reference an object of type mvIMPACT.acquire.ComponentList.
|
inherited |
Restores the default for every component of this collection.
Calling this function will restore the default value for every component belonging to this collection.
|
staticprotected |
|
staticprotectedinherited |
|
protectedinherited |