import MorpheusWriter from 'Artistoo/src/converter/MorpheusWriter.js'
public class | source

MorpheusWriter

Extends:

Writer → MorpheusWriter

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public
public

xml: *

Method Summary

Public Methods
public

addNodeTo(node: *, parentName: *, index: number)

public

attachNode(parentName: *, nodeName: *, value: *, attr: {}, index: number)

public

formatXml(xml: *, tab: *): *

public
public

makeNode(nodeName: *, value: *, attr: {}): *

public

multipleConstraintsWarning(constraintName: *)

public

setActivityConstraint(confArray: *)

public
public

setAttributesOf(node: *, attr: *, index: number)

public

setBarrierConstraint(confArray: *)

public

setChemotaxisConstraint(confArray: *)

public

setConnectivityConstraint(confArray: *, cName: *)

public

setNode(nodeName: *, value: *, index: number)

public

setPerimeterConstraint(confArray: *)

public

setPersistenceConstraint(confArray: *)

public
public

setVolumeConstraint(confArray: *)

public

toMorpheusCoordinate(coordinate: *, fillValue: number): *

public

write()

public
public
public
public
public
public
public
public
public
public

writeXML(): *

Inherited Summary

From class Writer
public

conversionWarnings: {"grid": *, "time": *, "constraints": *, "init": *, "analysis": *}

public

lineW: *

public
public

model: *

public

target: *

public
public

htmlNewLine(string: *): *

public

objToString(obj: *, indent: number): *

public
public

stringWrap(string: *, width: number, indent: number): *

public

write()

public

Public Constructors

public constructor() source

Override:

Writer#constructor

Public Members

public cellTypeTagIndex: {} source

public fieldsToDraw: *[] source

public logString: * source

Override:

Writer#logString

public xml: * source

Public Methods

public addNodeTo(node: *, parentName: *, index: number) source

Params:

NameTypeAttributeDescription
node *
parentName *
index number
  • optional
  • default: 0

public attachNode(parentName: *, nodeName: *, value: *, attr: {}, index: number) source

Params:

NameTypeAttributeDescription
parentName *
nodeName *
value *
  • optional
  • default: undefined
attr {}
  • optional
  • default: {}
index number
  • optional
  • default: 0

public formatXml(xml: *, tab: *): * source

Params:

NameTypeAttributeDescription
xml *
tab *

Return:

*

public initXML() source

public makeNode(nodeName: *, value: *, attr: {}): * source

Params:

NameTypeAttributeDescription
nodeName *
value *
  • optional
  • default: undefined
attr {}
  • optional
  • default: {}

Return:

*

public multipleConstraintsWarning(constraintName: *) source

Params:

NameTypeAttributeDescription
constraintName *

public setActivityConstraint(confArray: *) source

Params:

NameTypeAttributeDescription
confArray *

public setAdhesion() source

public setAttributesOf(node: *, attr: *, index: number) source

Params:

NameTypeAttributeDescription
node *
attr *
index number
  • optional
  • default: 0

public setBarrierConstraint(confArray: *) source

Params:

NameTypeAttributeDescription
confArray *

public setChemotaxisConstraint(confArray: *) source

Params:

NameTypeAttributeDescription
confArray *

public setConnectivityConstraint(confArray: *, cName: *) source

Params:

NameTypeAttributeDescription
confArray *
cName *

public setNode(nodeName: *, value: *, index: number) source

Params:

NameTypeAttributeDescription
nodeName *
value *
index number
  • optional
  • default: 0

public setPerimeterConstraint(confArray: *) source

Params:

NameTypeAttributeDescription
confArray *

public setPersistenceConstraint(confArray: *) source

Params:

NameTypeAttributeDescription
confArray *

public setPreferredDirectionConstraint(confArray: *) source

Params:

NameTypeAttributeDescription
confArray *

public setVolumeConstraint(confArray: *) source

Params:

NameTypeAttributeDescription
confArray *

public toMorpheusCoordinate(coordinate: *, fillValue: number): * source

Params:

NameTypeAttributeDescription
coordinate *
fillValue number
  • optional
  • default: 0

Return:

*

public write() source

Override:

Writer#write

public writeAnalysis() source

public writeCPM() source

public writeCellPopulations() source

public writeCellTypes() source

public writeConstraints() source

public writeDescription() source

public writeGlobal() source

public writeSpace() source

public writeTime() source

public writeXML(): * source

Return:

*