Image format.
Public Member Functions | |
ImageFormat () | |
Default constructor. More... | |
ImageFormat (ImageFormat^ xFormat) | |
Copy constructor. More... | |
ImageFormat (const Rx::CRxImageFormat &xFormat) | |
Constructor. More... | |
ImageFormat (int iWidth, int iHeight, Rx::InteropNet::Runtime28::EPixelType ePixelType, Rx::InteropNet::Runtime28::EDataType eDataType) | |
Constructor. 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... | |
unsigned | GetPixelCount () |
bool | IsBayerPixelType () |
Query if this object is of bayer pixel type. More... | |
void | Reset () |
Resets this object. More... | |
Rx::CRxImageFormat | ToRxImageFormat () |
Converts this ImageFormat to a Rx::CRxImageFormat. More... | |
virtual System::String^ | ToString () override |
Convert this ImageFormat into a string representation. More... | |
Static Public Member Functions | |
static Rx::CRxImageFormat | ToRxImageFormat (ImageFormat^ xImageFormat) |
Converts an ImageFormat to a Rx::CRxImageFormat. More... | |
Protected Attributes | |
Rx::InteropNet::Runtime28::EDataType | m_eDataType |
Type of the data. More... | |
Rx::InteropNet::Runtime28::EPixelType | m_ePixelType |
Type of the pixel. More... | |
int | m_iHeight |
Zero-based index of the height. More... | |
int | m_iWidth |
Zero-based index of the width. More... | |
Properties | |
Rx::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... | |
Rx::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 |
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 |
|
inline |
Query if this object is of bayer pixel type.
|
inline |
Resets this object.
|
inlinestatic |
Converts an ImageFormat to a Rx::CRxImageFormat.
xImageFormat | [in,out] The ImageFormat. |
|
inline |
Converts this ImageFormat to a Rx::CRxImageFormat.
|
inlineoverridevirtual |
Convert this ImageFormat into a string representation.
|
protected |
Type of the data.
|
protected |
Type of the pixel.
|
protected |
Zero-based index of the height.
|
protected |
Zero-based index of the width.
|
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.