Package com.irurueta.geometry.io
Interface LoaderIterator
- All Known Implementing Classes:
LoaderBinary.LoaderIteratorBinary,LoaderOBJ.LoaderIteratorOBJ,LoaderPLY.LoaderIteratorPLY,LoaderSTL.LoaderIteratorSTL
public interface LoaderIterator
Defines the interface to iterate on the loading process of a file.
-
Method Summary
-
Method Details
-
hasNext
boolean hasNext()Returns boolean indicating if there is more data to be read.- Returns:
- True if there are more chunks to be read, false otherwise.
-
next
Reads next chunk of data on the file.- Returns:
- Chunk of data containing vertices, indices, colors, textures, etc.
- Throws:
NotAvailableException- Raised if no more chunks are available.LoaderException- Raised if file cannot be read because it is either corrupted or cannot be interpreted.IOException- if an I/O error occurs.
-