|
BowlerKernel
|

Public Member Functions | |
| STLLoader () | |
| ArrayList< Point3f > | parse (File f) throws IOException |
Private Member Functions | |
| void | parseAscii (File f) |
| void | parseBinary (File f) |
| float | parseFloat (String string) throws ParseException |
| float | leBytesToFloat (byte b0, byte b1, byte b2, byte b3) |
Private Attributes | |
| ArrayList< Point3f > | vertices = new ArrayList<>() |
| Point3f | normal = new Point3f(0.0f, 0.0f, 0.0f) |
| FileInputStream | fis |
| int | triangles |
The Class STLLoader.
Definition at line 28 of file STLLoader.java.
| eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.STLLoader | ( | ) |
Instantiates a new STL loader.
Definition at line 50 of file STLLoader.java.
|
private |
Le bytes to float.
| b0 | the b0 |
| b1 | the b1 |
| b2 | the b2 |
| b3 | the b3 |
Definition at line 222 of file STLLoader.java.
Referenced by eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.parseBinary().
| ArrayList<Point3f> eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.parse | ( | File | f | ) | throws IOException |
Parses the.
| f | the f |
| IOException | Signals that an I/O exception has occurred. |
Definition at line 82 of file STLLoader.java.
References eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.parseAscii(), eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.parseBinary(), eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.triangles, and eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.vertices.
Referenced by eu.mihosoft.vrl.v3d.STL.file().

|
private |
Parses the ascii.
| f | the f |
Definition at line 123 of file STLLoader.java.
References eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.normal, eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.parseFloat(), and eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.vertices.
Referenced by eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.parse().

|
private |
Parses the binary.
| f | the f |
Definition at line 158 of file STLLoader.java.
References eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.fis, eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.leBytesToFloat(), eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.normal, eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.triangles, and eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.vertices.
Referenced by eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.parse().

|
private |
Parses the float.
| string | the string |
| ParseException | the parse exception |
Definition at line 208 of file STLLoader.java.
Referenced by eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.parseAscii().
|
private |
The fis.
Definition at line 67 of file STLLoader.java.
Referenced by eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.parseBinary().
|
private |
The normal.
Definition at line 64 of file STLLoader.java.
Referenced by eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.parseAscii(), and eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.parseBinary().
|
private |
The triangles.
Definition at line 70 of file STLLoader.java.
Referenced by eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.parse(), and eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.parseBinary().
|
private |
The vertices.
Definition at line 61 of file STLLoader.java.
Referenced by eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.parse(), eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.parseAscii(), and eu.mihosoft.vrl.v3d.ext.imagej.STLLoader.parseBinary().