Package com.metsci.glimpse.dnc.convert
Class Render
- java.lang.Object
-
- com.metsci.glimpse.dnc.convert.Render
-
public class Render extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRender.RenderChunk
-
Field Summary
Fields Modifier and Type Field Description static intcoordsPerRenderIconVertexstatic intcoordsPerRenderLabelVertexstatic intcoordsPerRenderLineVertexstatic intcoordsPerRenderTriangleVertexstatic intfloatsPerRenderLibrarystatic intintsPerRenderGroupstatic intlongsPerRenderChunkstatic StringrenderCharsetFilenamestatic StringrenderChunksFilenamestatic StringrenderConfigFilenamestatic StringrenderCoveragesFilenamestatic StringrenderCursorFilenamestatic StringrenderFormatVersionstatic StringrenderGroupsFilenamestatic StringrenderLabelCharsFilenamestatic StringrenderLabelLengthsFilenamestatic StringrenderLibrariesFilenamestatic StringrenderMutexFilenamestatic StringrenderVerticesFilename
-
Constructor Summary
Constructors Constructor Description Render()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CharsetreadRenderCharset(File renderDir)static List<Render.RenderChunk>readRenderChunks(LongBuffer chunksBuf, List<DncLibrary> libraries, List<DncCoverage> coverages)static StringreadRenderConfig(File renderDir, Charset charset)static List<DncCoverage>readRenderCoveragesFile(File file, Charset charset)static List<DncLibrary>readRenderLibrariesFile(File file, Charset charset)static voidwriteRenderCharset(File renderDir, Charset charset)static voidwriteRenderConfig(File renderDir, String configString, Charset charset)
-
-
-
Field Detail
-
renderFormatVersion
public static final String renderFormatVersion
- See Also:
- Constant Field Values
-
renderCharsetFilename
public static final String renderCharsetFilename
- See Also:
- Constant Field Values
-
renderConfigFilename
public static final String renderConfigFilename
- See Also:
- Constant Field Values
-
renderLibrariesFilename
public static final String renderLibrariesFilename
- See Also:
- Constant Field Values
-
renderCoveragesFilename
public static final String renderCoveragesFilename
- See Also:
- Constant Field Values
-
renderMutexFilename
public static final String renderMutexFilename
- See Also:
- Constant Field Values
-
renderCursorFilename
public static final String renderCursorFilename
- See Also:
- Constant Field Values
-
renderChunksFilename
public static final String renderChunksFilename
- See Also:
- Constant Field Values
-
renderGroupsFilename
public static final String renderGroupsFilename
- See Also:
- Constant Field Values
-
renderLabelCharsFilename
public static final String renderLabelCharsFilename
- See Also:
- Constant Field Values
-
renderLabelLengthsFilename
public static final String renderLabelLengthsFilename
- See Also:
- Constant Field Values
-
renderVerticesFilename
public static final String renderVerticesFilename
- See Also:
- Constant Field Values
-
longsPerRenderChunk
public static final int longsPerRenderChunk
- See Also:
- Constant Field Values
-
intsPerRenderGroup
public static final int intsPerRenderGroup
- See Also:
- Constant Field Values
-
floatsPerRenderLibrary
public static final int floatsPerRenderLibrary
- See Also:
- Constant Field Values
-
coordsPerRenderTriangleVertex
public static final int coordsPerRenderTriangleVertex
- See Also:
- Constant Field Values
-
coordsPerRenderLineVertex
public static final int coordsPerRenderLineVertex
- See Also:
- Constant Field Values
-
coordsPerRenderIconVertex
public static final int coordsPerRenderIconVertex
- See Also:
- Constant Field Values
-
coordsPerRenderLabelVertex
public static final int coordsPerRenderLabelVertex
- See Also:
- Constant Field Values
-
-
Method Detail
-
readRenderCharset
public static Charset readRenderCharset(File renderDir) throws IOException
- Throws:
IOException
-
writeRenderCharset
public static void writeRenderCharset(File renderDir, Charset charset) throws IOException
- Throws:
IOException
-
readRenderConfig
public static String readRenderConfig(File renderDir, Charset charset) throws IOException
- Throws:
IOException
-
writeRenderConfig
public static void writeRenderConfig(File renderDir, String configString, Charset charset) throws IOException
- Throws:
IOException
-
readRenderLibrariesFile
public static List<DncLibrary> readRenderLibrariesFile(File file, Charset charset) throws IOException
- Throws:
IOException
-
readRenderCoveragesFile
public static List<DncCoverage> readRenderCoveragesFile(File file, Charset charset) throws IOException
- Throws:
IOException
-
readRenderChunks
public static List<Render.RenderChunk> readRenderChunks(LongBuffer chunksBuf, List<DncLibrary> libraries, List<DncCoverage> coverages)
-
-