edu.jhu.ece.iacl.jist.structures.fiber
Class FiberCollection

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.Vector<Fiber>
              extended by edu.jhu.ece.iacl.jist.structures.fiber.FiberCollection
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Fiber>, java.util.Collection<Fiber>, java.util.List<Fiber>, java.util.RandomAccess

public class FiberCollection
extends java.util.Vector<Fiber>

The Class FiberCollection.

See Also:
Serialized Form

Field Summary
protected  Point3i dimensions
          The dimensions.
protected  java.lang.String name
          The name.
protected  Point3f resolutions
          The resolutions.
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
FiberCollection()
          Instantiates a new fiber collection.
FiberCollection(int num)
          Instantiates a new fiber collection.
 
Method Summary
 Point3i getDimensions()
          Gets the dimensions.
 void getFromFiberArray(Fiber[] fibers)
          Gets the from fiber array.
 java.lang.String getName()
          Gets the name.
 Point3f getResolutions()
          Gets the resolutions.
 void setDimensions(Point3i dimensions)
          Sets the dimensions.
 void setName(java.lang.String name)
          Sets the name.
 void setResolutions(Point3f resolutions)
          Sets the resolutions.
 CurveCollection toCurveCollection()
          To curve collection.
 java.lang.String toString()
           
 
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, 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
 

Field Detail

name

protected java.lang.String name
The name.


dimensions

protected Point3i dimensions
The dimensions.


resolutions

protected Point3f resolutions
The resolutions.

Constructor Detail

FiberCollection

public FiberCollection()
Instantiates a new fiber collection.


FiberCollection

public FiberCollection(int num)
Instantiates a new fiber collection.

Parameters:
num - the num
Method Detail

getName

public java.lang.String getName()
Gets the name.

Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - the new name

getFromFiberArray

public void getFromFiberArray(Fiber[] fibers)
Gets the from fiber array.

Parameters:
fibers - the fibers

toCurveCollection

public CurveCollection toCurveCollection()
To curve collection.

Returns:
the curve collection

getDimensions

public Point3i getDimensions()
Gets the dimensions.

Returns:
the dimensions

setDimensions

public void setDimensions(Point3i dimensions)
Sets the dimensions.

Parameters:
dimensions - the new dimensions

getResolutions

public Point3f getResolutions()
Gets the resolutions.

Returns:
the resolutions

setResolutions

public void setResolutions(Point3f resolutions)
Sets the resolutions.

Parameters:
resolutions - the new resolutions

toString

public java.lang.String toString()
Overrides:
toString in class java.util.Vector<Fiber>