Tracks all of the data related to the image gradient size, including its transform. More...
#include <ImageGradientModification.h>
Public Attributes | |
float | m_metersPerPixelX = 0.0f |
float | m_metersPerPixelY = 0.0f |
float | m_localMetersPerPixelX = 0.0f |
float | m_localMetersPerPixelY = 0.0f |
int16_t | m_imageWidth = 0 |
Image width and height in pixels. | |
int16_t | m_imageHeight = 0 |
PixelIndex | m_topLeftPixelIndex |
The pixel indices for the pixels on the edges of the local bounds. These are used for calculating dirty region bounding boxes. | |
PixelIndex | m_bottomRightPixelIndex |
GradientTransform | m_gradientTransform |
The gradient transform for this image gradient. | |
Tracks all of the data related to the image gradient size, including its transform.
float GradientSignal::ImageGradientSizeData::m_localMetersPerPixelX = 0.0f |
The meters per pixel in each direction for this image gradient in the image's local space. This accounts for image tiling and frequency zoom, but removes the effects of the transform's scale, since the scale is applied outside of the local space calculations.
float GradientSignal::ImageGradientSizeData::m_metersPerPixelX = 0.0f |
The meters per pixel in each direction for this image gradient. These help us query the paintbrush for exactly one world position per image pixel.