org.vrforcad
Class ReadVFC

java.lang.Object
  extended by org.vrforcad.ReadVFC

public class ReadVFC
extends java.lang.Object

This class read the .vfc file format.

Version:
1.4
Author:
Daniel Cioi

Constructor Summary
ReadVFC(java.io.File vfcFileName)
           
 
Method Summary
 float[] getColorVFC()
          Get the coolors for each vertex from VFC file.
 float[] getCoordonatesVFC()
          Get the coordonates (for triangle vertices) from VFC file.
 void readData()
          Method to parse the VFC file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadVFC

public ReadVFC(java.io.File vfcFileName)
Method Detail

readData

public void readData()
Method to parse the VFC file.


getCoordonatesVFC

public float[] getCoordonatesVFC()
Get the coordonates (for triangle vertices) from VFC file.

Returns:
coordonates

getColorVFC

public float[] getColorVFC()
Get the coolors for each vertex from VFC file.

Returns:
coolors