10 #ifndef _SPINE_ENTRY_H
11 #define _SPINE_ENTRY_H
30 unsigned int parent()
const;
35 unsigned int fid()
const;
46 double granularity, vector< VoxelJunction >& ret )
const;
53 double granularity, vector< VoxelJunction >& ret )
const;
62 double& area,
double& length )
const;
68 void mid(
double& x,
double& y,
double& z )
const;
71 void apex(
double& x,
double& y,
double& z )
const;
75 double granularity, vector< VoxelJunction >& ret );
117 #endif // _SPINE_ENTRY_H
unsigned int parent_
head cylinder.
void matchCubeMeshEntriesToPSD(const ChemCompt *compt, unsigned int myIndex, double granularity, vector< VoxelJunction > &ret) const
CylBase head_
Shaft cylinder.
Id shaftId_
Id of electrical compartment in which this diffusive compt lives.
unsigned int parent() const
Returns index of parent entry located on NeuroMesh.
double volume() const
Return volume of spine. Ignores shaft volume. Virtual func.
void matchCubeMeshEntries(const ChemCompt *other, unsigned int myIndex, double granularity, vector< VoxelJunction > &ret)
void mid(double &x, double &y, double &z) const
Return coords of centre of spine head.
CylBase shaft_
Anchor point on dendrite.
vector< double > psdCoords() const
void positionShaftBase(double x, double y, double z)
void setParent(unsigned int parent)
Assigns index of parent entry located on NeuroMesh.
double diffusionLength() const
void setVolume(double volume)
void apex(double &x, double &y, double &z) const
Return coords of middle of PSD.
unsigned int matchNeuroMeshEntriesToShaft(const ChemCompt *compt, unsigned int myIndex, double &area, double &length) const
unsigned int fid() const
Returns index of self. Only a single voxel.
void matchCubeMeshEntriesToHead(const ChemCompt *compt, unsigned int myIndex, double granularity, vector< VoxelJunction > &ret) const
Returns Id of head electrical compartment.
Id headId() const
Returns Id of shaft electrical compartment.