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

◆ slice() [1/2]

std::optional< CompositeSlice > MayaFlux::Kakshya::CompositeArray::slice ( const Region &  region) const

Borrow an inclusive, one-dimensional Region of elements.

Parameters
regionElement bounds and optional attributes to retain.
Returns
Slice, or std::nullopt for invalid bounds.

Definition at line 18 of file CompositeAccess.cpp.

19{
20 const auto view = access();
21 return view ? view->slice(region) : std::nullopt;
22}
std::optional< CompositeAccess > access() const
Validate and borrow the packed NDData stores and layout.

References access().

+ Here is the call graph for this function: