jv.loader
Class PgStlLoader
java.lang.Object
|
+--jv.loader.PgStlLoader
- public class PgStlLoader
- extends java.lang.Object
Loader for geometry files given in STL file format.
- Version:
- 26.02.01, 1.00 revised (kp)
26.02.01, 1.00 created (kp)
- Author:
- Konrad Polthier
|
Method Summary |
protected boolean |
parse(java.io.BufferedReader bufReader)
Parse a .stl file and fill instance variables of this class.
|
PgJvxSrc |
read(java.io.BufferedReader in)
Read geometry file in STL file format. |
static java.lang.String |
write(PgJvxSrc geom)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_numVertices
protected int m_numVertices
m_numElements
protected int m_numElements
m_numElementNormals
protected int m_numElementNormals
m_vVertex
protected java.util.Vector m_vVertex
- List of parsed vertices.
m_dimOfElements
protected int m_dimOfElements
- Dimension of elements.
m_vElement
protected java.util.Vector m_vElement
- List of parsed elements, element connectivity.
m_vElementNormal
protected java.util.Vector m_vElementNormal
- List of parsed element normals.
m_name
protected java.lang.String m_name
- Name of geometry.
PgStlLoader
public PgStlLoader()
read
public PgJvxSrc read(java.io.BufferedReader in)
- Read geometry file in STL file format.
parse
protected boolean parse(java.io.BufferedReader bufReader)
- Parse a
.stl file and fill instance variables of this class.
This is a helper routine of read.
- See Also:
PgStlLoader#read(PgGeometry, String)
write
public static java.lang.String write(PgJvxSrc geom)
The software JavaView® is copyright protected. All Rights Reserved.