3#include <fsdk/Types/Format.h>
4#include <fsdk/Types/Rect.h>
5#include <fsdk/Types/Vector2.h>
41 return reinterpret_cast<T*
>(
data);
48 return reinterpret_cast<const T*
>(
data);
SDK namespace.
Definition IAGSEstimator.h:8
Vector2< int > Size
Definition Vector2.h:303
Vector2< int > Point2i
Definition Vector2.h:294
Sub Image.
Definition SubImage.h:13
const T * getDataAs() const noexcept
Definition SubImage.h:47
Point2i getOrigin() const noexcept
Definition SubImage.h:52
SubImage() noexcept
intializes empty sub image.
Definition SubImage.h:28
int height
Sub image height.
Definition SubImage.h:22
int x
Sub image origin x coordinate.
Definition SubImage.h:18
int width
Sub image width.
Definition SubImage.h:21
int y
Sub image origin y coordinate.
Definition SubImage.h:19
void * data
Beginning of data sub image data.
Definition SubImage.h:14
Rect getRect() const noexcept
Definition SubImage.h:63
bool isValid() const noexcept
Definition SubImage.h:69
Format format
Sub image format.
Definition SubImage.h:24
int pitch
Number of bytes to the next scanline of the sub image.
Definition SubImage.h:16
T * getDataAs() noexcept
Definition SubImage.h:40
Size getSize() const noexcept
Definition SubImage.h:57