pedviz.view.symbols3d
Class SymbolSexMale3d

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

public class SymbolSexMale3d
extends Symbol3D

Draws the symbol for a male individual.

Author:
lukas forer

Field Summary
 
Fields inherited from class pedviz.view.symbols3d.Symbol3D
STYLE_NORMAL, STYLE_TURM
 
Constructor Summary
SymbolSexMale3d()
           
SymbolSexMale3d(int style)
           
 
Method Summary
 javax.media.j3d.GeometryArray[] createShape(javax.vecmath.Point3f p, 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

SymbolSexMale3d

public SymbolSexMale3d()

SymbolSexMale3d

public SymbolSexMale3d(int style)
Method Detail

createShape

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

Specified by:
createShape in class Symbol3D
Parameters:
p - 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