org.jzy3d.plot3d.rendering.ordering
Class AbstractOrderingStrategy
java.lang.Object
org.jzy3d.plot3d.rendering.ordering.AbstractOrderingStrategy
- All Implemented Interfaces:
- java.util.Comparator<AbstractDrawable>
- Direct Known Subclasses:
- BarycentreOrderingStrategy, DefaultOrderingStrategy
public abstract class AbstractOrderingStrategy
- extends java.lang.Object
- implements java.util.Comparator<AbstractDrawable>
An ordering strategy is a Comparator
for AbstractDrawable
s
that may compute the priority between AbstractDrawable
s d1 and d2.
- Author:
- Martin Pernollet
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
compare, equals |
AbstractOrderingStrategy
public AbstractOrderingStrategy()
sort
public void sort(java.util.List<AbstractDrawable> monotypes,
Camera cam)
setAll
public void setAll(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera camera,
Transform transform)
getCamera
public Camera getCamera()
setCamera
public void setCamera(Camera camera)
getTransform
public Transform getTransform()
setTransform
public void setTransform(Transform transform)
getGl
public javax.media.opengl.GL getGl()
setGl
public void setGl(javax.media.opengl.GL gl)
getGlu
public javax.media.opengl.glu.GLU getGlu()
setGlu
public void setGlu(javax.media.opengl.glu.GLU glu)