animation_examples¶
Module Contents¶
Classes¶
-
class
Animate_openGL(theOpenGLWidget, theId=0, window_title='Animation')¶ Bases:
optimeed.visualize.onclick.animationGUI.AnimationGUIImplements
DataAnimationVisualsto show opengl drawing-
update_widget_w_animation(key, index, the_data_animation)¶ What to do when a new element has to be animated. Example: self.theOpenGLWidget.set_deviceToDraw(the_data_animation.get_element_animations(0, index))
Parameters: - key – key of the trace that has to be animated
- index – index that has to be animated
- the_data_animation –
DataAnimationTracethat has to be animated
-
export_widget(painter)¶ Render scene with a painter
Parameters: painter – PyQt painter
-
delete_key_widgets(key)¶ What to do when a key has to be deleted
Parameters: key – key of the trace that has to be deleted
-
-
class
Animate_openGL_and_text(*args, is_light=True, **kwargs)¶ Bases:
Animate_openGLImplements
DataAnimationVisualsto show opengl drawing and text-
update_widget_w_animation(key, index, the_data_animation)¶ What to do when a new element has to be animated. Example: self.theOpenGLWidget.set_deviceToDraw(the_data_animation.get_element_animations(0, index))
Parameters: - key – key of the trace that has to be animated
- index – index that has to be animated
- the_data_animation –
DataAnimationTracethat has to be animated
-
get_interesting_elements(devices_list)¶ Function called upon new trace creation. From a list, takes the interesting elements for animation :param element_list: :return: new_element_list
-
-
class
Animate_lines(get_lines_method, is_light=True, theId=0, window_title='Animation')¶ Bases:
optimeed.visualize.onclick.animationGUI.AnimationGUIImplements
DataAnimationVisualsto show drawing made out of lines (widget_line_drawer)-
export_widget(painter)¶ Render scene with a painter
Parameters: painter – PyQt painter
-
delete_key_widgets(key)¶ What to do when a key has to be deleted
Parameters: key – key of the trace that has to be deleted
-
update_widget_w_animation(key, index, the_data_animation)¶ What to do when a new element has to be animated. Example: self.theOpenGLWidget.set_deviceToDraw(the_data_animation.get_element_animations(0, index))
Parameters: - key – key of the trace that has to be animated
- index – index that has to be animated
- the_data_animation –
DataAnimationTracethat has to be animated
-
get_interesting_elements(devices_list)¶ Function called upon new trace creation. From a list, takes the interesting elements for animation :param element_list: :return: new_element_list
-
-
class
Animate_lines_and_text(*args, **kwargs)¶ Bases:
Animate_linesSame as
DataAnimationLinesbut also with text-
update_widget_w_animation(key, index, the_data_animation)¶ What to do when a new element has to be animated. Example: self.theOpenGLWidget.set_deviceToDraw(the_data_animation.get_element_animations(0, index))
Parameters: - key – key of the trace that has to be animated
- index – index that has to be animated
- the_data_animation –
DataAnimationTracethat has to be animated
-