Package mgui.interfaces.neuro
Class InterfaceNeuroAtlas
java.lang.Object
mgui.interfaces.AbstractInterfaceObject
mgui.interfaces.neuro.InterfaceNeuroAtlas
- All Implemented Interfaces:
InterfaceObject,NamedObject,TreeObject,CleanableObject
public class InterfaceNeuroAtlas extends AbstractInterfaceObject
Defines an atlas mapping a set of data points to integers which map in turn
to atlas names (via a name map).
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Field Summary
Fields Modifier and Type Field Description protected java.util.ArrayList<MguiInteger>mappingsprotected java.lang.Stringnameprotected NameMapname_mapFields inherited from class mgui.interfaces.AbstractInterfaceObject
isDestroyed, tree_nodes -
Constructor Summary
Constructors Constructor Description InterfaceNeuroAtlas(java.lang.String name)InterfaceNeuroAtlas(java.lang.String name, java.util.ArrayList<MguiNumber> mappings)InterfaceNeuroAtlas(java.lang.String name, java.util.ArrayList<MguiNumber> mappings, NameMap name_map) -
Method Summary
Modifier and Type Method Description intgetMappingAt(int index)java.util.ArrayList<MguiInteger>getMappings()java.lang.StringgetName()Gets the name for this object.java.lang.StringgetNameAt(int index)NameMapgetNameMap()voidsetMappings(java.util.ArrayList<MguiNumber> mappings)voidsetName(java.lang.String name)Sets the name for this object.voidsetNameMap(NameMap name_map)java.lang.StringtoString()Methods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, destroy, getTreeLabel, isDestroyed, issueTreeNode, setTreeNode, updateTreeNodesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
mappings
-
name_map
-
name
protected java.lang.String name
-
-
Constructor Details
-
InterfaceNeuroAtlas
public InterfaceNeuroAtlas(java.lang.String name) -
InterfaceNeuroAtlas
-
InterfaceNeuroAtlas
public InterfaceNeuroAtlas(java.lang.String name, java.util.ArrayList<MguiNumber> mappings, NameMap name_map)
-
-
Method Details
-
setName
public void setName(java.lang.String name)Description copied from interface:NamedObjectSets the name for this object.- Specified by:
setNamein interfaceNamedObject- Overrides:
setNamein classAbstractInterfaceObject
-
getName
public java.lang.String getName()Description copied from interface:NamedObjectGets the name for this object.- Specified by:
getNamein interfaceNamedObject- Overrides:
getNamein classAbstractInterfaceObject- Returns:
-
getMappings
-
setMappings
-
getNameMap
-
setNameMap
-
getNameAt
public java.lang.String getNameAt(int index) -
getMappingAt
public int getMappingAt(int index) -
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-