Package com.metsci.glimpse.dnc
Class DncLabelAtlases
- java.lang.Object
-
- com.metsci.glimpse.dnc.DncLabelAtlases
-
public class DncLabelAtlases extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDncLabelAtlases.DncDeviceLabelAtlasstatic classDncLabelAtlases.DncHostLabelAtlas
-
Field Summary
Fields Modifier and Type Field Description static intcoordsPerLabelAtlasAlignstatic intcoordsPerLabelAtlasBounds
-
Constructor Summary
Constructors Constructor Description DncLabelAtlases()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DncLabelAtlases.DncHostLabelAtlascreateHostLabelAtlas(DncChunks.DncHostChunk hChunk, CharBuffer charsBuf, IntBuffer lengthsBuf, it.unimi.dsi.fastutil.ints.Int2ObjectMap<Color> colors, int maxTextureDim, double screenDpi)static DncLabelAtlases.DncDeviceLabelAtlasxferLabelAtlasToDevice(DncLabelAtlases.DncHostLabelAtlas hAtlas, com.jogamp.opengl.GL gl)
-
-
-
Field Detail
-
coordsPerLabelAtlasAlign
public static final int coordsPerLabelAtlasAlign
- See Also:
- Constant Field Values
-
coordsPerLabelAtlasBounds
public static final int coordsPerLabelAtlasBounds
- See Also:
- Constant Field Values
-
-
Method Detail
-
createHostLabelAtlas
public static DncLabelAtlases.DncHostLabelAtlas createHostLabelAtlas(DncChunks.DncHostChunk hChunk, CharBuffer charsBuf, IntBuffer lengthsBuf, it.unimi.dsi.fastutil.ints.Int2ObjectMap<Color> colors, int maxTextureDim, double screenDpi) throws IOException
- Throws:
IOException
-
xferLabelAtlasToDevice
public static DncLabelAtlases.DncDeviceLabelAtlas xferLabelAtlasToDevice(DncLabelAtlases.DncHostLabelAtlas hAtlas, com.jogamp.opengl.GL gl)
-
-