jp.go.aist.dmrc.platform.beans.graphics.ThreeDGraphics
クラス PFStlReader

java.lang.Object
  上位を拡張 jp.go.aist.dmrc.platform.beans.graphics.ThreeDGraphics.PFStlReader

public class PFStlReader
extends java.lang.Object

STLデータ読み込みクラス


フィールドの概要
protected  PFPolygonList polygonList
          ポリゴンリスト
protected  float scale
          スケーリングファクタ
protected  java.lang.String stlFileName
          STLファイル名
 
コンストラクタの概要
PFStlReader()
          デフォルトコンストラクタ
 
メソッドの概要
 PFPolygonList getPolygonList()
          ポリゴンリストを取得
 float getScaleFactor()
          スケーリングファクタを取得
 void read(java.lang.String stlfile)
          STLファイル読み込み
 void setScaleFactor(float scale)
          スケーリングファクタを設定
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

stlFileName

protected java.lang.String stlFileName
STLファイル名


polygonList

protected PFPolygonList polygonList
ポリゴンリスト


scale

protected float scale
スケーリングファクタ

コンストラクタの詳細

PFStlReader

public PFStlReader()
デフォルトコンストラクタ

メソッドの詳細

read

public void read(java.lang.String stlfile)
          throws java.io.IOException
STLファイル読み込み

パラメータ:
stlfile - STLファイル名
例外:
java.io.IOException

getPolygonList

public PFPolygonList getPolygonList()
ポリゴンリストを取得

戻り値:
PFPolygonList

getScaleFactor

public float getScaleFactor()
スケーリングファクタを取得

戻り値:
double

setScaleFactor

public void setScaleFactor(float scale)
スケーリングファクタを設定

パラメータ:
scale - スケーリングファクタ