public class DefaultMipmapOrdering extends Object implements MipmapOrdering
MipmapOrdering.Level, MipmapOrdering.MipmapHints, MipmapOrdering.PrefetchOrderComparator, MipmapOrdering.RenderOrderComparator
prefetchOrderComparator, renderOrderComparator
Constructor and Description |
---|
DefaultMipmapOrdering(Source<?> source) |
DefaultMipmapOrdering(Source<?> source,
boolean createHints,
LoadingStrategy renderLoadingStrategy,
boolean renderEnqueuToFront,
LoadingStrategy prefetchLoadingStrategy,
boolean prefetchEnqueuToFront) |
Modifier and Type | Method and Description |
---|---|
MipmapOrdering.MipmapHints |
getMipmapHints(AffineTransform3D screenTransform,
int timepoint,
int previousTimepoint)
Evaluate mipmap levels such that they can be ordered for rendering and/or
prefetching.
|
public DefaultMipmapOrdering(Source<?> source, boolean createHints, LoadingStrategy renderLoadingStrategy, boolean renderEnqueuToFront, LoadingStrategy prefetchLoadingStrategy, boolean prefetchEnqueuToFront)
source
- createHints
- If true, Level
s are created with CacheHints
computed as follows. LoadingStrategy
and enqueue order
are set as specified in the remaining parameters. Priority is
set such that the coarsest mipmap level has highest priority.
If false, Level
s are created with null
CacheHints
.renderLoadingStrategy
- renderEnqueuToFront
- prefetchLoadingStrategy
- prefetchEnqueuToFront
- public DefaultMipmapOrdering(Source<?> source)
public MipmapOrdering.MipmapHints getMipmapHints(AffineTransform3D screenTransform, int timepoint, int previousTimepoint)
MipmapOrdering
getMipmapHints
in interface MipmapOrdering
screenTransform
- transforms screen coordinates to global coordinates.timepoint
- current timepoint indexpreviousTimepoint
- previous timepoint indexCopyright © 2015–2021 Fiji. All rights reserved.