icecube.steamshovel.artists.Position module

class icecube.steamshovel.artists.Position.Position

Bases: PyArtist

Draws a bubble marker for an I3Position or I3Particle, and for collections of those things.

create((PyArtist)self, (I3Frame)frame, (SceneGroup)output) None :

[Abstract base class method, must be overridden.] Generate SceneObjects for this artist. The values of frame[self.keys()] are guaranteed to be valid if this artist accepts keys.

isValidKey((PyArtist)self, (I3Frame)frame, (int)key_idx, (str)key) bool :

Return true if frame[key] is a valid key_idx’th input to this artist; must be overridden in child classes unless a requiredTypes list is given or numRequiredKeys is 0.

numRequiredKeys = 1