pedviz.view.symbols3d
Class SymbolAdopted3d

java.lang.Object
  extended by pedviz.view.Symbol
      extended by pedviz.view.symbols3d.Symbol3D
          extended by pedviz.view.symbols3d.SymbolAdopted3d
All Implemented Interfaces:
java.lang.Comparable

public class SymbolAdopted3d
extends Symbol3D

Draws the symbol for an adopted individual.

Author:
lukas forer

Field Summary
 
Fields inherited from class pedviz.view.symbols3d.Symbol3D
STYLE_NORMAL, STYLE_TURM
 
Constructor Summary
SymbolAdopted3d()
           
SymbolAdopted3d(int style)
           
 
Method Summary
 javax.media.j3d.GeometryArray[] createShape(javax.vecmath.Point3f position, float size, java.awt.Color fill)
          Creates the GeometryArray of this symbol.
 int getPriority()
          Returns the priority of the symbol.
 
Methods inherited from class pedviz.view.symbols3d.Symbol3D
getStyle, setStyle
 
Methods inherited from class pedviz.view.Symbol
compareTo, getHeight, setColors
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SymbolAdopted3d

public SymbolAdopted3d()

SymbolAdopted3d

public SymbolAdopted3d(int style)
Method Detail

createShape

public javax.media.j3d.GeometryArray[] createShape(javax.vecmath.Point3f position,
                                                   float size,
                                                   java.awt.Color fill)
Description copied from class: Symbol3D
Creates the GeometryArray of this symbol.

Specified by:
createShape in class Symbol3D
Parameters:
position - Position.
size - Size.
fill - fill color.
Returns:

getPriority

public int getPriority()
Description copied from class: Symbol
Returns the priority of the symbol. Symbols like SymbolSexMale and SymbolSexFemale have a low priority (0) however the SymbolDeceased has a higher priority (5). The priorities define the sequence for drawing the symbols.

Specified by:
getPriority in class Symbol
Returns:
priority of the symbol