Package com.irurueta.geometry.io
package com.irurueta.geometry.io
This package contains classes to read and transcode 3D files in OBJ, STL or
PLY formats.
Support for custom binary and JSON formats is also provided
A file can be read in any of the supported formats using the required Loader implementation. A loader simply allows reading a file iteratively in small chunks.
Writer implementations allow reading a 3D file using a Loader and write it to provided output stream using the format implemented by the specific Writer being used (i.e. JSON, binary, etc.)
-
ClassDescriptionAbstract class that provides methods to access file data at random positions.Contains build data of this library.Raised if attempting to retrieve a CRC value when such an option is not enabled.Class containing a piece of 3D data loaded from a file.Enumeration defining supported data types for PLY format.Contains an element of the header in a PLY file.Enumerator indicating endianness or byte ordering.This class provides methods to access file data at random positions.Base class for exceptions in this package.This class contains elements of the header of a PLY file.Enumerator containing the available illumination options and their corresponding integer values, as shown below: 0.Raised if a material loader fails to validate a texture.Abstract class defining the interface for file loaders.Loads a custom binary file implemented for this library.Raised if a Loader fails to load a file.Defines the interface to iterate on the loading process of a file.Interface that contains method to notify when iterator is finished and there are no more chunks to read.Interface of listener in charge of notifying when the loading starts, ends or to notify loading progress.Loads an OBJ file.Loads PLY files.Raised when a Loader is locked because it is already loading a file.This class provides methods to access file data at random positions using memory mapping for faster data access.Structure containing parameters defining a material, such as color, texture, etc.Defines a material in a 3D Studio Max file.Abstract class defining the interface for classes in charge of loading materials.Interface of listener in charge of notifying when material loading starts, ends or to notify loading progress.MaterialLoader implementation for OBJ files, which is capable of reading its associated MTL file.Implementation of a material for an OBJ file.Enumerator defining supported file formats.Abstract class that defines the interface for writers.Reads a 3D object and converts it into custom binary format.Specific implementation of a mesh writer listener prepared for JSON writer.Listener for a mesh writer.Raised when attempting to retrieve something that is not yet available.Raised when not enough parameters have been provided and an instance is not ready to start a given process.Listener to read a value contained within the byte read buffer and transform it into the appropriate data type.Listener to read the appropriate amount of bytes from a PLY file corresponding to this data type.Enumerator containing different storage modes supported for PLY files.Property contained within a header element.Enumeration defining supported property types.Contains data related to a texture.Utility methods for I/O operations.Interface defining method to be implemented for vertex fetchers.This class defines the structure that contains data for a single vertex in an OBJ file.