Esempio n. 1
0
    def __init__(self, *args, **kwargs):
        PipelineNode.__init__(self, *args, **kwargs)

        self.sid_list = None
        self.kwargs_cache = {}
        self.ignore_list = []
        self.max_num_particles = 10000
Esempio n. 2
0
 def __init__(self, *args, **kwargs):
     """Initializer.
     """
     self._bundle = None
     self._cache = None
     self.glob_pattern = self.DEFAULT_GLOB_PATTERN
     PipelineNode.__init__(self, *args, **kwargs)
Esempio n. 3
0
 def __init__(self, *args, **kwargs):
     """Initializer.
     """
     self._bundle = None
     self._cache = None
     self.glob_pattern = self.DEFAULT_GLOB_PATTERN
     PipelineNode.__init__(self, *args, **kwargs)
Esempio n. 4
0
    def __init__(self, *args, **kwargs):
        PipelineNode.__init__(self, *args, **kwargs)

        self.sid_list = None
        self.kwargs_cache = {}
        self.ignore_list = []
        self.max_num_particles = 10000
Esempio n. 5
0
 def OnInit(self):
     """Initializer.
     """
     frame = wx.Frame(None, -1, u'Inspector Panel Demo')
     inspector_panel = InspectorPanel(frame, -1)
     notebook = inspector_panel.notebook
     notebook.create_page(InspectorPage,
                          'Demo inspector',
                          target=PipelineNode())
     sizer = wx.BoxSizer(wx.VERTICAL)
     sizer.Add(inspector_panel, 1, wx.ALL | wx.EXPAND, 5)
     frame.SetSizer(sizer)
     frame.Layout()
     frame.Show(True)
     self.SetTopWindow(frame)
     return True
 def __init__(self, *args, **kwargs):
     PipelineNode.__init__(self, *args, **kwargs)
     self.node_cursor = '/'
 def __init__(self, *args, **kwargs):
     self._particle_space = None
     self._uri = None
     self._index = -1
     PipelineNode.__init__(self, *args, **kwargs)
Esempio n. 8
0
 def __init__(self, *args, **kwargs):
     """Initializer.
     """
     PipelineNode.__init__(self, *args, **kwargs)
     self._plot_species = {}
Esempio n. 9
0
        root_sizer.Add(tree_ctrl, 1, wx.ALL|wx.EXPAND, 0)
        root_sizer.SetMinSize((200, -1))
        self.SetSize((200, 600))
        self.SetSizer(root_sizer)
        self.Layout()

    def finalize(self):
        """Finalizer.
        """
        # placeholder atm


if __name__=='__main__':

    pipeline = PipelineTree()
    filter1 = PipelineNode('Filter 1')
    filter2 = PipelineNode('Filter 2')
    filter3 = PipelineNode('Filter 3')
    renderer1 = PipelineNode('Renderer 1')
    renderer2 = PipelineNode('Renderer 2')
    renderer3 = PipelineNode('Renderer 3')
    filter1.connect(pipeline.root)
    filter2.connect(filter1)
    filter3.connect(filter2)
    renderer1.connect(filter1)
    renderer2.connect(filter2)
    renderer3.connect(filter3)
    
    class App(wx.App):
        """Demonstrative application.
        """
Esempio n. 10
0
 def __init__(self, *args, **kwargs):
     self.index_cursor = 0
     PipelineNode.__init__(self, *args, **kwargs)
Esempio n. 11
0
 def __init__(self, *args, **kwargs):
     self._particle_data = None
     PipelineNode.__init__(self, *args, **kwargs)
Esempio n. 12
0
 def __init__(self, *args, **kwargs):
     self._particle_space = None
     self._uri = None
     PipelineNode.__init__(self, *args, **kwargs)
Esempio n. 13
0
 def __init__(self, *args, **kwargs):
     self._particle_data = None
     PipelineNode.__init__(self, *args, **kwargs)
Esempio n. 14
0
 def __init__(self, *args, **kwargs):
     """Initializer.
     """
     self._hdf5_data = None
     PipelineNode.__init__(self, *args, **kwargs)
Esempio n. 15
0
 def __init__(self, *args, **kwargs):
     self._hdf5_data = None
     self._uri = None
     PipelineNode.__init__(self, *args, **kwargs)
Esempio n. 16
0
 def __init__(self, *args, **kwargs):
     """Initializer.
     """
     PipelineNode.__init__(self, *args, **kwargs)
     self._plot_species = {}
Esempio n. 17
0
 def __init__(self, *args, **kwargs):
     self.index_cursor = 0
     PipelineNode.__init__(self, *args, **kwargs)
Esempio n. 18
0
 def __init__(self, *args, **kwargs):
     """Initializer.
     """
     self._hdf5_data = None
     PipelineNode.__init__(self, *args, **kwargs)
 def __init__(self, *args, **kwargs):
     PipelineNode.__init__(self, *args, **kwargs)
     self.node_cursor = '/'
Esempio n. 20
0
 def __init__(self, *args, **kwargs):
     self._hdf5_data = None
     self._uri = None
     PipelineNode.__init__(self, *args, **kwargs)