SpikeStream Library
0.2
|
00001 #ifndef NEURON_H 00002 #define NEURON_H 00003 00004 //SpikeStream includes 00005 #include "Point3D.h" 00006 using namespace spikestream; 00007 00008 namespace spikestream { 00009 00011 class Neuron { 00012 public: 00013 Neuron(float xPos, float yPos, float zPos); 00014 Neuron(unsigned int id, float xPos, float yPos, float zPos); 00015 virtual ~Neuron(); 00016 float getXPos() { return location.getXPos(); } 00017 float getYPos() { return location.getYPos(); } 00018 float getZPos() { return location.getZPos(); } 00019 unsigned int getID() { return id; } 00020 Point3D& getLocation() { return location; } 00021 void print(); 00022 void setID(unsigned int id) { this->id = id; } 00023 00024 private: 00025 //================= VARIABLES ==================== 00027 unsigned int id; 00028 00030 Point3D location; 00031 }; 00032 } 00033 00034 #endif//NEURON_H