Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## sim.portrayal3d.grid.quad
Class TilePortrayal

    java.lang.Object
      sim.portrayal3d.grid.quad.QuadPortrayal
          sim.portrayal3d.grid.quad.TilePortrayal

All Implemented Interfaces:
  Portrayal, java.io.Serializable

public class TilePortrayal
extends QuadPortrayal

A QuadPortrayal which describes locations as the center of a square in a grid (like tiles on the floor, each tile corresponding to a location on the grid).

See Also:
  Serialized Form

Nested Class Summary

Nested classes inherited from class sim.portrayal3d.grid.quad.QuadPortrayal
`QuadPortrayal.DoubleFilter, QuadPortrayal.Filter, QuadPortrayal.IntFilter`

Field Summary
`float[]` | `tmpColor`
`float[]` | `tmpCoords`

Fields inherited from class sim.portrayal3d.grid.quad.QuadPortrayal
`colorDispenser, zScale`

Constructor Summary
`TilePortrayal(ColorMap colorDispenser)`
`TilePortrayal(ColorMap colorDispenser, float zScale)`

Method Summary
`void` | `setData(ValueGridCellInfo gridCell, float[] coordinates, float[] colors, int quadIndex, int gridWidth, int gridHeight)`

Methods inherited from class sim.portrayal3d.grid.quad.QuadPortrayal
`getCellForIntersection, 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

### TilePortrayal

    public TilePortrayal(ColorMap colorDispenser)

### TilePortrayal

    public TilePortrayal(ColorMap colorDispenser,
                         float zScale)

Method Detail

### setData

    public void setData(ValueGridCellInfo gridCell,
                        float[] coordinates,
                        float[] colors,
                        int quadIndex,
                        int gridWidth,
                        int gridHeight)

  Specified by:
    `setData` in class `QuadPortrayal`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD