Package boofcv.io.points.impl
Class StlFileReader
java.lang.Object
boofcv.io.points.impl.StlFileReader
Reads in a file that's in STL format and saves to a
StlDataStructure
.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionboofcv.io.points.impl.StlFileReader.AddVertex
Operation used to add a vertex. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
readAscii
(BufferedReader input, StlDataStructure out) Parses a file in the STL ASCII formatvoid
readBinary
(InputStream input, StlDataStructure out) Parses a file in the STL binary format
-
Field Details
-
opVertexAdd
public boofcv.io.points.impl.StlFileReader.AddVertex opVertexAddOperation used to add a vertex. This can be used to compress the amount of storage used to save the mesh by re-using vertexes. By default this employs a mindless approach
-
-
Constructor Details
-
StlFileReader
public StlFileReader()
-
-
Method Details
-
readAscii
Parses a file in the STL ASCII format- Throws:
IOException
-
readBinary
Parses a file in the STL binary format- Throws:
IOException
-