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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidaddFace(DogArray_I32 vertexes) protected abstract voidaddLine(DogArray_I32 vertexes) protected abstract voidaddPoint(int vertex) protected abstract voidaddVertex(double x, double y, double z) protected voidhandleError(String message) If something goes where it's passed herevoidparse(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
-