Ignore:
Timestamp:
01/09/13 00:09:10 (11 years ago)
Author:
psniegowski
Message:

Add f0 parsing and f0->Model transformation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/main/src/main/java/com/framsticks/model/Neuro.java

    r77 r78  
    66 * @author Piotr Sniegowski
    77 */
    8 public class Neuro {
     8public class Neuro extends BaseNeuro {
    99
    1010        public Integer channelCount;
    11 
    12         public Integer inputCount;
    13         public Integer getGetInputCount() { return inputCount; }
    14         public void setGetInputCount(Integer getInputCount) { inputCount = getInputCount; }
    1511
    1612        public Double inputSum;
     
    2622        public Boolean hold;
    2723
     24        public double position_x, position_y, position_z;
    2825
    29         /** position_x, position_y, position_z*/
    30         public final Point3d position = new Point3d();
    31 
    32         public Double getPosition_x() { return position.x; }
    33         public void setPosition_x(Double position_x) { position.x = position_x; }
    34 
    35         public Double getPosition_y() { return position.y; }
    36         public void setPosition_y(Double position_y) { position.y = position_y; }
    37 
    38         public Double getPosition_z() { return position.z; }
    39         public void setPosition_z(Double position_z) { position.z = position_z; }
     26        public Point3d getPosition() { return new Point3d(position_x, position_y, position_z); }
     27        public void setPosition(Point3d p) { position_x = p.x; position_y = p.y; position_z = p.z; }
    4028
    4129}
Note: See TracChangeset for help on using the changeset viewer.