org.jcae.viewer3d.fd.sd
Class Mesh

java.lang.Object
  extended by org.jcae.viewer3d.fd.sd.Mesh

public class Mesh
extends java.lang.Object


Field Summary
 float maxValue
           
 float minValue
           
 int texturingThreshold
           
 
Constructor Summary
Mesh()
          Creates a new instance of Mesh
 
Method Summary
 byte[] getColoredPlateColors(int groupId)
           
 int[] getColoredPlateColorsIndices(int groupId)
           
 float[] getColoredPlateCoordinates(int groupId)
           
 int[] getColoredPlateCoordinatesIndices(int groupId)
           
 int[] getCoordinateIndices(int groupId)
           
 float[] getCoordinates(int groupId)
           
 float[][] getGrid()
           
 int[] getGroupsIDs()
           
 int getNumberOfTexturedPlates(int groupId)
           
 Plate getPlate(int groupId, int plateId)
           
 java.util.ArrayList<Plate> getPlates(int groupId)
           
 int[] getTexture(int groupId, int plateID)
           
 float[] getTexturedPlateCoordinates(int groupId, int plateID)
           
 java.util.HashMap<java.lang.Integer,Wire> getWires()
           
 void loadGr02File(java.io.File f)
           
 void loadJqf02File(java.io.File f, int iteration, int valueType)
           
 void loadPl02File(java.io.File f)
           
 void loadPl22File(java.io.File f)
           
 void loadWi02File(java.io.File f)
           
 void logarithm()
           
static void main(java.lang.String[] args)
           
 void prepareForDisplay()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

texturingThreshold

public int texturingThreshold

minValue

public float minValue

maxValue

public float maxValue
Constructor Detail

Mesh

public Mesh()
Creates a new instance of Mesh

Method Detail

logarithm

public void logarithm()

getGroupsIDs

public int[] getGroupsIDs()

getNumberOfTexturedPlates

public int getNumberOfTexturedPlates(int groupId)

getTexture

public int[] getTexture(int groupId,
                        int plateID)

getCoordinates

public float[] getCoordinates(int groupId)

getCoordinateIndices

public int[] getCoordinateIndices(int groupId)

getTexturedPlateCoordinates

public float[] getTexturedPlateCoordinates(int groupId,
                                           int plateID)

getColoredPlateCoordinates

public float[] getColoredPlateCoordinates(int groupId)

getColoredPlateCoordinatesIndices

public int[] getColoredPlateCoordinatesIndices(int groupId)

getColoredPlateColors

public byte[] getColoredPlateColors(int groupId)

getColoredPlateColorsIndices

public int[] getColoredPlateColorsIndices(int groupId)

prepareForDisplay

public void prepareForDisplay()

loadGr02File

public void loadGr02File(java.io.File f)
                  throws java.io.IOException,
                         java.io.FileNotFoundException
Throws:
java.io.IOException
java.io.FileNotFoundException

loadJqf02File

public void loadJqf02File(java.io.File f,
                          int iteration,
                          int valueType)
                   throws java.io.IOException
Throws:
java.io.IOException

loadWi02File

public void loadWi02File(java.io.File f)
                  throws java.lang.Exception
Throws:
java.lang.Exception

loadPl22File

public void loadPl22File(java.io.File f)
                  throws java.lang.Exception
Throws:
java.lang.Exception

loadPl02File

public void loadPl02File(java.io.File f)
                  throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)

getPlates

public java.util.ArrayList<Plate> getPlates(int groupId)

getPlate

public Plate getPlate(int groupId,
                      int plateId)

getGrid

public float[][] getGrid()

getWires

public java.util.HashMap<java.lang.Integer,Wire> getWires()