Uses of Class
com.irurueta.geometry.io.LoaderException

  • Uses of LoaderException in com.irurueta.geometry.io

    Modifier and Type
    Class
    Description
    class 
    Raised if a material loader fails to validate a texture.
    Modifier and Type
    Method
    Description
    void
    LoaderPLY.LoaderIteratorPLY.AsciiVertexFetcherListener.fetch(long index)
    Fetches vertex position and sets current stream position to desired vertex.
    void
    LoaderPLY.LoaderIteratorPLY.BinaryVertexFetcherListener.fetch(long index)
    Fetches vertex position and sets current stream position to desired vertex.
    void
    VertexFetcherListener.fetch(long index)
    Moves current file position so that on next read requested vertex data can be read.
    void
    LoaderOBJ.LoaderIteratorOBJ.fetchNormal(long index)
    Fetches normal data in the file using provided index.
    void
    LoaderOBJ.LoaderIteratorOBJ.fetchTexture(long index)
    Fetches texture data in the file using provided index.
    void
    LoaderOBJ.LoaderIteratorOBJ.fetchVertex(long index)
    Fetches vertex data in the file using provided index.
    private void
    LoaderPLY.LoaderIteratorPLY.findFirstVertexAndFaceStreamPosition()
    Finds in file stream the location of the first vertex and face.
    private List<VertexOBJ>
    LoaderOBJ.LoaderIteratorOBJ.getFaceValues(String[] values)
    This method reads a line containing face (i.e. polygon) indices of vertices and fetches those vertices coordinates and associated data such as texture coordinates or normal coordinates.
    Loader.load()
    Starts the loading process of provided file.
    LoaderBinary.load()
    Starts the loading process of provided file.
    LoaderOBJ.load()
    Starts the loading process of provided file.
    LoaderPLY.load()
    Starts the loading process.
    LoaderSTL.load()
    Starts the loading process of provided file.
    abstract Set<Material>
    MaterialLoader.load()
    Starts the loading process of provided file.
    MaterialLoaderOBJ.load()
    Starts the loading process of provided file.
    protected <T> T
    Runs a step of the loading process (started while this loader is locked) and releases the lock if the step fails, so that this loader can be reused after a corrupted or unreadable file.
    protected <T> T
    MaterialLoader.loadReleasingLockOnFailure(Loader.LoadOperation<T> operation)
    Runs a step of the loading process (started while this loader is locked) and releases the lock if the step fails, so that this loader can be reused after a corrupted or unreadable file.
    LoaderBinary.LoaderIteratorBinary.next()
    Loads and returns next chunk of data, if available.
    LoaderIterator.next()
    Reads next chunk of data on the file.
    LoaderOBJ.LoaderIteratorOBJ.next()
    Loads and returns next chunk of data, if available.
    LoaderPLY.LoaderIteratorPLY.next()
    Reads next chunk of data from PLY file.
    LoaderSTL.LoaderIteratorSTL.next()
    Loads and returns next chunk of data, if available.
    private void
    MaterialLoaderOBJ.parseLine(String line)
    Parses a line in an MTL file.
    private void
    LoaderPLY.readFromStream()
    Reads header of provided file and initializes iterator to read data chunks of this file.
    private void
    LoaderPLY.readHeader()
    Reads the header of provided file.
    private DataChunk
    LoaderBinary.LoaderIteratorBinary.readNextChunk()
    Reads next chunk of data.
    private DataChunk
    LoaderOBJ.LoaderIteratorOBJ.readNextChunk()
    Reads next chunk of data.
    private DataChunk
    LoaderPLY.LoaderIteratorPLY.readNextChunk()
    Reads next chunk of data.
    private DataChunk
    LoaderSTL.LoaderIteratorSTL.readNextChunk()
    Reads next chunk of data.
    protected DataChunk
    Reads a chunk of data while iterating a file and releases the lock of this loader if reading fails, so that this loader can be reused after a corrupted or unreadable file.
    private void
    LoaderBinary.readTextures()
    Reads textures until no more textures are available.
    Loader.LoadOperation.run()
    Executes loading step.
    Loader.ReadOperation.run()
    Reads a chunk of data.
    private void
    LoaderOBJ.LoaderIteratorOBJ.setUp()
    Setups loader iterator.
    private void
    LoaderPLY.LoaderIteratorPLY.setUp()
    Reads header data to set up listeners capable of reading stream data according to data types contained in header.
    private void
    LoaderSTL.LoaderIteratorSTL.setUp()
    Setups loader iterator.
    private DataTypePLY
    LoaderPLY.wordToDataType(String word)
    Converts a word into a data type.
    abstract void
    MeshWriter.write()
    Abstract method to process input file and write it into output stream.
    void
    MeshWriterBinary.write()
    Processes input file provided to loader and writes it trans-coded into output stream.
    void
    MeshWriterJson.write()
    Processes input file provided to loader and writes it trans-coded into output stream.
    Constructors in com.irurueta.geometry.io that throw LoaderException
    Modifier
    Constructor
    Description
     
    Constructor.
     
    Constructor.
     
    Constructor.