de.jreality.tutorial.util.polygon
Class PointSequenceView
java.lang.Object
de.jreality.tutorial.util.polygon.PointSequenceView
- All Implemented Interfaces:
- EventListener, ChangeListener
public class PointSequenceView
- extends Object
- implements ChangeListener
A geometry representation for a PointSequence
. Will update to any changes of
the sequence.
- Author:
- Steffen Weissmann
PointSequenceView
public PointSequenceView(PointSequence sequence)
- Constructs a geometry for a point sequence.
- Parameters:
sequence
- the sequence to visualize.
setPointRadius
public void setPointRadius(double r)
setLineRadius
public void setLineRadius(double r)
setPointColor
public void setPointColor(Color c)
setLineColor
public void setLineColor(Color c)
stateChanged
public void stateChanged(ChangeEvent e)
- Specified by:
stateChanged
in interface ChangeListener
getBase
public SceneGraphComponent getBase()