public class GeometryDatas extends Object
Model
Geometry
SpatialImage
sMainSBaseSpatial
,
to visualize a model in 3D space.
Date Created: Jun 25, 2015Modifier and Type | Field and Description |
---|---|
protected int |
dimension
The dimension of the geometry.
|
protected math3d.Point3d |
dispCoord
The displacement from original coordinates to modified coordinate.
|
protected ArrayList<String> |
domList
The list of domains.
|
protected org.sbml.jsbml.ext.spatial.Geometry |
geometry
The Geometry object.
|
protected math3d.Point3d |
maxCoord
The maximum value of the coordinate axis (boundary).
|
protected math3d.Point3d |
minCoord
The minimum value of the coordinate axis (boundary).
|
protected org.sbml.jsbml.Model |
model
The SBML model.
|
protected org.sbml.jsbml.ext.spatial.SpatialModelPlugin |
spatialplugin
The spatialplugin.
|
Constructor and Description |
---|
GeometryDatas(org.sbml.jsbml.Model model)
Instantiates a new GeometryDatas object with given SBML model.
|
Modifier and Type | Method and Description |
---|---|
protected void |
adjustAxis()
Adjust axis to 0 origin.
|
protected void |
createspImgList()
Create the list of
SpatialImage ,
which is a class for handling spatial image in XitoSBML. |
protected void |
getCoordinates()
Gets the minimum and maximum values of the coordinate axis (boundary)
from the geometry, and then adjust the axis (reset to 0 origin).
|
protected void |
getDomainTypes()
Gets the domain types from the geometry object, and then add them
to the list of domains.
|
protected SpatialImage |
getSpImgFromGeo(org.sbml.jsbml.ext.spatial.GeometryDefinition gd)
Gets the
SpatialImage
object from given GeometryDefinition. |
ArrayList<SpatialImage> |
getSpImgList()
Gets the list of
SpatialImage . |
protected org.sbml.jsbml.Model model
protected org.sbml.jsbml.ext.spatial.SpatialModelPlugin spatialplugin
protected org.sbml.jsbml.ext.spatial.Geometry geometry
protected math3d.Point3d minCoord
protected math3d.Point3d maxCoord
protected math3d.Point3d dispCoord
protected int dimension
public GeometryDatas(org.sbml.jsbml.Model model)
model
- the modelprotected void createspImgList()
SpatialImage
,
which is a class for handling spatial image in XitoSBML.protected SpatialImage getSpImgFromGeo(org.sbml.jsbml.ext.spatial.GeometryDefinition gd)
SpatialImage
object from given GeometryDefinition. Currently, this method
supports AnalyticGeometry and SampledFieldGeometry.gd
- the JSBML GeometryDefinition objectprotected void getCoordinates()
protected void adjustAxis()
protected void getDomainTypes()
public ArrayList<SpatialImage> getSpImgList()
SpatialImage
.SpatialImage
.Copyright © 2017–2019 Funahashi Lab.. All rights reserved.