de.jreality.tutorial.util.polygon
Class PointSequenceView

java.lang.Object
  extended by de.jreality.tutorial.util.polygon.PointSequenceView
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ChangeListener

public class PointSequenceView
extends java.lang.Object
implements javax.swing.event.ChangeListener

A geometry representation for a PointSequence. Will update to any changes of the sequence.

Author:
Steffen Weissmann

Constructor Summary
PointSequenceView(PointSequence sequence)
          Constructs a geometry for a point sequence.
 
Method Summary
 SceneGraphComponent getBase()
           
 void setLineColor(java.awt.Color c)
           
 void setLineRadius(double r)
           
 void setPointColor(java.awt.Color c)
           
 void setPointRadius(double r)
           
 void stateChanged(javax.swing.event.ChangeEvent e)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointSequenceView

public PointSequenceView(PointSequence sequence)
Constructs a geometry for a point sequence.

Parameters:
sequence - the sequence to visualize.
Method Detail

setPointRadius

public void setPointRadius(double r)

setLineRadius

public void setLineRadius(double r)

setPointColor

public void setPointColor(java.awt.Color c)

setLineColor

public void setLineColor(java.awt.Color c)

stateChanged

public void stateChanged(javax.swing.event.ChangeEvent e)
Specified by:
stateChanged in interface javax.swing.event.ChangeListener

getBase

public SceneGraphComponent getBase()