Moogli
 All Classes
Compartment Class Reference

Public Member Functions

 Compartment (const char *id)
 
const char * get_id ()
 
void set_neuron (Neuron *Neuron)
 
Neuronget_neuron ()
 
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_voxel (Voxel *voxel)
 
unsigned int remove_voxel (Voxel *voxel)
 
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
 
Neuronneuron
 
osg::ref_ptr< osg::Switch > node
 
osg::ref_ptr< osg::Geode > voxel_group_node
 
std::vector< Voxel * > voxel_seq
 
std::unordered_map< string,
Voxel * > 
voxel_map
 

Detailed Description

Definition at line 10 of file Compartment.hpp.


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