Scaling composite shapes for a graphical human-machine interface
First Claim
1. A computer program comprising a non-transitory computer-readable storage medium having a computer-readable program code embodied therein, the computer-readable program code adapted to be executed to implement a method for scaling composite shapes for an operator display in a process control system for use in a process plant, the method comprising:
- displaying a composite shape that graphically illustrates an entity within the process plant, the composite shape including a sub-element having an unscaled parameter and a scaling parameter, wherein each scaling parameter includes values that each correspond to a dimension of the sub-element and define a resizing behavior of a corresponding sub-element;
resizing the composite shape and the composite shape sub-element in one or more dimensions;
calculating a scaling factor for each resized dimension of the composite shape, wherein the scaling factor for each resized dimension of the composite shape is a ratio between the unscaled parameter of the sub-element corresponding to the resized dimension of the composite shape and the resized dimension of the composite shape;
determining the resizing behavior for the sub-element based on the values of the sub-element scaling parameter; and
applying the calculated scaling factor to each sub-element unscaled parameter according to the determined resizing behavior, wherein each resizing behavior determines how the calculated scaling factor is applied directly to each sub-element to prevent distortion of the sub-element resulting from resizing the composite shape and the sub-element in one or more dimensions, and the unscaled parameter corresponds to the resized dimension.
1 Assignment
0 Petitions
Accused Products
Abstract
Parameters associated with sub-elements of a composite shape may determine how the sub-element is scaled during resizing of the composite shape. A graphical display editor may use the scaling parameters to calculate various scaling factors that are then applied to the sub-elements of each composite shape during resizing. The editor may apply the scaling parameters to the sub-elements for resizing in one or more axes (e.g., the length, width, and height or X, Y, and Z axes, etc.) to adjust the composite shape for a particular graphical display. The editor may apply the scaling parameters directly to each sub-element to prevent any distortion of those sub-elements. The configured scaling parameters may then be linked to the composite shape so that, at runtime, the parameters are applied to the composite shape and its sub-elements. The scaling parameters may be applied to both composite shapes and animations associated with the composite shapes.
-
Citations
35 Claims
-
1. A computer program comprising a non-transitory computer-readable storage medium having a computer-readable program code embodied therein, the computer-readable program code adapted to be executed to implement a method for scaling composite shapes for an operator display in a process control system for use in a process plant, the method comprising:
-
displaying a composite shape that graphically illustrates an entity within the process plant, the composite shape including a sub-element having an unscaled parameter and a scaling parameter, wherein each scaling parameter includes values that each correspond to a dimension of the sub-element and define a resizing behavior of a corresponding sub-element; resizing the composite shape and the composite shape sub-element in one or more dimensions; calculating a scaling factor for each resized dimension of the composite shape, wherein the scaling factor for each resized dimension of the composite shape is a ratio between the unscaled parameter of the sub-element corresponding to the resized dimension of the composite shape and the resized dimension of the composite shape; determining the resizing behavior for the sub-element based on the values of the sub-element scaling parameter; and applying the calculated scaling factor to each sub-element unscaled parameter according to the determined resizing behavior, wherein each resizing behavior determines how the calculated scaling factor is applied directly to each sub-element to prevent distortion of the sub-element resulting from resizing the composite shape and the sub-element in one or more dimensions, and the unscaled parameter corresponds to the resized dimension. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A graphic display editor for use in a process plant to resize a composite shape that represents one or more of an operation and an entity within the process plant, the graphic display editor comprising:
-
a memory and a processor; a library of composite shapes stored in the memory, wherein each of the composite shapes includes a different visual representation of a physical or a logical entity within the process control plant, a sub-element having an unscaled parameter, and a scaling parameter; a graphically based editor canvas routine including instructions stored in the memory for execution by the processor that enable a user to define an executable graphic display, wherein a first instruction places indications of one or more composite graphic objects from the library of composite graphic objects onto an edit canvas to define a manner in which visual representations of the composite graphic objects will be displayed on a display device to a user during execution of the graphic display, and a second instruction controls a scale behavior of each of the component objects of the composite graphic object; a scaling canvas routine including instructions stored in the memory for execution by the processor to associate a scaling parameter with a sub-element of a composite shape, wherein each sub-element of the composite shape is contained within a scaling canvas object and each scaling parameter includes values that each correspond to a dimension of the sub-element and define a scaling behavior of a sub-element associated with the composite shape; and a composite shape resizing routine including instructions stored in the memory for execution by the processor to; modify one or more dimensions of the composite shape and the composite shape sub-element within the editor canvas, calculate a scaling factor for each modified dimension of the composite shape, wherein the scaling factor for each modified dimension of the composite shape is a ratio between the unscaled parameter of the sub-element corresponding to the modified dimension of the composite shape and the modified dimension of the composite shape, determine the scaling behavior for the sub-element based on the values of the sub-element scaling parameter, and apply the calculated scaling factor to each sub-element unscaled parameter of the composite shape according to the associated scaling parameter, wherein each determined scaling behavior determines how the calculated scaling factor is directly applied to each sub-element to prevent distortion of the sub-element resulting from modification of one or more dimensions of the composite shape and the composite shape sub-element within the editor canvas, and the unscaled parameter corresponds to the modified dimension. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23)
-
-
24. A computer system for use in a process control plant including a memory for storing computer-executable instructions, a processor for executing the instructions, and a display for displaying composite shapes in a graphical representation of the process control plant, each composite shape representing one or more of an operation and an entity within the process plant, the system comprising:
-
a database including composite shapes each having a sub-element within a scaling canvas object, wherein each sub-element includes an unscaled parameter and a scaling parameter; and a graphical human-machine interface for displaying the graphical representation of the process plant, the interface including a composite shape resizing module having computer-executable instructions for; configuring, at configuration time, a composite shape and a scaling parameter corresponding to a sub-element of the composite shape and, at runtime, binding the configured composite shape to the configured scaling parameter, wherein the configured scaling parameter includes values that each correspond to a dimension of the sub-element and define a resizing behavior of the sub-element of the composite shape; displaying a resized scaling canvas object of the composite shape, the resized scaling canvas object including one or more changed dimensions of the sub-element of the composite shape; calculating a scaling factor for each changed dimension of the resized scaling canvas object, wherein the scaling factor includes a ratio of one or more changed dimensions of the scaling canvas object to one or more corresponding unscaled parameters of the sub-elements; determining the resizing behavior for the sub-element based on the values of the sub-element scaling parameter; and applying the calculated scaling factor to each sub-element unscaled parameter according to the determined resizing behavior, wherein each resizing behavior determines how the calculated scaling factor is applied directly to each sub-element to prevent distortion of the sub-element resulting the one or more changed dimensions of the sub-element of the composite shape, and the unscaled parameter corresponds to the changed dimension. - View Dependent Claims (25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35)
-
Specification