|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.Alida.operator.ALDData
de.unihalle.informatik.MiToBo.core.datatypes.neurites.MTBNeurite2DProfileSet
public class MTBNeurite2DProfileSet
A set of neurite profiles organized as linked list. Each profile is of type MTBNeuriteProfile.
MTBNeurite2DProfile
Field Summary | |
---|---|
private java.util.LinkedList<MTBNeurite2DProfile> |
neuriteProfiles
The current list of the neurite profiles. |
Constructor Summary | |
---|---|
MTBNeurite2DProfileSet()
Constructor to create a new set of neurite profiles. |
Method Summary | |
---|---|
void |
add(MTBNeurite2DProfile profile)
Appends the specified element to the end of this list. |
void |
addElementAt(int index,
MTBNeurite2DProfile profile)
Inserts the specified element at the specified position in this list. |
void |
addFirst(MTBNeurite2DProfile profile)
Inserts the specified element at the beginning of this list. |
void |
addLast(MTBNeurite2DProfile profile)
Appends the specified element to the end of this list. |
MTBNeurite2DProfile |
getElementAt(int index)
Returns the element at the specified position in this list. |
MTBNeurite2DProfile |
getFirst()
Returns the first element in this list. |
MTBNeurite2DProfile |
getLast()
Returns the last element in this list. |
MTBImage |
getVoronoiStack()
Get stack of voronoi tesselation images. |
boolean |
isEmpty()
Returns true if this collection contains no elements. |
MTBNeurite2DProfile |
removeElementAt(int index)
Removes the element at the specified position in this list. |
MTBNeurite2DProfile |
removeFirst()
Removes and returns the first element from this list. |
MTBNeurite2DProfile |
removeLast()
Removes and returns the last element from this list. |
boolean |
saveProfileSet(java.lang.String file)
Saves the given profile data list with N profiles to the given file. |
void |
setElementAt(int index,
MTBNeurite2DProfile profile)
Replaces the element at the specified position in this list with the specified element. |
int |
size()
Returns the number of elements in this list. |
Methods inherited from class de.unihalle.informatik.Alida.operator.ALDData |
---|
cloneProperties, getLocation, getProperty, getPropertyKeys, print, setLocation, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.LinkedList<MTBNeurite2DProfile> neuriteProfiles
Constructor Detail |
---|
public MTBNeurite2DProfileSet()
Method Detail |
---|
public void add(MTBNeurite2DProfile profile)
profile
- new profile to addpublic void addElementAt(int index, MTBNeurite2DProfile profile)
index
- index for the new elementprofile
- new profile to set at the specified indexpublic void addFirst(MTBNeurite2DProfile profile)
profile
- profile to add at first positionpublic void addLast(MTBNeurite2DProfile profile)
profile
- to add at last positionpublic MTBNeurite2DProfile getElementAt(int index)
index
- index of the element to get
public MTBNeurite2DProfile getFirst()
public MTBNeurite2DProfile getLast()
public MTBImage getVoronoiStack()
public boolean isEmpty()
public MTBNeurite2DProfile removeElementAt(int index)
index
- index of the element to remove
public MTBNeurite2DProfile removeFirst()
public MTBNeurite2DProfile removeLast()
public boolean saveProfileSet(java.lang.String file)
Each profile is written to a single column. Each column will have a different number of entries according to the different lengths of the profiles.
File format:
profs
- List of neurite profiles.file
- Output file (txt format).
public void setElementAt(int index, MTBNeurite2DProfile profile)
index
- position to set the profileprofile
- profile to setpublic int size()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |