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>
mappings
protected java.lang.String
name
protected NameMap
name_map
Fields 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 int
getMappingAt(int index)
java.util.ArrayList<MguiInteger>
getMappings()
java.lang.String
getName()
Gets the name for this object.java.lang.String
getNameAt(int index)
NameMap
getNameMap()
void
setMappings(java.util.ArrayList<MguiNumber> mappings)
void
setName(java.lang.String name)
Sets the name for this object.void
setNameMap(NameMap name_map)
java.lang.String
toString()
Methods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, destroy, getTreeLabel, isDestroyed, issueTreeNode, setTreeNode, updateTreeNodes
Methods 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:NamedObject
Sets the name for this object.- Specified by:
setName
in interfaceNamedObject
- Overrides:
setName
in classAbstractInterfaceObject
-
getName
public java.lang.String getName()Description copied from interface:NamedObject
Gets the name for this object.- Specified by:
getName
in interfaceNamedObject
- Overrides:
getName
in 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:
toString
in classjava.lang.Object
-