4 #include "utility/libraries.hpp"
5 #include "utility/constants.hpp"
6 #include "core/Compartment.hpp"
15 osg::ref_ptr<osg::Switch> node;
16 osg::ref_ptr<osg::Group> compartment_group_node;
17 std::vector<Compartment *> compartment_seq;
18 std::unordered_map<string, Compartment *> compartment_map;
20 Neuron(
const char *
id);
28 set_network(Network * network);
34 get_compartment(
const char *
id);
49 add_geometry( PyObject * distal
50 , PyObject * proximal = Py_None
51 , PyObject * parent = Py_None
55 add_compartment(Compartment * compartment);
58 remove_compartment(Compartment * compartment);
61 show_geometry(
unsigned int geometry_index,
bool hide_others);
64 hide_geometry(
unsigned int geometry_index);
67 show_all_geometries();
70 hide_all_geometries();
73 set_color(PyObject * color);
76 set_colors(PyObject * colors);