pub trait ReadSamplesLevel {
type Reader: SamplesReader;
fn create_samples_level_reader(
&self,
header: &Header,
channel: &ChannelDescription,
level: Vec2<usize>,
resolution: Vec2<usize>
) -> Result<Self::Reader>;
}
Expand description
A template that creates a SamplesReader
once for each resolution level.
Required Associated Types
type Reader: SamplesReader
type Reader: SamplesReader
The type of the temporary level reader
Required Methods
fn create_samples_level_reader(
&self,
header: &Header,
channel: &ChannelDescription,
level: Vec2<usize>,
resolution: Vec2<usize>
) -> Result<Self::Reader>
fn create_samples_level_reader(
&self,
header: &Header,
channel: &ChannelDescription,
level: Vec2<usize>,
resolution: Vec2<usize>
) -> Result<Self::Reader>
Create a single reader for a single resolution level