PixelFormatTemplateBase< COMP, PIXELDEPTH, COMPONENTS, COLORSPACE, PIXELFORMATGROUP > Class Template Reference
#include <gfx_image_pixelformat_template.h>
Helper class for implementors of the PixelFormatInterface . e.g. class PixelFormatRGBE : public PixelFormatTemplateBase<PixelFormatRGBE, PixRGBE, 1, ColorSpaces::RGBspace> { MAXON_COMPONENT() ; } defines a new pixelformat with the basic functionality defined by this class.
Public Types |
|
using | PixelDepth = PIXELDEPTH |
![]() |
|
using | PrivateSuper = typename ComponentHelper < BASE, INTERFACE, INTERFACES... >::type |
using | PrivateComponentWithBase = ComponentWithBase |
using | 接口 = INTERFACE |
using | PrivateInterface = INTERFACE |
using | Ref = typename INTERFACE::Hxx1::ReferenceClass |
using | ComponentClass = C |
using | _Wrapper = typename ComponentWithBase::template Wrapper< maxon::ComponentWrapper< C > > |
using | PrivateSuperMTable = typename ComponentWithBase::template CombinedMTable< maxon::CombinedMTableRoot > |
using | InterfacesBlock = maxon::InterfacesBlock < INTERFACE, INTERFACES... > |
公共成员函数 |
|
const MAXON_METHOD PixelFormatGroup & | GetPixelFormatGroup () const |
MAXON_METHOD Int | GetChannelCount () const |
const MAXON_METHOD ChannelOffsets & | GetChannelOffsets () const |
MAXON_METHOD ColorSpace | GetColorSpace () const |
MAXON_METHOD Bool | IsIdenticalPixel (const ImageConstBuffer &a, const ImageConstBuffer &b, Int oneTolerance) const |
![]() |
|
ComponentWithBase & | operator= (const typename std::conditional< STD_IS_REPLACEMENT (copy_assignable, PrivateSuper ), ComponentWithBase , DummyParamType >::type & src ) |
静态公共成员函数 |
|
static Result < void > | ConfigureClass ( ClassInterface &cls) |
static Result < void > | DescribeIO (const DataSerializeInterface &stream) |
![]() |
|
static C * | Get ( maxon::ObjectInterface *object) |
static const C * | Get (const ObjectInterface *object) |
static C * | GetNonNull ( maxon::ObjectInterface *object) |
static const C * | GetNonNull (const ObjectInterface *object) |
static C * | GetOrNull ( ObjectInterface *object) |
static const C * | GetOrNull (const ObjectInterface *object) |
template<typename... ARGS> | |
static Result < typename Ref::NonConst > | CreateInit (ARGS &&... args) |
static Int | PrivateGetSelfPtrOffset () |
static const Class < typename INTERFACE::Hxx1::ReferenceClass > & | GetClass () |
static const ComponentDescriptor & | GetDescriptor () |
static Bool | PrivateConstructMTable (ClassInfo *info, Int offset, void *supervtable) |
template<typename CLS > | |
static Result < CLS > | PrivateConstructClass ( MAXON_SOURCE_LOCATION_DECLARATION , Id &cid) |
template<typename T > | |
static Result < T > | PrivateCreateInstance ( MAXON_SOURCE_LOCATION_DECLARATION , Id &cid) |
静态公共属性 |
|
static const Int | _channelCount |
static const Int | _bytesPerComponent |
static const ChannelOffsetHelper < 8 * SIZEOF (PIXELDEPTH), COMPONENTS > | _channelOffsets |
Additional Inherited Members |
|
![]() |
|
union { | |
std::conditional< ComponentWithBase::ADAPTER, const ObjectInterface *, typename ComponentWithBase::SelfPtr >::type self | |
SelfPtrBase< typename std::conditional< ComponentWithBase::ADAPTER, INTERFACE, ComponentWithBase >::type::template ReferenceFunctions< RefBaseFunctions< DirectRef< INTERFACE, SuperPointerHandler, SuperPtrComponentInfo< C, ComponentWithBase > > > > > super | |
}; |
using PixelDepth = PIXELDEPTH |
|
static |
const MAXON_METHOD PixelFormatGroup& GetPixelFormatGroup | ( | ) | const |
MAXON_METHOD Int GetChannelCount | ( | ) | const |
const MAXON_METHOD ChannelOffsets & GetChannelOffsets | ( | ) | const |
MAXON_METHOD ColorSpace GetColorSpace | ( | ) | const |
MAXON_METHOD Bool IsIdenticalPixel | ( | const ImageConstBuffer & | a , |
const ImageConstBuffer & | b , | ||
Int | oneTolerance | ||
) | const |
|
static |
|
|
|