Class that represents an image object implements code to have the different data members loaded correctly i.e.: create corners using size, calculate size using corners, etc.
#include <FormItCoreTypes.h>
Public Member Functions | |
FORMIT_CORE_EXPORT | ImageData () |
ImageData() function. | |
void | setDefault () |
setDefault() function. | |
void | ensureSizeAndCornersAreCorrect () |
ensureSizeAndCornersAreCorrect() function. | |
Public Attributes | |
::string | mName |
Image name. | |
::string | mPath |
Texture path for image object. | |
size_t | mTextureId |
Texture id for image object (WSM) | |
float | mAlphaLevel |
Alpha level for given image object. | |
size_t | mZPosition |
Indicates the order that the images must be rendered. | |
::array< WSM::Point3d, 4 > | mCorners |
Geometric data for the image. | |
WSM::Vector2d | mSize |
Image size. | |
bool | mIsSatelliteImage |
Satellite data: | |
WSM::Vector2d | mCoordinates |
(Lat, Lon) | |
WSM::Vector2d | mCoordinatesSpan |
(LatSpan, LonSpan) | |
::array< size_t, 2 > | mSizeInPixels |
Satellite image dimensions. | |
bool | mIsFeaturesVisible |
Image features extracted from image - lines, arcs, etc. | |
WSM::Vector2d | mOriginOffset |
offset of the image object | |
Static Public Attributes | |
static const ::string | kImagePlaceholder |
Name of the placeholder image for when the actual image is not yet present. | |
FORMIT_CORE_EXPORT FormIt::ImageData::ImageData | ( | ) |
ImageData() function.
void FormIt::ImageData::ensureSizeAndCornersAreCorrect | ( | ) |
ensureSizeAndCornersAreCorrect() function.
void FormIt::ImageData::setDefault | ( | ) |
setDefault() function.
|
static |
Name of the placeholder image for when the actual image is not yet present.
float FormIt::ImageData::mAlphaLevel |
Alpha level for given image object.
WSM::Vector2d FormIt::ImageData::mCoordinates |
(Lat, Lon)
WSM::Vector2d FormIt::ImageData::mCoordinatesSpan |
(LatSpan, LonSpan)
::array<WSM::Point3d, 4> FormIt::ImageData::mCorners |
Geometric data for the image.
bool FormIt::ImageData::mIsFeaturesVisible |
Image features extracted from image - lines, arcs, etc.
bool FormIt::ImageData::mIsSatelliteImage |
Satellite data:
::string FormIt::ImageData::mName |
Image name.
WSM::Vector2d FormIt::ImageData::mOriginOffset |
offset of the image object
::string FormIt::ImageData::mPath |
Texture path for image object.
WSM::Vector2d FormIt::ImageData::mSize |
Image size.
::array<size_t, 2> FormIt::ImageData::mSizeInPixels |
Satellite image dimensions.
size_t FormIt::ImageData::mTextureId |
Texture id for image object (WSM)
size_t FormIt::ImageData::mZPosition |
Indicates the order that the images must be rendered.