Class ObjFileReader

java.lang.Object
boofcv.io.points.impl.ObjFileReader

public abstract class ObjFileReader extends Object
Reads an OBJ file and adds objects as they are read.
  • Constructor Details

    • ObjFileReader

      public ObjFileReader()
  • Method Details

    • parse

      public void parse(BufferedReader reader) throws IOException
      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

      protected abstract void addLine(DogArray_I32 vertexes)
    • addFace

      protected abstract void addFace(DogArray_I32 vertexes)
    • handleError

      protected void handleError(String message)
      If something goes where it's passed here