Animation Package

Function List

The Animation package contains the following KPs.

  • op_anim_flow_end() Stops an active animation flow, causing future animation requests to be ignored.
  • op_anim_force() Forces the display of all animation requests which have been processed by op_vuanim, but remain buffered by the window system.
  • op_anim_igp_bg_fill() Fills in the specified viewer’s window with a background color or pattern.
  • op_anim_igp_circle_draw() Draws a circle outline at the specified position within a viewer, using the specified graphical properties.
  • op_anim_igp_circle_fill() Draws a filled circle at the specified position within a viewer, using the specified graphical properties.
  • op_anim_igp_drawing_erase() Erases and deallocates a retained drawing from a viewer.
  • op_anim_igp_icon_draw() Erases and deallocates a retained drawing from a viewer.
  • op_anim_igp_line_draw() Draws a line segment between two specified points within a viewer, using the specified graphical properties.
  • op_anim_igp_macro_draw() Invokes a macro with a list of register assignments, producing a drawing within the specified viewer.
  • op_anim_igp_macro_redraw() Reinvokes the macro associated with an existing drawing, providing a list of new register assignments. The previously created drawing is referenced by its drawing ID, and is typically erased before its associated macro is redrawn.
  • op_anim_igp_rect_draw() Draws a rectangle outline at the specified position within a viewer, using the specified graphical properties.
  • op_anim_igp_rect_fill() Draws a filled rectangle at the specified position within a viewer, using the specified graphical properties.
  • op_anim_igp_text_draw() Draws a text string at the specified position within a viewer, using the specified graphical properties.
  • op_anim_ime_gen_pos() Converts the coordinates of an arbitrary position within a model diagram into the equivalent coordinates of the specified animation viewer.
  • op_anim_ime_nmod_draw() Loads and draws the specified model diagram in a viewer.
  • op_anim_ime_nobj_update() Updates a model object displayed in a viewer with a list of animation attribute assignments.
  • op_anim_ime_npath_traverse() Depicts the traversal of a model path displayed in a viewer via a moving mark. Examples of paths include network links and node streams.
  • op_anim_lprobe_anvid() Returns the ID of a viewer associated with a labeled probe, as specified by its label text. The viewer of each defined labeled probe is opened by the first invocation of this KP which references the probe label.
  • op_anim_macro_close() Closes the specified macro, prohibiting the addition of further operations via op_anim_mgp… or op_anim_mme… KP invocations (such KPs will effectively be null operations).
  • op_anim_macro_create() Creates an empty macro that can be defined using calls to op_anim_mgp… and op_anim_mme… KPs.
  • op_anim_macro_destroy() Removes the specified macro, releasing its memory and removing all retained drawings created via invocations of the macro.
  • op_anim_mgp_arop() Adds a primitive to the specified macro that performs an arithmetic computation using the specified operand and result registers.
  • op_anim_mgp_bg_fill() Adds a primitive to the specified macro that fills in a viewer’s window with a background color or pattern.
  • op_anim_mgp_circle_draw() Adds a primitive to the specified macro that draws a circle.
  • op_anim_mgp_circle_fill() Adds a primitive to the specified macro that draws a filled circle.
  • op_anim_mgp_icon_draw() Adds a primitive that draws an icon to the specified macro.
  • op_anim_mgp_line_draw() Adds a primitive that draws a line segment to the specified macro.
  • op_anim_mgp_rect_draw() Adds a primitive that draws a rectangle to the specified macro.
  • op_anim_mgp_rect_fill() Adds a primitive that draws a filled rectangle to the specified macro.
  • op_anim_mgp_reg_set() Adds a primitive that assigns a value to a register to the specified macro.
  • op_anim_mgp_setup_end() Adds a primitive to the specified macro. This primitive demarcates the end of the setup section of the macro.
  • op_anim_mgp_text_draw() Adds a primitive that draws a text string to the specified macro.
  • op_anim_mme_nobj_pos() Defines an operation within the specified macro that loads the position of the specified model object into a pair of registers.
  • op_anim_viewer_close() Closes the specified viewer by removing its window and deallocating all of its retained drawings and other memory.
  • op_anim_viewer_open() Opens a viewer with the specified name, position, and size.
  • op_anim_viewer_open_std() Opens a viewer with the specified name at the specified standard location.
  • op_anim_viewer_redraw() Refreshes the specified viewer’s window and all its retained drawings.
  • op_anim_viewer_scroll() Scrolls a viewer’s window so that the specified diagram coordinate is aligned with the viewer origin.

See Package Overview for a general description of this KP package.