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

◆ spatial_3d()

DataDimension MayaFlux::Kakshya::DataDimension::spatial_3d ( uint64_t  width,
uint64_t  height,
uint64_t  depth 
)
static

Convenience constructor for a 3D spatial dimension.

Parameters
widthWidth in elements
heightHeight in elements
depthDepth in elements
Returns
DataDimension representing 3D spatial data

Definition at line 59 of file NDData.cpp.

60{
61 return spatial(depth, 'z', width * height * sizeof(float));
62}
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:29

References spatial().

+ Here is the call graph for this function: