Image format.
Public Member Functions | |
ImageFormat () | |
Default constructor. More... | |
ImageFormat (ImageFormat^ xFormat) | |
Copy constructor. More... | |
ImageFormat (const CRxImageFormat &xFormat) | |
Constructor. More... | |
ImageFormat (int iWidth, int iHeight, InteropNet::Runtime28::EPixelType ePixelType, InteropNet::Runtime28::EDataType eDataType) | |
Constructor. More... | |
~ImageFormat () | |
Destructor. More... | |
bool | Equals (ImageFormat^ xFormat) |
Tests if this ImageFormat^ is considered equal to another. More... | |
unsigned | GetByteCount () |
Gets the byte count. More... | |
int | GetBytesPerPixel () |
Gets the bytes per pixel. More... | |
int | GetComponentCount () |
Gets the component count. More... | |
const CRxImageFormat & | GetNative () |
Gets the native CRxImageFormat. More... | |
unsigned | GetPixelCount () |
Gets the pixel count. More... | |
bool | HasCustomDataType () |
Returns true if the data type of this image format is one of the custom (non primitive) data types. More... | |
bool | IsBayerPixelType () |
Query if this object is of bayer pixel type. More... | |
void | Reset () |
Resets this object. More... | |
CRxImageFormat | ToNative () |
Converts this ImageFormat to a CRxImageFormat. More... | |
virtual System::String^ | ToString () override |
Convert this ImageFormat into a string representation. More... | |
Static Public Member Functions | |
static CRxImageFormat | ToNative (ImageFormat^ xImageFormat) |
Converts an ImageFormat to a CRxImageFormat. More... | |
Protected Attributes | |
CRxImageFormat * | m_pxNative |
The native image format. More... | |
Properties | |
InteropNet::Runtime28::EDataType | DataType [get, set] |
Gets or sets the type of the data. More... | |
int | Height [get, set] |
Gets or sets the height. More... | |
InteropNet::Runtime28::EPixelType | PixelType [get, set] |
Gets or sets the type of the pixel. More... | |
int | Width [get, set] |
Gets or sets the width. More... | |
|
inline |
Default constructor.
|
inline |
Copy constructor.
xFormat | [in] If non-null, describes the format to use. |
|
inline |
Constructor.
xFormat | Describes the format to use. |
|
inline |
Constructor.
iWidth | Width. |
iHeight | Height. |
ePixelType | Pixel type. |
eDataType | Data type. |
|
inline |
Destructor.
|
inline |
Tests if this ImageFormat^ is considered equal to another.
xFormat | [in] If non-null, the image format^ to compare to this object. |
|
inline |
Gets the byte count.
|
inline |
Gets the bytes per pixel.
|
inline |
Gets the component count.
|
inline |
Gets the native CRxImageFormat.
|
inline |
Gets the pixel count.
|
inline |
Returns true if the data type of this image format is one of the custom (non primitive) data types.
|
inline |
Query if this object is of bayer pixel type.
|
inline |
Resets this object.
|
inlinestatic |
Converts an ImageFormat to a CRxImageFormat.
xImageFormat | [in] The ImageFormat. |
|
inline |
Converts this ImageFormat to a CRxImageFormat.
|
inlineoverridevirtual |
Convert this ImageFormat into a string representation.
|
protected |
The native image format.
|
getset |
Gets or sets the type of the data.
|
getset |
Gets or sets the height.
|
getset |
Gets or sets the type of the pixel.
|
getset |
Gets or sets the width.