pub struct OmeZarrBitmapLayerParams {Show 15 fields
pub store_name: Option<String>,
pub array_path: String,
pub array_metadata: Option<ArrayMetadata>,
pub array_shape: Vec<u64>,
pub array_chunk_shape: Vec<u64>,
pub array_dimension_order: OmeDimensionOrder,
pub target_z: Option<u64>,
pub target_t: Option<u64>,
pub model_matrix: [f32; 16],
pub slice_x: Option<(u64, u64)>,
pub slice_y: Option<(u64, u64)>,
pub channel_settings: Vec<OmeZarrChannelSetting>,
pub bounds: Option<MarginParams>,
pub opacity: f32,
pub layer_id: String,
}Expand description
Layer params struct for OmeZarrBitmapLayer.
Fields§
§store_name: Option<String>Name of the top-level store to read from (a key in RenderParams::stores).
May be omitted when exactly one top-level store is defined.
array_path: StringPath to the zarr array (e.g., “/0/0” for the first dataset at the first level).
array_metadata: Option<ArrayMetadata>Pre-fetched array metadata from the parent multiscale layer, used to avoid
re-opening the array from storage in load_tile_data. If None, the array
is opened from storage via async_open.
array_shape: Vec<u64>Full shape of the zarr array at this resolution level.
array_chunk_shape: Vec<u64>Chunk shape of the zarr array at this resolution level (used for cache key derivation).
array_dimension_order: OmeDimensionOrderOrdered dimension list (e.g., [T, C, Z, Y, X] for “tczyx”).
target_z: Option<u64>Z slice index. Only required if the array has a Z dimension.
target_t: Option<u64>T slice index. Only required if the array has a T dimension.
model_matrix: [f32; 16]Model matrix encoding the physical voxel size and any affine transforms. The parent layer should convert per-resolution scale values into this matrix.
slice_x: Option<(u64, u64)>§slice_y: Option<(u64, u64)>§channel_settings: Vec<OmeZarrChannelSetting>Channel settings specifying which channels to render and how.
Each entry’s c_index determines which slice of the C dimension to load.
bounds: Option<MarginParams>§opacity: f32§layer_id: StringTrait Implementations§
Source§impl Clone for OmeZarrBitmapLayerParams
impl Clone for OmeZarrBitmapLayerParams
Source§fn clone(&self) -> OmeZarrBitmapLayerParams
fn clone(&self) -> OmeZarrBitmapLayerParams
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OmeZarrBitmapLayerParams
impl Debug for OmeZarrBitmapLayerParams
Source§impl Default for OmeZarrBitmapLayerParams
impl Default for OmeZarrBitmapLayerParams
Source§fn default() -> OmeZarrBitmapLayerParams
fn default() -> OmeZarrBitmapLayerParams
Source§impl<'de> Deserialize<'de> for OmeZarrBitmapLayerParamswhere
OmeZarrBitmapLayerParams: Default,
impl<'de> Deserialize<'de> for OmeZarrBitmapLayerParamswhere
OmeZarrBitmapLayerParams: Default,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OmeZarrBitmapLayerParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OmeZarrBitmapLayerParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for OmeZarrBitmapLayerParams
impl Serialize for OmeZarrBitmapLayerParams
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Auto Trait Implementations§
impl Freeze for OmeZarrBitmapLayerParams
impl RefUnwindSafe for OmeZarrBitmapLayerParams
impl Send for OmeZarrBitmapLayerParams
impl Sync for OmeZarrBitmapLayerParams
impl Unpin for OmeZarrBitmapLayerParams
impl UnsafeUnpin for OmeZarrBitmapLayerParams
impl UnwindSafe for OmeZarrBitmapLayerParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.