pedviz.view.symbols3d
Class SymbolSexUndesignated3d

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

public class SymbolSexUndesignated3d
extends Symbol3D

Draws the symbol for a individual with unknown sex.

Author:
lukas forer

Field Summary
 
Fields inherited from class pedviz.view.symbols3d.Symbol3D
STYLE_NORMAL, STYLE_TURM
 
Constructor Summary
SymbolSexUndesignated3d()
           
SymbolSexUndesignated3d(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

SymbolSexUndesignated3d

public SymbolSexUndesignated3d()

SymbolSexUndesignated3d

public SymbolSexUndesignated3d(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