Package boofcv.io.points.impl
Class ObjFileReader
java.lang.Object
boofcv.io.points.impl.ObjFileReader
Reads an OBJ file and adds objects as they are read.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
addFace
(DogArray_I32 vertexes) protected abstract void
addLine
(DogArray_I32 vertexes) protected abstract void
addPoint
(int vertex) protected abstract void
addVertex
(double x, double y, double z) protected void
handleError
(String message) If something goes where it's passed herevoid
parse
(BufferedReader reader) Decodes / reads the OBJ file encoded as text in the reader
-
Constructor Details
-
ObjFileReader
public ObjFileReader()
-
-
Method Details
-
parse
Decodes / reads the OBJ file encoded as text in the reader- Throws:
IOException
-
addVertex
protected abstract void addVertex(double x, double y, double z) -
addPoint
protected abstract void addPoint(int vertex) -
addLine
-
addFace
-
handleError
If something goes where it's passed here
-