class P1::CameraSdk::TileImpl
Overview
#include <C_P1CameraPrivStructs.hpp> class TileImpl: public P1::CameraSdk::ITile, public P1::CameraSdk::ImageEnumBuffer { public: // construction TileImpl(PrivStructType*const dataStruct); // methods virtual uint32_t DestinationWidth() const; virtual uint32_t DestinationHeight() const; virtual uint32_t SourceOffsetX() const; virtual uint32_t SourceOffsetY() const; virtual uint32_t SourceWidth() const; virtual uint32_t SourceHeight() const; virtual float ScaleFactor() const; };
Inherited Members
public: // typedefs typedef P1::IQP::ImageEnumerationAgent::AssembleStatus const PrivStructTypeCommon; typedef P1::IQP::ImageEnumerationAgent::ImageBuffer const PrivStructType; // enums enum Type; enum Errors; // methods virtual std::shared_ptr<uint8_t const> Data() const = 0; virtual size_t DataSizeBytes() const = 0; virtual ImageFormat Format() const = 0; virtual Type BufferType() const = 0; virtual char const* BufferTypeStr() const = 0; virtual char const* FormatStr() const = 0; virtual uint32_t DestinationWidth() const = 0; virtual uint32_t DestinationHeight() const = 0; virtual uint32_t ImageId() const = 0; virtual bool AnyErrors() const = 0; virtual Errors ImageFileErrors() const = 0; virtual std::string ErrorsString() const = 0; virtual uint32_t SourceOffsetX() const = 0; virtual uint32_t SourceOffsetY() const = 0; virtual uint32_t SourceWidth() const = 0; virtual uint32_t SourceHeight() const = 0; virtual float ScaleFactor() const = 0; virtual uint32_t ImageId() const; virtual bool AnyErrors() const; virtual IImageFileCommon::Errors ImageFileErrors() const; virtual std::string ErrorsString() const; virtual std::shared_ptr<uint8_t const> Data() const; virtual size_t DataSizeBytes() const; virtual ImageFormat Format() const; virtual Type BufferType() const; virtual char const* BufferTypeStr() const; virtual char const* FormatStr() const;
Detailed Documentation
Methods
virtual uint32_t DestinationWidth() const
Return the buffers width in pixels.
virtual uint32_t DestinationHeight() const
Returns the buffers height in pixels.
virtual uint32_t SourceOffsetX() const
This is a horizontal crop offset, in pixels.
Origo is in upper left corner.
virtual uint32_t SourceOffsetY() const
This is a vertical crop offset, in pixels.
Origo is in upper left corner.
virtual uint32_t SourceWidth() const
This is source (original) image width in pixels.
Tiling images can be scaled, such that source and destination dimentions differ. The source width reopresents the original width of the crop of the source image on the camera.
virtual uint32_t SourceHeight() const
This is source (original) image height in pixels.
Tiling images can be scaled, such that source and destination dimentions differ. The source height reopresents the original height of the crop of the source image on the camera.
virtual float ScaleFactor() const
This is the scaling factor that is applied to the tiled image. If any.