edu.stanford.rsl.konrad.rendering
Class PrioritizableScene

java.lang.Object
  extended by edu.stanford.rsl.konrad.rendering.AbstractScene
      extended by edu.stanford.rsl.konrad.rendering.PrioritizableScene
All Implemented Interfaces:
java.lang.Iterable<PhysicalObject>, java.util.Collection<PhysicalObject>
Direct Known Subclasses:
AnalyticPhantom, EDInnerDisk, EDOuterDisk, Insert

public class PrioritizableScene
extends AbstractScene


Field Summary
static boolean ADD_HIGHEST_PRIORITY
           
static boolean ADD_LOWEST_PRIORITY
           
 
Constructor Summary
PrioritizableScene()
           
 
Method Summary
 boolean add(PhysicalObject e)
           
 boolean add(PhysicalObject e, boolean addMode)
           
 boolean add(PhysicalObject e, int priority)
           
 boolean addAll(java.util.Collection<? extends PhysicalObject> c)
           
 boolean addAll(PrioritizableScene c)
           
 void clear()
           
 boolean contains(java.lang.Object o)
           
 boolean containsAll(java.util.Collection<?> c)
           
 int getHighestPriority()
           
 int getLowestPriority()
           
 int getPriority(PhysicalObject o)
           
 boolean isEmpty()
           
 java.util.Iterator<PhysicalObject> iterator()
           
 boolean remove(java.lang.Object o)
           
 boolean removeAll(java.util.Collection<?> c)
           
 boolean retainAll(java.util.Collection<?> c)
           
 int size()
           
 java.lang.Object[] toArray()
           
<T> T[]
toArray(T[] a)
           
 
Methods inherited from class edu.stanford.rsl.konrad.rendering.AbstractScene
getBackgroundMaterial, getMax, getMin, getName, setBackground, setMax, setMin, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Field Detail

ADD_HIGHEST_PRIORITY

public static final boolean ADD_HIGHEST_PRIORITY
See Also:
Constant Field Values

ADD_LOWEST_PRIORITY

public static final boolean ADD_LOWEST_PRIORITY
See Also:
Constant Field Values
Constructor Detail

PrioritizableScene

public PrioritizableScene()
Method Detail

getPriority

public int getPriority(PhysicalObject o)

getHighestPriority

public int getHighestPriority()

getLowestPriority

public int getLowestPriority()

add

public boolean add(PhysicalObject e)

add

public boolean add(PhysicalObject e,
                   boolean addMode)

add

public boolean add(PhysicalObject e,
                   int priority)

addAll

public boolean addAll(java.util.Collection<? extends PhysicalObject> c)

addAll

public boolean addAll(PrioritizableScene c)

clear

public void clear()

contains

public boolean contains(java.lang.Object o)

containsAll

public boolean containsAll(java.util.Collection<?> c)

isEmpty

public boolean isEmpty()

iterator

public java.util.Iterator<PhysicalObject> iterator()

remove

public boolean remove(java.lang.Object o)

removeAll

public boolean removeAll(java.util.Collection<?> c)

retainAll

public boolean retainAll(java.util.Collection<?> c)

size

public int size()

toArray

public java.lang.Object[] toArray()

toArray

public <T> T[] toArray(T[] a)