Moogli
 All Classes
Neuron Class Reference

Public Member Functions

 Neuron (const char *id)
 
const char * get_id ()
 
void set_network (Network *network)
 
Networkget_network ()
 
Compartmentget_compartment (const char *id)
 
void hide ()
 
void show ()
 
bool is_visible ()
 
unsigned int size ()
 
unsigned int add_geometry (PyObject *distal, PyObject *proximal=Py_None, PyObject *parent=Py_None)
 
unsigned int add_compartment (Compartment *compartment)
 
unsigned int remove_compartment (Compartment *compartment)
 
void show_geometry (unsigned int geometry_index, bool hide_others)
 
void hide_geometry (unsigned int geometry_index)
 
void show_all_geometries ()
 
void hide_all_geometries ()
 
void set_color (PyObject *color)
 
bool set_colors (PyObject *colors)
 

Public Attributes

string id
 
Networknetwork
 
osg::ref_ptr< osg::Switch > node
 
osg::ref_ptr< osg::Group > compartment_group_node
 
std::vector< Compartment * > compartment_seq
 
std::unordered_map< string,
Compartment * > 
compartment_map
 

Detailed Description

Definition at line 10 of file Neuron.hpp.


The documentation for this class was generated from the following files: