pedviz.view.symbols3d
Class Symbol3D

java.lang.Object
  extended by pedviz.view.Symbol
      extended by pedviz.view.symbols3d.Symbol3D
All Implemented Interfaces:
java.lang.Comparable
Direct Known Subclasses:
SymbolAdopted3d, SymbolDeceased3d, SymbolFamily3d, SymbolSexFemale3d, SymbolSexFemaleLow, SymbolSexMale3d, SymbolSexMaleLow, SymbolSexUndesignated3d, SymbolSexUndesignatedLow

public abstract class Symbol3D
extends Symbol

This class is the super class for all implemented symbols for the 3d visualization.

Author:
lukas forer

Field Summary
static int STYLE_NORMAL
           
static int STYLE_TURM
           
 
Constructor Summary
Symbol3D(int style)
          Create a new Symbol object with the given style.
 
Method Summary
abstract  javax.media.j3d.GeometryArray[] createShape(javax.vecmath.Point3f position, float size, java.awt.Color fill)
          Creates the GeometryArray of this symbol.
 int getStyle()
          Returns the style for this symbol.
 void setStyle(int style)
          Sets the style for this symbol.
 
Methods inherited from class pedviz.view.Symbol
compareTo, getHeight, getPriority, setColors
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STYLE_TURM

public static final int STYLE_TURM
See Also:
Constant Field Values

STYLE_NORMAL

public static final int STYLE_NORMAL
See Also:
Constant Field Values
Constructor Detail

Symbol3D

public Symbol3D(int style)
Create a new Symbol object with the given style.

Parameters:
style - Style
Method Detail

createShape

public abstract javax.media.j3d.GeometryArray[] createShape(javax.vecmath.Point3f position,
                                                            float size,
                                                            java.awt.Color fill)
Creates the GeometryArray of this symbol.

Parameters:
position - Position.
size - Size.
fill - fill color.
Returns:

setStyle

public void setStyle(int style)
Sets the style for this symbol.

Parameters:
style - the style for this symbol.

getStyle

public int getStyle()
Returns the style for this symbol.

Returns:
the style for this symbol.