|
||||||||||
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.MTBNeurite2DSet
public class MTBNeurite2DSet
Class to represent a set of MTBNeurite2D objects.
MTBNeurite2D
Constructor Summary | |
---|---|
MTBNeurite2DSet()
Constructor to create a new set of neurites. |
Method Summary | |
---|---|
void |
add(MTBNeurite2D neurite)
Appends the specified element to the end of this list. |
void |
addElementAt(int index,
MTBNeurite2D neurite)
Inserts the specified element at the specified position in this list. |
MTBNeurite2D |
getElementAt(int index)
Returns the element at the specified position in this list. |
MTBImageRGB |
getNeuriteImage(Color regionColor)
Visualize the neurites skeleton graphs and regions. |
MTBImage |
getNeuriteStack(Color regionColor)
Visualize the neurites skeleton graphs and regions. |
boolean |
isEmpty()
Returns true if this collection contains no elements. |
MTBNeurite2D |
removeElementAt(int index)
Removes the element at the specified position in this list. |
void |
setElementAt(int index,
MTBNeurite2D neurite)
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 |
Constructor Detail |
---|
public MTBNeurite2DSet()
Method Detail |
---|
public void add(MTBNeurite2D neurite)
neurite
- new neurite to addpublic void addElementAt(int index, MTBNeurite2D neurite)
index
- index for the new elementneurite
- new neurite to set at the specified indexpublic MTBNeurite2D getElementAt(int index)
index
- index of the element to get
public void setElementAt(int index, MTBNeurite2D neurite)
index
- position to set the neuriteneurite
- neurite to setpublic boolean isEmpty()
public MTBNeurite2D removeElementAt(int index)
index
- index of the element to remove
public int size()
public MTBImage getNeuriteStack(Color regionColor)
regionColor
- neurite region color in 3-element RGB array red[0], green[1],
blue[2], if null no regions are drawn
public MTBImageRGB getNeuriteImage(Color regionColor)
regionColor
- neurite region color in 3-element RGB array red[0], green[1],
blue[2], if null no regions are drawn
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |