sim.portrayal3d.grid.fastgridcell
Class MeshCellPortrayal

java.lang.Object
  extended bysim.portrayal3d.grid.fastgridcell.GridCellQuadPortrayal
      extended bysim.portrayal3d.grid.fastgridcell.MeshCellPortrayal
All Implemented Interfaces:
Portrayal, java.io.Serializable

public class MeshCellPortrayal
extends GridCellQuadPortrayal

See Also:
Serialized Form

Field Summary
 float[] tmpColor
           
 float[] tmpCoords
           
 
Constructor Summary
MeshCellPortrayal(int colorComponents, ColorCoding colorDispenser, int width, int height)
           
 
Method Summary
 void setData(GridCellInfo gridCell, float[] coordinates, float[] colors, int quadIndex)
           
 
Methods inherited from class sim.portrayal3d.grid.fastgridcell.GridCellQuadPortrayal
getInspector, getName, setSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tmpCoords

public float[] tmpCoords

tmpColor

public float[] tmpColor
Constructor Detail

MeshCellPortrayal

public MeshCellPortrayal(int colorComponents,
                         ColorCoding colorDispenser,
                         int width,
                         int height)
Method Detail

setData

public void setData(GridCellInfo gridCell,
                    float[] coordinates,
                    float[] colors,
                    int quadIndex)
Specified by:
setData in class GridCellQuadPortrayal