|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nl.tudelft.goal.ut2004.visualizer.timeline.map.WaypointRenderer
public class WaypointRenderer
Sub renderer for Flag objects.
Field Summary | |
---|---|
static double |
NAVPOINT_FLOAT
|
static double |
NAVPOINT_INNER_RADIUS
|
static double |
NAVPOINT_OUTER_RADIUS
|
static int |
NAVPOINT_RINGS
|
static int |
NAVPOINT_SLICES
|
Constructor Summary | |
---|---|
WaypointRenderer(cz.cuni.amis.pogamut.unreal.communication.worldview.map.IUnrealWaypoint waypoint,
int glName)
Create a new subrenderer with passed waypoint as source of data. |
Method Summary | |
---|---|
void |
destroy()
Call renderer to clean up any resources it used. |
static Color |
getColor()
|
int |
getGLName()
|
cz.cuni.amis.pogamut.unreal.communication.worldview.map.IUnrealWaypoint |
getObject()
Return object this renderer draws. |
void |
prepare(javax.media.opengl.GL gl)
Here should be done preparation for rendering (e.g. |
void |
render(javax.media.opengl.GL gla)
Display stuff you want to. |
static void |
setColor(Color c)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double NAVPOINT_OUTER_RADIUS
public static final double NAVPOINT_INNER_RADIUS
public static final int NAVPOINT_SLICES
public static final int NAVPOINT_RINGS
public static final double NAVPOINT_FLOAT
Constructor Detail |
---|
public WaypointRenderer(cz.cuni.amis.pogamut.unreal.communication.worldview.map.IUnrealWaypoint waypoint, int glName)
renderableUTAgent
- agent used as source of data.Method Detail |
---|
public void prepare(javax.media.opengl.GL gl)
ISubGLRenderer
prepare
in interface ISubGLRenderer<cz.cuni.amis.pogamut.unreal.communication.worldview.map.IUnrealWaypoint>
public void render(javax.media.opengl.GL gla)
ISubGLRenderer
CollectionRenderer
render
in interface ISubGLRenderer<cz.cuni.amis.pogamut.unreal.communication.worldview.map.IUnrealWaypoint>
public cz.cuni.amis.pogamut.unreal.communication.worldview.map.IUnrealWaypoint getObject()
ISubGLRenderer
getObject
in interface ISubGLRenderer<cz.cuni.amis.pogamut.unreal.communication.worldview.map.IUnrealWaypoint>
public static Color getColor()
public static void setColor(Color c)
public int getGLName()
getGLName
in interface ISubGLRenderer<cz.cuni.amis.pogamut.unreal.communication.worldview.map.IUnrealWaypoint>
public void destroy()
ISubGLRenderer
destroy
in interface ISubGLRenderer<cz.cuni.amis.pogamut.unreal.communication.worldview.map.IUnrealWaypoint>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |