ImageChannelInterface Class Reference Graphics

#include <gfx_image_imagechannel.h>

Inheritance diagram for ImageChannelInterface:

公共成员函数

MAXON_METHOD BITS   GetChannelBits () const
MAXON_METHOD ImageChannelType  GetChannelType () const
const MAXON_METHOD DataType GetDataType () const
MAXON_METHOD Bool   IsIdenticalComponent (const void *a, const void *b, Int oneTolerance) const

私有成员函数

  MAXON_INTERFACE ( ImageChannelInterface , MAXON_REFERENCE_CONST , "net.maxon.image.interface.imagechannel")

成员函数文档编制

◆  MAXON_INTERFACE()

MAXON_INTERFACE ( ImageChannelInterface   ,
MAXON_REFERENCE_CONST   ,
"net.maxon.image.interface.imagechannel"   
)
private

◆  GetChannelBits()

MAXON_METHOD BITS GetChannelBits ( ) const

Returns the size in bits of each component.

◆  GetChannelType()

MAXON_METHOD ImageChannelType GetChannelType ( ) const

Returns true if the channel is a alpha channel.

◆  GetDataType()

const MAXON_METHOD DataType & GetDataType ( ) const

Returns the data type of the pixel format.

◆  IsIdenticalComponent()

MAXON_METHOD Bool IsIdenticalComponent ( const void *  a ,
const void *  b ,
Int   oneTolerance  
) const

Compares two components.

参数
[in] a Component buffer 1.
[in] b Component buffer 2.
[in] oneTolerance Pixel difference related to 0..255 range.
返回
Returns true is the pixel is within the given tolerance.