Index
All Classes|All Packages
E
- equals(Object) - Method in record class io.github.mwttg.wavefront.extractor.FileData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.mwttg.wavefront.extractor.Index
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.mwttg.wavefront.extractor.Triangle
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.mwttg.wavefront.transformer.Wavefront
-
Indicates whether some other object is "equal to" this one.
- extractFrom(List<String>) - Static method in class io.github.mwttg.wavefront.extractor.ExtractorService
-
Processes each line of the obj file and transforms it to an internal data structure
FileData. - ExtractorService - Class in io.github.mwttg.wavefront.extractor
-
A function for transforming the content of the .obj file for later processing.
F
- faces() - Method in record class io.github.mwttg.wavefront.extractor.FileData
-
Returns the value of the
facesrecord component. - FileData - Record Class in io.github.mwttg.wavefront.extractor
-
The internal data structure, created from parsing the .obj file.
- FileData(List<Vector3f>, List<Vector2f>, List<Vector3f>, List<Triangle>) - Constructor for record class io.github.mwttg.wavefront.extractor.FileData
-
Creates an instance of a
FileDatarecord class. - FileUtilities - Class in io.github.mwttg.wavefront.utilities
-
Utility class for reading text files.
- FileUtilities() - Constructor for class io.github.mwttg.wavefront.utilities.FileUtilities
- fromResource(String) - Static method in class io.github.mwttg.wavefront.WavefrontReader
-
Reads an .obj file from the resource folder.
H
- hashCode() - Method in record class io.github.mwttg.wavefront.extractor.FileData
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.mwttg.wavefront.extractor.Index
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.mwttg.wavefront.extractor.Triangle
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.mwttg.wavefront.transformer.Wavefront
-
Returns a hash code value for this object.
I
- Index - Record Class in io.github.mwttg.wavefront.extractor
-
Holds the index information of one point of the .obj face definition.
- Index(int, Integer, Integer) - Constructor for record class io.github.mwttg.wavefront.extractor.Index
-
Creates an instance of a
Indexrecord class. - io.github.mwttg.wavefront - package io.github.mwttg.wavefront
- io.github.mwttg.wavefront.extractor - package io.github.mwttg.wavefront.extractor
- io.github.mwttg.wavefront.transformer - package io.github.mwttg.wavefront.transformer
- io.github.mwttg.wavefront.utilities - package io.github.mwttg.wavefront.utilities
N
- normal() - Method in record class io.github.mwttg.wavefront.extractor.Index
-
Returns the value of the
normalrecord component. - normals() - Method in record class io.github.mwttg.wavefront.extractor.FileData
-
Returns the value of the
normalsrecord component. - normals() - Method in record class io.github.mwttg.wavefront.transformer.Wavefront
-
Returns the value of the
normalsrecord component.
P
- point1() - Method in record class io.github.mwttg.wavefront.extractor.Triangle
-
Returns the value of the
point1record component. - point2() - Method in record class io.github.mwttg.wavefront.extractor.Triangle
-
Returns the value of the
point2record component. - point3() - Method in record class io.github.mwttg.wavefront.extractor.Triangle
-
Returns the value of the
point3record component.
R
- readFromResources(String) - Static method in class io.github.mwttg.wavefront.utilities.FileUtilities
-
Reads a text file from the resource folder.
T
- textureCoordinate() - Method in record class io.github.mwttg.wavefront.extractor.Index
-
Returns the value of the
textureCoordinaterecord component. - textureCoordinates() - Method in record class io.github.mwttg.wavefront.extractor.FileData
-
Returns the value of the
textureCoordinatesrecord component. - textureCoordinates() - Method in record class io.github.mwttg.wavefront.transformer.Wavefront
-
Returns the value of the
textureCoordinatesrecord component. - toString() - Method in record class io.github.mwttg.wavefront.extractor.FileData
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.mwttg.wavefront.extractor.Index
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.mwttg.wavefront.extractor.Triangle
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.mwttg.wavefront.transformer.Wavefront
-
Returns a string representation of this record class.
- transform(FileData) - Static method in class io.github.mwttg.wavefront.transformer.TransformerService
- TransformerService - Class in io.github.mwttg.wavefront.transformer
-
A function for transforming the internal data model
FileDatato multiple float Arrays (used by OpenGL). - Triangle - Record Class in io.github.mwttg.wavefront.extractor
-
The internal data structure of an .obj face definition
- Triangle(Index, Index, Index) - Constructor for record class io.github.mwttg.wavefront.extractor.Triangle
-
Creates an instance of a
Trianglerecord class.
V
- vertex() - Method in record class io.github.mwttg.wavefront.extractor.Index
-
Returns the value of the
vertexrecord component. - vertices() - Method in record class io.github.mwttg.wavefront.extractor.FileData
-
Returns the value of the
verticesrecord component. - vertices() - Method in record class io.github.mwttg.wavefront.transformer.Wavefront
-
Returns the value of the
verticesrecord component.
W
- Wavefront - Record Class in io.github.mwttg.wavefront.transformer
-
The resulting data structure with float Arrays which can be used by OpenGL.
- Wavefront(float[], float[], float[]) - Constructor for record class io.github.mwttg.wavefront.transformer.Wavefront
-
Creates an instance of a
Wavefrontrecord class. - WavefrontReader - Class in io.github.mwttg.wavefront
-
This is the entry point for the user of that library.
All Classes|All Packages