PYME.LMVis.layers.tracks module

class PYME.LMVis.layers.tracks.Track3DEngine

Bases: BaseEngine

render(gl_canvas, layer)
class PYME.LMVis.layers.tracks.TrackRenderLayer(pipeline, method='tracks', dsname='', **kwargs)

Bases: EngineLayer

A layer for viewing tracking data

alpha = <PYME.misc.mock_traits.Float object>
property bbox

Bounding box in form [x0,y0,z0, x1,y1,z1] (or none if a bounding box does not make sense for this layer) over-ride in derived classes

clim = <PYME.misc.mock_traits.CStr object>
clump_key = <PYME.misc.mock_traits.CStr object>
cmap = <PYME.misc.mock_traits.CStr object>
property colour_map
property datasource

Return the datasource we are connected to (through our dsname property).

default_traits_view()
property default_view
dsname = <PYME.misc.mock_traits.CStr object>
get_color_limit()
get_color_map()
get_colors()

Provides the engine with a way of obtaining vertex data. Should be over-ridden in derived class

Returns
a numpy array of vertices suitable for passing to glColorPointerf()
get_normals()

Provides the engine with a way of obtaining vertex data. Should be over-ridden in derived class

Returns
a numpy array of normals suitable for passing to glNormalPointerf()
get_vertices()

Provides the engine with a way of obtaining vertex data. Should be over-ridden in derived class

Returns
a numpy array of vertices suitable for passing to glVertexPointerf()
line_width = <PYME.misc.mock_traits.Float object>
method = <PYME.misc.mock_traits.CStr object>
update(*args, **kwargs)
update_from_datasource(ds)
vertexColour = <PYME.misc.mock_traits.CStr object>