MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ ndc_size_to_pixels() [1/2]

glm::uvec2 MayaFlux::Kinesis::ndc_size_to_pixels ( const AABB2D region,
uint32_t  width,
uint32_t  height 
)
inline

Convert an NDC AABB's extent to integer pixel dimensions.

Equivalent to ndc_size_to_pixels(region.max - region.min, width, height).

Parameters
regionNDC axis-aligned bounding box.
widthWindow width in pixels.
heightWindow height in pixels.
Returns
Integer pixel dimensions of the region's extent.

Definition at line 443 of file Bounds.hpp.

446{
447 return ndc_size_to_pixels(region.max - region.min, width, height);
448}
uint32_t width
Definition Decoder.cpp:59
glm::uvec2 ndc_size_to_pixels(const AABB2D &region, uint32_t width, uint32_t height)
Convert an NDC AABB's extent to integer pixel dimensions.
Definition Bounds.hpp:443

References MayaFlux::Kinesis::AABB2D::max, MayaFlux::Kinesis::AABB2D::min, ndc_size_to_pixels(), and width.

Referenced by ndc_size_to_pixels(), MayaFlux::normalized_size_to_pixels(), MayaFlux::normalized_size_to_pixels(), MayaFlux::normalized_size_to_pixels(), MayaFlux::normalized_size_to_pixels(), and MayaFlux::Portal::Forma::Plot::place_label().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: