Last change
on this file since 78 was
78,
checked in by psniegowski, 11 years ago
|
Add f0 parsing and f0->Model transformation.
|
File size:
1.0 KB
|
Rev | Line | |
---|
[77] | 1 | package com.framsticks.model; |
---|
| 2 | |
---|
| 3 | |
---|
| 4 | import com.framsticks.util.Point3d; |
---|
| 5 | |
---|
| 6 | /** |
---|
| 7 | * The Class Part. |
---|
| 8 | */ |
---|
[78] | 9 | public class Part extends BasePart { |
---|
[77] | 10 | |
---|
| 11 | /** rx, ry, rz*/ |
---|
[78] | 12 | public double rx, ry, rz; |
---|
[77] | 13 | |
---|
[78] | 14 | public Point3d getRotation() { return new Point3d(rx, ry, rz); } |
---|
| 15 | public void setRotation(Point3d r) { rx = r.x; ry = r.y; rz = r.z; } |
---|
[77] | 16 | |
---|
| 17 | /** dn */ |
---|
| 18 | public Double density; |
---|
| 19 | |
---|
| 20 | /** ing */ |
---|
| 21 | public Double ingestion; |
---|
| 22 | |
---|
| 23 | /** as */ |
---|
| 24 | public Double assimilation; |
---|
| 25 | |
---|
| 26 | /** i */ |
---|
| 27 | public String info; |
---|
| 28 | |
---|
| 29 | /** Vstyle */ |
---|
| 30 | public String visualizationStyle; |
---|
| 31 | |
---|
| 32 | public Double getDn() { return density; } |
---|
| 33 | public void setDn(Double dn) { density = dn; } |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | public Double getIng() { return ingestion; } |
---|
| 37 | public void setIng(Double ing) { ingestion = ing; } |
---|
| 38 | |
---|
| 39 | public Double getAs() { return assimilation; } |
---|
| 40 | public void setAs(Double as) { assimilation = as; } |
---|
| 41 | |
---|
| 42 | public String getI() { return info; } |
---|
| 43 | public void setI(String i) { info = i; } |
---|
| 44 | |
---|
| 45 | public String getVstyle() { return visualizationStyle; } |
---|
| 46 | public void setVstyle(String vstyle) { visualizationStyle = vstyle; } |
---|
| 47 | |
---|
| 48 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.