Package com.io7m.smfj.processing.api
Class SMFMemoryMeshParser
- java.lang.Object
-
- com.io7m.smfj.processing.api.SMFMemoryMeshParser
-
public final class SMFMemoryMeshParser extends java.lang.Object
A parser that turns a memory mesh into a
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SMFParserRandomAccessType
createRandomAccess(SMFMemoryMesh mesh, SMFParserEventsType events)
Create a new random access parser from the given mesh.static SMFParserSequentialType
createSequential(SMFMemoryMesh mesh, SMFParserEventsType events)
Create a new sequential access parser from the given mesh.
-
-
-
Method Detail
-
createRandomAccess
public static SMFParserRandomAccessType createRandomAccess(SMFMemoryMesh mesh, SMFParserEventsType events)
Create a new random access parser from the given mesh.- Parameters:
mesh
- The source meshevents
- The event receiver- Returns:
- A parser
-
createSequential
public static SMFParserSequentialType createSequential(SMFMemoryMesh mesh, SMFParserEventsType events)
Create a new sequential access parser from the given mesh.- Parameters:
mesh
- The source meshevents
- The event receiver- Returns:
- A parser
-
-