.. index:: pair: class; P1::CameraSdk::TileImpl .. _doxid-class_p1_1_1_camera_sdk_1_1_tile_impl: class P1::CameraSdk::TileImpl ============================= .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class TileImpl: public :ref:`P1::CameraSdk::ITile`, public :ref:`P1::CameraSdk::ImageEnumBuffer` { public: // construction :target:`TileImpl`(:ref:`PrivStructType`*const dataStruct); // methods virtual uint32_t :ref:`DestinationWidth`() const; virtual uint32_t :ref:`DestinationHeight`() const; virtual uint32_t :ref:`SourceOffsetX`() const; virtual uint32_t :ref:`SourceOffsetY`() const; virtual uint32_t :ref:`SourceWidth`() const; virtual uint32_t :ref:`SourceHeight`() const; virtual float :ref:`ScaleFactor`() const; }; Inherited Members ----------------- .. ref-code-block:: cpp :class: doxyrest-overview-inherited-code-block public: // typedefs typedef P1::IQP::ImageEnumerationAgent::AssembleStatus const :ref:`PrivStructTypeCommon`; typedef P1::IQP::ImageEnumerationAgent::ImageBuffer const :ref:`PrivStructType`; // enums enum :ref:`Type`; enum :ref:`Errors`; // methods virtual std::shared_ptr :ref:`Data`() const = 0; virtual size_t :ref:`DataSizeBytes`() const = 0; virtual :ref:`ImageFormat` :ref:`Format`() const = 0; virtual :ref:`Type` :ref:`BufferType`() const = 0; virtual char const* :ref:`BufferTypeStr`() const = 0; virtual char const* :ref:`FormatStr`() const = 0; virtual uint32_t :ref:`DestinationWidth`() const = 0; virtual uint32_t :ref:`DestinationHeight`() const = 0; virtual uint32_t :ref:`ImageId`() const = 0; virtual bool :ref:`AnyErrors`() const = 0; virtual :ref:`Errors` :ref:`ImageFileErrors`() const = 0; virtual std::string :ref:`ErrorsString`() const = 0; virtual uint32_t :ref:`SourceOffsetX`() const = 0; virtual uint32_t :ref:`SourceOffsetY`() const = 0; virtual uint32_t :ref:`SourceWidth`() const = 0; virtual uint32_t :ref:`SourceHeight`() const = 0; virtual float :ref:`ScaleFactor`() const = 0; virtual uint32_t :ref:`ImageId`() const; virtual bool :ref:`AnyErrors`() const; virtual :ref:`IImageFileCommon::Errors` :ref:`ImageFileErrors`() const; virtual std::string :ref:`ErrorsString`() const; virtual std::shared_ptr :ref:`Data`() const; virtual size_t :ref:`DataSizeBytes`() const; virtual :ref:`ImageFormat` :ref:`Format`() const; virtual :ref:`Type` :ref:`BufferType`() const; virtual char const* :ref:`BufferTypeStr`() const; virtual char const* :ref:`FormatStr`() const; .. _details-class_p1_1_1_camera_sdk_1_1_tile_impl: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Methods ------- .. index:: pair: function; DestinationWidth .. _doxid-class_p1_1_1_camera_sdk_1_1_tile_impl_1a0e1baf0e688fad9da14cae47701c10dc: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual uint32_t DestinationWidth() const Return the buffers width in pixels. .. index:: pair: function; DestinationHeight .. _doxid-class_p1_1_1_camera_sdk_1_1_tile_impl_1a5af3e5627b1d740a4fe62816b0181098: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual uint32_t DestinationHeight() const Returns the buffers height in pixels. .. index:: pair: function; SourceOffsetX .. _doxid-class_p1_1_1_camera_sdk_1_1_tile_impl_1a87c2ee8277858c7b4329deb674da5479: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual uint32_t SourceOffsetX() const This is a horizontal crop offset, in pixels. Origo is in upper left corner. .. index:: pair: function; SourceOffsetY .. _doxid-class_p1_1_1_camera_sdk_1_1_tile_impl_1a030ec55d9f6ecff3f5381da53f6485b3: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual uint32_t SourceOffsetY() const This is a vertical crop offset, in pixels. Origo is in upper left corner. .. index:: pair: function; SourceWidth .. _doxid-class_p1_1_1_camera_sdk_1_1_tile_impl_1aeed1028aa3ccbc30ee264190bd381ee1: .. ref-code-block:: cpp :class: doxyrest-title-code-block 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. .. index:: pair: function; SourceHeight .. _doxid-class_p1_1_1_camera_sdk_1_1_tile_impl_1ae93e4f415e8dc399c4419e0271c546af: .. ref-code-block:: cpp :class: doxyrest-title-code-block 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. .. index:: pair: function; ScaleFactor .. _doxid-class_p1_1_1_camera_sdk_1_1_tile_impl_1aa42d567b5f7b316246739b5bed3a1a61: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual float ScaleFactor() const This is the scaling factor that is applied to the tiled image. If any.