JavaView® v2.00.008

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

Field Summary
protected  int m_dimOfElements
          Dimension of elements.
protected  java.lang.String m_name
          Name of geometry.
protected  int m_numElementNormals
           
protected  int m_numElements
           
protected  int m_numVertices
           
protected  java.util.Vector m_vElement
          List of parsed elements, element connectivity.
protected  java.util.Vector m_vElementNormal
          List of parsed element normals.
protected  java.util.Vector m_vVertex
          List of parsed vertices.
 
Constructor Summary
PgStlLoader()
           
 
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
 

Field Detail

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.
Constructor Detail

PgStlLoader

public PgStlLoader()
Method Detail

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)

JavaView® v2.00.008

The software JavaView® is copyright protected. All Rights Reserved.