Example #1
0
    def __init__(self):
        attributes = _rtneuron.default_scene_attributes
        # Don't generate meshes because the default scene lacks plenty of them
        attributes.generate_meshes = False

        self._gui = display_empty_scene_with_GUI(GUI, attributes)

        view = _rtneuron.engine.views[0]
        view.attributes.auto_compute_home_position = False
Example #2
0
    def __init__(self, *args, **kwargs):

        attributes = _rtneuron.AttributeMap()
        # Don't use meshes because branch level culling of the meshes from the
        # default circuit provides terrible results on meshes.
        attributes.use_meshes = False
        attributes.inflatable_neurons = True

        self._gui = display_empty_scene_with_GUI(
            GUI, attributes, *args, **kwargs)

        view = _rtneuron.engine.views[0]
        view.attributes.auto_compute_home_position = False
        view.attributes.background = [1, 1, 1, 1]
        view.attributes.highlight_color = [1, 0.8, 0, 1]
Example #3
0
    def __init__(self, *args, **kwargs):

        attributes = _rtneuron.AttributeMap()
        # Don't use meshes because this tool is going to be used with circuits
        # that lack them
        attributes.use_meshes = False

        self._gui = display_empty_scene_with_GUI(
            GUI, attributes, *args, **kwargs)

        view = _rtneuron.engine.views[0]
        view.attributes.auto_compute_home_position = False
        view.attributes.auto_adjust_model_scale = False
        view.attributes.background = [0, 0, 0, 0]
        view.attributes.highlight_color = [1, 0.8, 0, 1]
Example #4
0
    def __init__(self, *args, **kwargs):

        attributes = _rtneuron.AttributeMap()
        # Don't use meshes because branch level culling of the meshes from the
        # default circuit provides terrible results on meshes.
        attributes.use_meshes = False
        # We want circuit building to assume that there are no morphologies to
        # speed it up.
        attributes.load_morphologies = False
        attributes.inflatable_neurons = True

        self._gui = display_empty_scene_with_GUI(GUI, attributes, *args,
                                                 **kwargs)

        view = _rtneuron.engine.views[0]
        view.attributes.auto_compute_home_position = False
        view.attributes.auto_adjust_model_scale = False
        view.attributes.background = [1, 1, 1, 1]
        view.attributes.highlight_color = [1, 0.8, 0, 1]