nsol
0.4.1
Nsol - Neuroscience Objects Library
|
Public Member Functions | |
Section (void) | |
Default constructor. | |
virtual | ~Section () |
Default destructor. | |
Sections & | backwardNeighbors (void) |
Gets the backward neighbour sections of this section. More... | |
const Sections & | backwardNeighbors (void) const |
Sections & | forwardNeighbors (void) |
Gets the forward neighbour sections of this section. More... | |
const Sections & | forwardNeighbors (void) const |
void | addBackwardNeighbour (SectionPtr section) |
Adds backward neighbour section to this section. More... | |
void | addForwardNeighbour (SectionPtr section) |
Adds forward neighbour section to this section. More... | |
bool | deleteBackwardNeighbour (SectionPtr section_) |
Delete backward neighbour section from this section. More... | |
bool | deleteForwardNeighbour (SectionPtr section_) |
Delete forward neighbour section from this section. More... | |
void | addNeighbour (SectionPtr section, NodePtr node) |
Check if the node connects with the backward or the fordward neighbour sections and add the section to the correspondent sections container. More... | |
Nodes & | nodes (void) |
Return the middle Nodes. More... | |
const Nodes & | nodes (void) const |
virtual void | addBackwardNode (NodePtr node) |
Adds a node at the start of this section. More... | |
virtual void | addForwardNode (NodePtr node) |
Adds a node at the end of this section. More... | |
NodePtr | backwardNode (void) |
Gets the first Node of the Section. More... | |
NodePtr | forwardNode (void) |
Gets the last Node of the Section. More... | |
virtual SectionPtr | clone (void) const |
bool | operator== (Section &other) const |
bool | operator!= (Section &other) const |
virtual SectionPtr | asSection (void) |
Public Member Functions inherited from nsol::Object | |
virtual ColumnPtr | asColumn (void) |
virtual MiniColumnPtr | asMiniColumn (void) |
virtual NeuronPtr | asNeuron (void) |
virtual NeuronMorphologyPtr | asNeuronMorphology (void) |
virtual NodePtr | asNode (void) |
virtual ObjectWithProperties * | properties (void) |
virtual ObjectPtr | create (void) |
Protected Attributes | |
Nodes | _nodes |
Container of the middle nodes of this section. | |
Sections | _backwardSections |
Container of the backward neighbour sections of this section. | |
Sections | _forwardSections |
Container of the forward neighbour sections of this section. | |
void nsol::Section::addBackwardNeighbour | ( | SectionPtr | section | ) |
Adds backward neighbour section to this section.
section | pointer to the section to be added |
|
virtual |
Adds a node at the start of this section.
node | pointer to the Node to add. Precondition: pointer is not null. |
Referenced by nsol::VectorsReaderTemplated< VECTORS_READER_TEMPLATE_CLASSES >::loadMorphology().
void nsol::Section::addForwardNeighbour | ( | SectionPtr | section | ) |
Adds forward neighbour section to this section.
section | pointer to the section to be added |
|
virtual |
Adds a node at the end of this section.
node | pointer to the Node to add. Precondition: pointer is not null. |
Referenced by nsol::VectorsReaderTemplated< VECTORS_READER_TEMPLATE_CLASSES >::loadMorphology().
void nsol::Section::addNeighbour | ( | SectionPtr | section, |
NodePtr | node | ||
) |
Check if the node connects with the backward or the fordward neighbour sections and add the section to the correspondent sections container.
section | pointer to the section to be added |
node | pointer to the node between sections |
Sections& nsol::Section::backwardNeighbors | ( | void | ) |
Gets the backward neighbour sections of this section.
Referenced by nsol::VectorsReaderTemplated< VECTORS_READER_TEMPLATE_CLASSES >::loadMorphology().
NodePtr nsol::Section::backwardNode | ( | void | ) |
bool nsol::Section::deleteBackwardNeighbour | ( | SectionPtr | section_ | ) |
Delete backward neighbour section from this section.
section | pointer to the section to be deleted |
bool nsol::Section::deleteForwardNeighbour | ( | SectionPtr | section_ | ) |
Delete forward neighbour section from this section.
section | pointer to the section to be deleted |
Sections& nsol::Section::forwardNeighbors | ( | void | ) |
Gets the forward neighbour sections of this section.
Referenced by nsol::VectorsReaderTemplated< VECTORS_READER_TEMPLATE_CLASSES >::loadMorphology().
NodePtr nsol::Section::forwardNode | ( | void | ) |