|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector<OpticalGroup>
optics.OpticalSystem
public class OpticalSystem
Class to hold a whole OpticalSystem
being
a Vector of OpticalGroup
s. This class implements
the standard LensSystem
interface so allowing
direct tracing via ray or ray pencils and can also be
direcly added to a Diagram
.
Field Summary |
---|
Fields inherited from class java.util.Vector |
---|
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
OpticalSystem()
Form a blank OpticalSystem with eth default title "Lens System". |
|
OpticalSystem(java.lang.String title)
Form a blank OpticalSystem with a specified title. |
Method Summary | |
---|---|
void |
addGroup(OpticalGroup g)
Method to add an OpticalGroup to the system |
Diagram2D |
getDiagram2D()
Method to get the whole systems as a displayable Diagram2D |
CircularAperture |
getEntranceAperture()
Get the entrance aperture of the system as a Circular aperture being the physical entrance aperture of the first surface. |
CircularAperture |
getExitAperture()
Get the exit aperture of the system as a Circular aperture being the physical entrance aperture of the last surface. |
OpticalGroup |
getGroup(int i)
Method to get a specified OpticalGroup |
OpticalSurface |
getNext()
Method to get the next OpticalSurface in order. |
ParaxialGroup |
getParaxialGroup(double lambda)
Method to get the equivalent ParaxialGroup
to the whole OpticalSystem. |
java.lang.String |
getTitle()
Method to get the title string |
void |
reset()
Method to reset the group counter and the counters of the attached Groups. |
void |
setTitle(java.lang.String t)
Method to set the title |
Methods inherited from class java.util.Vector |
---|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
iterator, listIterator, listIterator |
Constructor Detail |
---|
public OpticalSystem(java.lang.String title)
title
- the title string.public OpticalSystem()
Method Detail |
---|
public void setTitle(java.lang.String t)
t
- the title stringpublic java.lang.String getTitle()
String
the title string.public void addGroup(OpticalGroup g)
OpticalGroup
to the system
g
- the OpticalGroup
to be added.public OpticalGroup getGroup(int i)
OpticalGroup
OpticalGroup
the scecified OpticalGroup
or null
is the index is outside the vencto lengthpublic OpticalSurface getNext()
OpticalSurface
in order.
If there are no more surfaces then null
is returned.
getNext
in interface LensSystem
OpticalSurface
public void reset()
reset
in interface LensSystem
public CircularAperture getEntranceAperture()
The entrance aperture will be in the current group with its location defined with respect to the group reference point.
getEntranceAperture
in interface LensSystem
CircularAperture
the entrance aperturepublic CircularAperture getExitAperture()
The exit aperture will be in the current group with its location defined with respect to the group reference point.
getExitAperture
in interface LensSystem
CircularAperture
the exit aperturepublic ParaxialGroup getParaxialGroup(double lambda)
ParaxialGroup
to the whole OpticalSystem.
getParaxialGroup
in interface LensSystem
lambda
- the wavelengthpublic Diagram2D getDiagram2D()
Diagram2D
getDiagram2D
in interface LensSystem
Diagram2D
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |