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

◆ spatial_2d()

DataDimension MayaFlux::Kakshya::DataDimension::spatial_2d ( uint64_t  width,
uint64_t  height 
)
static

Convenience constructor for a 2D spatial dimension.

Parameters
widthWidth in elements
heightHeight in elements
Returns
DataDimension representing 2D spatial data

Definition at line 62 of file NDData.cpp.

63{
64 return spatial(height, 'y', width);
65}
uint32_t width
uint32_t height
static DataDimension spatial(uint64_t size, char axis, uint64_t stride=1, std::string name="spatial")
Convenience constructor for a spatial dimension.
Definition NDData.cpp:37

References height, spatial(), and width.

+ Here is the call graph for this function: