GB2321169A - Graphic editing method - Google Patents

Graphic editing method Download PDF

Info

Publication number
GB2321169A
GB2321169A GB9808068A GB9808068A GB2321169A GB 2321169 A GB2321169 A GB 2321169A GB 9808068 A GB9808068 A GB 9808068A GB 9808068 A GB9808068 A GB 9808068A GB 2321169 A GB2321169 A GB 2321169A
Authority
GB
United Kingdom
Prior art keywords
graphic
attribute
point
information
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
GB9808068A
Other versions
GB9808068D0 (en
GB2321169B (en
Inventor
Yasunari Itoh
Taiji Okamoto
Satoshi Kikuchi
Masahiro Yanagawa
Atsuko Kasai
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
PFU Ltd
Original Assignee
Fujitsu Ltd
PFU Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP30287693A external-priority patent/JP3359401B2/en
Application filed by Fujitsu Ltd, PFU Ltd filed Critical Fujitsu Ltd
Publication of GB9808068D0 publication Critical patent/GB9808068D0/en
Publication of GB2321169A publication Critical patent/GB2321169A/en
Application granted granted Critical
Publication of GB2321169B publication Critical patent/GB2321169B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

A graph editing method for editing a graphic having a coordinate system and a view of the graphic being displayed on a screen. The method comprises the steps of: creating a projected point in a space having a coordinate system independent from the coordinate system of the graphic, the projected point being correlated to an attribute of the graphic; moving the projected point in the space; changing the value of the attribute of the graphic in response to the movement of the projected point; and changing the view of the graphic on the screen in response to the change in the value of the attribute of the graphic.

Description

GRAPHIC EDITING APPARATUS AND METHOD The present invention relates to a graphic editing apparatus and method, for example to a graphic editing apparatus and method for creating or editing graphics on a screen such as animated images.
Regarding the editing of graphics on the screen, there are several kinds of edits such as change of position, deformation, such as deforming a circle to an ellipse, enlargement or reduction, rotation, change of state such as color or brightness, and others.
Previously-considered graphic editing apparatus based on a computer has handled a moving graphic such as an animated image according to a method in which a position of a graphic on a display unit at each time instant is described using a predetermined script or a method in which all the positions or shapes of a graphic at respective time instants are designated independently.
According to one previously-considered method, the relationships between the position of a graphic and time instant must be expressed as equations and position change information must be designated. It is therefore hard to determine the relationships between the time instant and position of a graphic during creating or editing graphics. In particular, creating or a editing a plurality of varying graphics is very hard to do. It is also hard to designate finely-varying states. Especially, editing work for varying a plurality of graphics simultaneously is very complex because time instants that are turning points of variations must be consistent among graphics.
In a method in which all shapes of a graphic varying time-sequentially are designated at respective time instants, the position and shape of a graphic must be delineated in every screen sent at each time instant (hereinafter, - fram;). An enormous amount of labour is required for creating or editing. After creating or editing is completed, (1) when a graphic is to be moved more quickly or slowly, all frames must be re-edited, and (2) when time instants at which graphics vary synchronously are to be modified, all graphics in frames concerned must be re-edited. Thus, correction is hard to do.
When a previously-considered method is adopted, it is hard to edit not only a graphic varying time-sequentially but also a graphic varying depending on the value of a certain attribute.
In such methods, when a plurality of graphics of parts are to be created with the locations of the parts held intact, the locations of the parts are placed in memory and divided into groups. A group is regarded as a single graphic. Deformation such as enlargement, reduction, rotation, or the like, or movement is executed relative to the whole of a group.
In previously-considered methods, however, when it is required to deform a particular one of graphics belonging to a group, the group graphics must be broken up to execute deformation. When a group is broken up, the positional relationships between the graphic and the other graphics are destroyed. During the deformation, an editor must deform or move the other graphics separately.
According to the specification of the PCT application No. PCT/JP 93/01303 filed on September 10, 1993, a graphic editing apparatus and method, intended to solve the above mentioned problems, provides a means for creating or editing a graphic varying with the passage of time or the change in value of an attribute.
The editing apparatus and method described in the PCT application No. PCT/JP 93/01303, performs editing of graphics in the following steps when editing a graphic related with another graphic or a group graphic containing a plurality of graphics, for example, when editing a first graphic related with a second graphic or the group graphic, each of which changes in accordance with the first graphic's movement, deformation, rotation or enlargement. The first step is to obtain a numerical attribute value for a reference line corresponding to a change in the first graphic. The second step is to edit the second graphic or the group graphic related with the first graphic, by means of a program, using the numeric attribute.
Here the reference line means a line created by using a mouse on a screen, on which line a movable point of a movable point graphic (cursor) moves in response to a change of a graphic in accordance with the graphic's movement, deformation, color change or others. Refer to the specification of the PCT application No. PCT/JP 93/01303 for further details. An attribute of a graphic means something changeable, for example, it can be an attribute of movement, deformation, color'for the like regarded as a change based on the position of a graphic or a change based on the passage of time. An attribute value means numerical data when a change of the attribute is represented by the numerical data.
It was necessary to execute the following steps when each graphic in a group graphic having a plurality of graphics is to be independently edited for movement, deformation, rotation, enlargement, or the like. The first step is to prepare two screens, a No.1 screen for showing a graphic in the group graphic to be independently edited for movement, deformation, rotation, enlargement, or the like, and a No.2 screen for showing the group graphic in which the location of the independently edited graphic is sliced. The second step is to independently edit the graphic on the No.1 screen. Third step is to make the No.1 and No.2 screens properly overlapped.
Previously when a lower graphic or a lower group graphic in a hierarchically structured graphic is to be independently edited by means of coordinate transformation, it was necessary to execute complicated procedures such as the programming of coordinate transformation for the lower graphic or the lower group graphic and displaying a graphic of the total hierarchical structure of the upper and lower graphics and/or the upper and lower group graphics after the programming.
In accordance with previously-considered systems, it was also necessary to execute the following steps when displaying numerical data or a change of a first graphic such as movement, deformation, rOtation, enlargement, or the like, corresponding to a change of a second graphic such as movement, deformation, rotation, enlargement, or the like. The first step is to get numerical data from position data of a movable point on a reference line corresponding to the change of the second graphic. The second step is to directly display the data through a program or to display the other graphic to be changed in accordance with the numerical data.
The graphic editing apparatus and method of the previously-considered systems requires much time and labour for editing graphics because complicated programming or positioning between overlapped screens or the like is required.
According to a first aspect of the present invention, there is provided a graph editing method for editing a graphic having a coordinate system and a view of the graphic being displayed on a screen, the method comprising the steps of: creating a projected point in a space having a coordinate system independent from the coordinate system of the graphic, the projected point being correlated to an attribute of the graphic; moving the projected point in the space; changing the value of the attribute of the graphic in response to the movement of the projected point; and changing the view of the graphic on the screen in response to the change in the value of the attribute of the graphic.
According to a second aspect of the present invention, there is provided a graph editing method for editing a graphic having a coordinate system and a view of the graphic being displayed on a screen, the method comprising the steps of: creating a projected point in a space having a coordinate system independent from the coordinate system of the graphic, the projected point being correlated to an attribute of the graphic; changing the value of the attribute of the graphic; moving the projected point in the space in response to the change of the value of the attribute of the graphic; and changing the view of the graphic on the screen in response to the movement of the projected point.
In an embodiment of the above methods, the graphic for editing is selected from a plurality of graphics of a group graphic which includes the plurality of graphics, each graphic of the plurality of graphics having a coordinate system and a view of each graphic being displayed on the screen.
The attribute of the selected graphic may be selected from the group comprising movement, deformation and color.
In a preferred embodiment of the second aspect, the method further comprises the steps of: determining a release source point HP1 on the selected graphic; determining a release destination point HP2 projected from the release source point to a space having a coordinate system independent from the coordinate system of the selected graphic; creating a virtual release point RP between the release source point HP1 and the release destination point HP2; correlating the virtual release point RP to an attribute of the selected graphic; moving the release destination point HP2; changing the value of the attribute of the selected graphic in response to the movement of the release destination point HP2; and changing the view of the selected graphic on the screen in response to the change of the value of the attribute of the selected graphic.
In another preferred embodiment of the second aspect, the method further comprising the steps of: determining a release source point HP1 on the selected graphic; determining a release destination point HP2 projected from the release source point to a space having a coordinate system independent from the coordinate system of the selected graphic; creating a virtual release point AP between the release source point HP1 and the release destination point HP2; correlating the virtual release point RP to an attribute of the selected graphic; changing the value of the attribute of the selected graphic; moving the release destination point HP2 in the space in response to the change of the value of the attribute of the graphic; and changing the view of the selected graphic on the screen in response to the movement of the release destination point HP2.
In either of the above preferred embodiments, the attribute of the selected graphic may be selected from the group comprising movement, deformation and color.
According to a third aspect of the invention, there is provided a graph editing method for editing a first graphic having a first coordinate system, a second graphic having a second coordinate system, and a view of the first graphic and a view of the second graphic being displayed on a screen, the method comprising the steps of: creating a first projected point in a space having a third coordinate system independent from the first and second coordinate systems, the first projected point being correlated to a first attribute of the first graphic; creating a second projected point in the space having the third coordinate system, the second projected point being correlated to a second attribute of the second graphic; correlating the first projected point to the second projected point; changing the value of the attribute of the first graphic; moving the first projected point in the space in response to the change of the value of the first attribute of the first graphic; moving the second projected point in the space in response to the movement of the first projected point; and changing the view of the second graphic on the screen in response to the movement of the second projected point.
In the above method, the first, the second and the third coordinate systems may be the same coordinate system.
The attributes of the first and second graphics may be selected from the group comprising movement, deformation and color.
According to a fourth aspect of the invention, there is provided a graph editing apparatus for editing a first graphic having a first coordinate system, a second graphic having a second coordinate system, and a view of the first graphic and a view of the second graphic being displayed on a screen, comprising: first creating means for creating a first projected point in a space having a third coordinate system independent from the first and second coordinate systems, the first projected point being correlated to a first attribute of the first graphic; second creating means for creating a second projected point in the space having the third coordinate system, the second projected point being correlated to a second attribute of the second graphic; correlating means for correlating the first projected point to the second projected point; value changing means for changing the value of the attribute of the first graphic; first moving means for moving the first projected point in the space in response to the change of the value of the first attribute of the first graphic; second moving means for moving the second projected point in the space in response to the movement of the first projected point; and changing means for changing the view of the second graphic on the screen in response to the movement of the second projected point.
In this graph editing apparatus, both the attributes of the first and second graphics may be selected from the group comprising movement, deformation and color.
Reference will now be made, by way of example, to the accompanying drawings, in which: Fig. 1 is a block diagram illustrating a basic constitution of a graphic editing apparatus for use in accordance with an embodiment of the present invention Fig. 2 is a block diagram illustrating a general data structure of edit information; Flg. 3A is a schCr, tic diagram illustrating graphic header information and point information for defining a shape of a graphic in prior art; Fig. 3B is a diagram illustrating an extent in a previously- considered system.
Fig. 3C is a diagram illustrating degree of dependency on referenced points depending on three shape defining points in a previously-considered system; Fig. 4 is a diagram illustrating an example of a hierarchically structured graphic according to an embodiment of the present invention; Fig. 5A is a diagram illustrating a group graphic before the focus-in according to an embodiment of the present invention; Fig. 5B is a diagram illustrating a group graphic after the focus-in according to an embodiment of the present invention; Fig. 6 is a flow chart of the focus-in process embodying the present invention; Fig. 7 is a flow chart of the focus-out process embodying the present invention; Fig. SA is a schematic diagram showing a display on a screen in the graphic display area in which a group graphic, a group frame graphic and other graphics are displayed; Fig. 8B is a schematic diagram showing a display of a group graphic rotated by an angle of 450; Fig. 8C is a schematic diagram showing a display of the group graphic shown in Fig. 8B after focus-in for editing the group graphic; Fig. 9 is a flow chart of a process of transforming the coordinates of a group graphic by rotating the group graphic; Fig. 10 is a flow chart of a process of transforming a coordinate axis of a group graphic by rotating the group graphic; Fig.llA shows a group frame graphic 70 of a group graphic consisting of a rectangle 71 and a circle 72; Fig.llB shows graphics surrounded by the group frame graphic 70 during focus-in operation; Fig.llC shows the transformed coordinate axis graphic of the group graphic; Fig.llD shows a distorted rectangle 74 in a real coordinate system which is transformed from an orthogonal rectangular in a virtual coordinate system by transforming the coordinate axis of the group graphic; Fig.llE shows a group graphic after focus-out; Fig.llF shows an enlarged graphic from the graphic shown in Fig. 11E in the direction of X axis after focus-out; Fig.12 is a flow chart of a process for a coordinate transformation during focus-in to a group graphic; Fig. 13 is a diagram illustrating a released point; Fig.14 is a flow chart of a process for creating a released point; Fig.15 is a flow chart of a process for operating a release point; Fig. 16 is a schematic diagram illustrating an example of a graphic editing method in use of a release point; Fig.17A shows an attribute reference line al on the left screen and an attribute reference line a2 on the right screen, and illustrates a step when the attribute reference line al is about to be selected; Fig. 17B illustrates the step to initiate the transformation of the attribute reference line al: Fig. 17C illustrates when the name of the attribute process of the transformation is entered; Fig. 17D is a diagram illustrating that a destination attribute appearance of the source attribute reference line al is changed on the left screen; Fig.17E indicates that an attribute value of the source attribute reference line al is changed as a result of the change of the destination attribute reference line a3; Fig. 18A illustrates a step when the destination attribute reference line a3 is about to be selected on the right screen, and as a result the appearance of the source attribute reference line al is changed on the left screen; Fig. 18B illustrates a step when a movable point of a cursor on an attribute reference line a2 is referred to a movable point of a cursor on the transformation destination attribute reference line a3; Fig. 18C illustrates a step when appearances of both cursors of the destination attribute reference line a3 and the source attribute reference line al are changed; Fig. 18D illustrates a step when the appearance of the attribute reference line al is changed on the left screen in response to a change of the attribute on the right screen; Fig. 19 is a first half of a flow chart of a process vfor creating transformation of attributes; Fig. 20 is a second half of a flow chart of a process for creating transformation of attribute reference lines; Fig. 21 is a flow chart of a process upon renewal of source attribute value; Fig. 22 is a first half of a flow chart of a process for creating a movable point graphic; Fig. 23 is a second half of a flow chart of a process for creating a movable point graphic; Fig.24 is a flow chart of a process of changing attribute values by means of positions of a movable point graphic; Fig.25A shows a meter on the right side and a slider having a released cursor on the left side; Fig.25B shows the meter and the slider after boost up the cursor of the slider by a mouse; Fig.25C shows two attribute display screen, one for a destination attribute reference line al, namely a meter, on the right, the other for an attribute reference line a2, namely a slider, and an attribute reference line a3, namely a meter source from the attribute reference line al of the meter, on the left; Fig.26A shows a clock having a circle front view; Fig.26B shows an enlarged graphic of the clock shown in Fig. 26A in the direction of x axis in a previously considered system; Fig.26C shows an enlarged graphic of the clock shown in Fig. 26A in the direction of x axis according to an embodiment of the present invention; Fig.27A is an explanatory drawing of the linear interpolation according to an embodiment of the present invention: Fig.27B is an explanatory drawing of the circular interpolation according to an embodiment of the present invention: and Fig. 28 illustrates an example of a graphic edited by means of interpolation arithmetic according to an embodiment of the present invention.
Fig. 1 is a view showing a basic constitution of a graphic editing apparatus embodying the present invention. A graphic editing apparatus includes a processing unit 10 consisting of a CPU, a memory, and the like for creating or editing graphics to be displayed on a screen, a display unit 11 for displaying the graphics being created or edited on the screen, and a position designating unit 12 for use in designating coordinate positions on the screen of the display unit 11 by means of a mouse, a light-pen, a keyboard or the like, and inputting the designated position data into the processing unit 10.
Two windows are assigned on the screen of the display unit 11. One window is assigned for a graphic display area 18 in which graphics or graphic reference lines are displayed. The other window is assigned for an attribute display area 19 in which attribute reference lines corresponding to the graphic reference lines displayed in the graphic display area 18, and representing attribute changes of graphics are displayed. The display unit may be provided with two physical screens in which a window is assigned to each screen.
The processing unit 10 includes a graphic information memory 13, a graphic editing mean 14, an attribute editing means 15, a graphic displaying means 16 and an attribute displaying means 17.
The graphic information memory 13 stores edit information necessary for editing graphics or attributes. The edit information includes a plurality of group management information for managing hierarchically structured graphics. A hierarchically structured graphic has a plurality of graphics and a plurality of group graphics. Each graphic information and each group graphic information is stored in another memory area of the graphic information memory 13.
In an embodiment of the present invention, a group graphic includes a plurality of graphics collected together and handled as a single graphic. A group graphic can include at least one group graphic. Further, a collection of graphics forming, a hierarchical structure, including a plurality of graphics and/or a plurality of group graphics is called a hierarchically structured graphic.
Assuming a main hierarchically structured graphic contains a plurality of classes, in which the uppermost class has a first group graphic and a lower class has a second group graphic, a collection of lower graphics including the second group graphic is called a sub-hierarchically structured graphic. Group management information of the main hierarchically structured graphic is called root information, while group management information of the sub-hierarchically structured graphic currently editing is called scope information.
The edit information includes root information, scope information and graphic/attribute information for a currently editing group graphic. In the graphic/attribute information, yes or no graphic header information for each graphic or each group graphic and yes or no attribute information corresponding to the graphic header information in the scope information, are stored in the group management information of the sub-hierarchically structured information. Furthermore, when at least one group graphic exists inside a group frame graphic surrounding the group graphic, address data for group management information of the group graphics is also stored in the graphic/attribute information.
The editing apparatus includes: a graphic editing means 14 for creating graphic reference lines in a graphic display area 18 on the screen, which are defined by transforming attribute changes resulting from movement, deformation, rotation, enlargement, color, or the like, concerning a first graphic in the first and a second graphics or in the first graphic and a first group graphic, or a first group graphic in the first and a second graphics or in the first graphic and the first group graphic, into changes of positions on the screen of the display unit 11; a graphic displaying means 16 for displaying graphics or the graphic reference lines created by the graphic editing means 14 in the graphic display area 18; an attribute editing means 15 for creating attribute reference lines in an attribute display area 19 on the screen which are defined by transforming the attribute changes corresponding to the graphic reference lines into changes of positions on the screen; and an attribute displaying means 17 for displaying the attribute reference lines created by the attribute editing means 15 in the attribute display area 19.
The graphic editing means 14 includes a basic graphic editing means, a group graphic creating means, a release point creating means, a coordinate editing means, and a movable point position determining means.
The basic graphic editing means executes fundamental processes of the graphic editing means 14, for example, creating or editing graphics such as a square and a circle on the screen.
The group graphic creating means executes the following steps.
Step 1: storing coordinate transformation information for the main hierarchically structured graphic in main group management information for managing the main hierarchically structured graphic, and coordinate transformation information for sub-hierarchically structured graphic in a sub-group management information for managing a sub-hierarchically structured graphic having a determined group graphic, in which the main hierarchically structured graphic includes the subhierarchically structured graphic as a lower class; Step 2: transforming a coordinate of the subhierarchically structured graphic based on the coordinate transformation information stored in the subgroup management information by means of the coordinate editing means when editing the sub-hierarchically structured graphic; Step 3: displaying the sub-hierarchically structured graphic in accordance with the transformed coordinate of the sub-hierarchically structured graphic; and Step 4: editing the main hierarchically structured graphic by means of a basic graphic editing means.
The release point creating means executes the following steps.
Step 1: determining at least one point as a released point in determined graphics inside a grouped frame graphic surrounding a group graphic containing a plurality of graphics; Step 2: storing information of the released point and the grouped frame graphic as grouped frame graphic information; Step 3: storing information of graphics inside the group frame graphic except the determined graphic having the released point as stationary graphic information; Step 4: displaying the graphics stored as the stationary graphic information without any change; and Step 5: editing the group graphic to be displayed by means of a group graphic creating means such that only the determined graphic having the released point to be independently changed as a result of movement, deformation, rotation, enlargement, or the like, of the determined graphic.
The movable point position determining means for editing a plurality of graphics, executes the following steps.
Step 1: creating a graphic reference line having a first movable point graphic in a graphic display area 18 on the screen of the display unit 11, in which the graphic reference line is obtained by transforming changes of attributes as a result of movement, deformation, rotation, enlargement, color, or the like, of a determined graphic into changes of positions in the graphic display area 18; Step 2: interpolating the positions of the first movable point graphic on the graphic reference line corresponding to changes of the attribute so as to obtain numerical data; Step 3: moving positions of the first movable point graphic of the graphic reference line in accordance with the numerical data; The attribute editing means 15 includes an attribute basic editing means, an attribute transforming means, and an attribute changing means.
The attribute basic editing means executes fundamental process of the attribute editing means 15, for example, creating or editing attribute reference lines on a screen.
The attribute editing means 15 includes an attribute changing means for editing a plurality of graphics, executes the following steps.
Step 1: creating an attribute reference line in an attribute display area 19 on the screen of the display unit 11, in which the attribute reference line is defined by transforming changes of the attribute corresponding to the graphic reference line into changes of positions on the screen; Step 2: moving positions of a second movable point graphic on the attribute reference line in accordance with changes of positions of the first movable point graphic of the graphic reference line; and Step 3: calculating numerical data corresponding to changes of the attribute of the determined graphic from changes of positions of the second movable point graphic of the attribute reference line.
The attribute transforming means executes the following steps.
Step 1: selecting one of the attribute reference lines as a first attribute reference line; Step 2: creating a second attribute reference line transformed from the first attribute reference line in the attribute display area 19 as an attribute reference line corresponding to the second graphic or the second group graphic; Step 3: creating synchronous transmission information which includes address data for attribute information of the first attribute reference line corresponding to attribute information of the second attribute reference line and address data for attribute information of the second attribute reference line corresponding to attribute information of the line; and Step 4: editing graphics so that the attribute of the second graphic or the second group graphic may be changed in response to a change of the attribute of the first graphic or the first group graphic by an attribute transforming means.
The attribute changing means depending on movable point graphic positions, was previously explained.
A graphic displaying means 16 executes operations of displaying desired graphics in the graphic display area 18 on the screen of the display unit 11 and the desired graphics are retrieved from a plurality of graphic header information stored in the graphic information memory 13.
An attribute displaying means 17 executes operations of displaying desired attribute reference lines in the attribute display area 19 on the screen of the display unit 11, the desired attribute reference lines are retrieved from a plurality of attribute information stored in the graphic information memory 13.
Fig. 2 is a view showing the general Bata structure of edit information. The edit information stored in the graphical information memory 13 shown in Fig.l will be explained in detail hereinafter. The edit information includes a plurality of group management information 211, 21-2,---, 21-n. As previously explained, the edit information is generally classified into three main information types such as the root information, the scope information and graphic/attribute information.
The root information is for managing a hierarchically structured graphic in hierarchical structure. The hierarchically structured graphic includes a plurality of graphics and/or a plurality of group graphics in hierarchical structure. The root information includes graphic management information 22, attribute management information 24 and graphic/attribute management information 23a to 23d.
The graphic management information 22 is for managing a plurality of graphics and/or a plurality of group graphics forming a hierarchically structured graphic.
The graphic management information 22 includes graphic header information 25a and 25b for each graphic that is constituent of the hierarchically structured graphic to be managed, graphic header information 25c for a group frame graphic surrounding a group graphic, and graphic header information 25d for a graphic reference line.
The graphic management information 22 further includes matrix transformation information 26 for defining a coordinate axis of a total hierarchically structured graphic displayed on a screen by matrix representation, and axis graphic information 27 for displaying the coordinate axis of the hierarchically structured graphic as a graphic based on the matrix transformation information 26.
The matrix transformation information 26 is represented by 6 real numbers, for example, given by a matrix consisting of 3 lines and 2 columns. In previously-considered systems, a real coordinate can be obtained busing this matrix transformation information 26 thereby displaying graphics on a screen being vertically or horizontally enlarged or reduced, or being rotated or obliquely sheared.
The axis graphic information 27 is conveniently shown to operators to show the coordinate axis after simply transforming the coordinate of the hierarchically structured graphic, thereby the operators can visually recognize the transformed coordinate axis.
The graphic/attribute management information 23a to 23d include yes or no graphic header information 25a and 25b for each graphic constituent of the hierarchically structured graphic to be managed, yes or no graphic header information 25c for a group frame graphic surrounding a group graphic, and yes or no graphic header information 25d for a graphic reference line. The graphic/attribute management information 23a to 23d also include yes or no attribute information 28a to 29d. The graphic/attribute management information 23d, in this case, further includes address data 21-2 of group management information in which graphic information inside the group frame graphic is stored.
There may be a lower class group graphic other than graphics inside the group frame graphic.
The attribute management information 24 are used for managing attribute information 28a to 28d. The attribute information 28a to 28d are information corresponding to attributes of graphic header information 25a to 25d. However, the attribute information 28a to 28d do not always exist corresponding to the graphic header information 25a to 25d, and vice versa.
The attribute information 28a to 28d include graphic header information, classified information, movable point graphic information, attribute information and pointer information to a process function upon renewal of the attribute value. Here, the classified information means information for distinguishing whether the attribute is source or destination of transformation or else. Information of movable point graphic include point information of the movable point graphic and address data of synchronous transmitting information. The pointer information to the process function upon renewal of attribute value means address data for the function program which is stored in the graphic information memory 13 and used as a function upon renewal of the attribute value. The synchronous transmitting information includes pointer address data of a graphic reference line for a desired graphic, pointer address data of the movable point graphic, pointer address data of the attribute reference line corresponding to the graphic reference line, and each data of pointer address of the movable point graphic section number and ratio data of each section of the movable point graphic. The information of each section number is indicated by the number of a section in which the movable point graphic exists. The ratio data is used for arithmetic of the position of the movable point graphic in a section on a graphic reference line or an attribute reference line.
The graphic header information includes information such as coordinate positions of a graphic displayed on the screen, the size of a graphic determined by width and height of the graphic, points, sections, and movable point graphics for the graphic. Hereinafter, the graphic header information will be explained in detail.
Fig. 3A to 3C are explanatory drawings of graphic header information and point information. Fig. 3A is an explanatory drawing of graphic header information and point information for defining a shape of a graphic in prior art. Fig. 3B is an explanatory drawing of an extent in previously-considered systems.
Fig. 3C is an explanatory drawing of degrees of dependency on referenced points depending on three shape defining points in previously-considered systems.
As shown in FIG.3A, graphic information is basically composed of graphic header information 30 and a set of points formation 31-1, 31-2, 31-3, etc, that define a shape of a graphic. The graphic header 30 consists of information concerning a rectangular zone occupied by a graphic (which is referred to as an extent), the number of points for defining the shape of the graphic, and a pointer pointing to an address of point information 31 concerning a start point 31-1. The graphic header 30 further includes a pointer pointing to an address of point information concerning a point defined as the bind point 31-2.
When a graphic is a polygon as shown in Fig.3B, the extent is a rectangular zone indicated with a broken line. Extent information included in the graphic header 30 includes the coordinate (x0,y0) of a point at the left upper corner of the extent, the width w of the extent, and the height h thereof. Points information 31 includes coordinates of the vertices of the polygon; (xl,yl), (x2,y2), etc., and a pointer pointing to point information concerning the next point. The graphic header 30 and point information 31-1, 31-2, 31-3, etc, may include various other attributes if necessary. In an example shown in Fig.3A and Fig.3B, the point (x2,y2) specified in point information 31-2 is defined as the bind point 40. The bind point 40 is regarded as one of attributes specified in graphic information and helps to assure deformation during editing graphics.
Assume that, as shown in Fig.3C, the position of the referenced point 32 is dependent on three shape determination points a, b and c, pointers pointing to the point information concerning the three points, and degree of dependency on the points; ka, kb and kc are specified in the referenced point information. Assume that the coordinates of the points a, b and c are indicated as (xa,ya), (xb,yb), and (xc,yc), and the coordinates of referenced point 32 is indicated as (xp,yp). The degree of dependency on the three points; ka, kb and kc are given by the following equations: kaxa + kbxb + kcxc = xp kaya + kbyb + kcyc = yp ka + kb + kc = 1 The point information further includes real coordinate information, virtual coordinate information and numerical data. The real coordinate information is point information (Rx, Ry) based on a real coordinate.
The virtual coordinate information is point information (Vx, vy) based on an virtual coordinate. The numerical data is information showing kinds of release. Here, the kinds of release means kinds of changes resulting from movement, deformation, rotation, enlargement, etc. of graphics.
The section information means information concerning two adjacent points defining a shape of a graphic. The section information includes address information of the adjacent two points consisting of a start point and an end point, and numerical data that indicates whether the line drawn between the two points is direct line, curved line or a circle arc.
The movable point graphic information includes point information for defining a shape of a movable point graphic and address information of synchronous transmission information.
The group frame graphic information includes graphic header information concerning a group frame graphic surrounding graphics constituent of a group graphic with a rectangular frame. The group frame graphic information also includes released point information that lists released points on the graphics inside the frame of the group frame graphic, and address information of graphics inside the frame of the group frame graphic.
The released point information includes address information of released points of graphics constituent of the group graphic, and address information of the released points managed by the group frame graphic information. Hereinafter, editing information will be explained with examples in detail.
Fig. 4 is a view showing an example of a hierarchically structured graphic according to an embodiment of the present invention. As shown in Fig.4, this hierarchically structured graphic includes a triangle 41, a star 42, a group frame graphic 43 and a graphic reference line 44. A circle 45 and a triangle 46 are surrounded by a frame of the group frame graphic 43. Where these graphic information are stored as edit information will be explained below referring to Fig.2.
Graphic information of the inverse triangle 41 and the star 42 are stored as graphic header information 25a and 25b. Graphic information of the group frame graphic 43 is stored as group frame graphic information 25c. In the graphic/attribute management information 23c corresponding to the group frame graphic information 25c, address 21-2 of group management information of the group frame graphic 43 is stored. Therefore, information of the circle 44 and the triangle 45 are stored as graphic header information included in group management information at the address of 21-2.
An editing method for editing only graphics inside a group frame graphic of a group graphic, namely a group graphic, in a hierarchically structured graphic will be explained below.
Figs. 5A and 5B are explanatory drawings of focusin and focus-out according to an embodiment of the present invention. Fig. 5A is a view showing an example of a group graphic after focus-in according to an embodiment of the present invention. Fig. SB is a view showing an example of a group graphic before focus-in according to an embodiment of the present invention. Fig. 5A shows a group graphic consisting of a circle 51 and a triangle 52, a group frame graphic 50 surrounding the group graphic by a rectangle, a rectangle 54 and a triangle 55, created in a graphic display area on a screen. The focus-in is an operation to define editing area inside the group frame graphic. The focus-out is an operation to reset an operation of the focus-in, namely the focus-out releases the editing area back to the normal. When focus-in is operated to define editing area inside the frame of the group frame graphic 50, graphics of the group frame graphic 50, the rectangle 54 and the triangle 55 disappear from the screen, and the circle 51 and the inverse triangle 52 are remained on the screen as shown in Fig. 5B. Further, a coordinate axis graphic 57 of the group graphic appears on the screen.
After this, graphics inside the group frame graphic 50 can be edited without causing any influences to the graphics outside the group frame graphic 50. This method is very effective particularly when a coordinate transformation of the graphics only inside the group frame graphic 50 is required. When the focus-out control is operated, the display of the screen returns from Fig.
53 to Fig.5A, and editing operation of the whole graphics on the screen become possible. This is because the focus-in is controlled to allow operators to access only desired graphic management information in the editing information.
Fig. 6 is a flow chart of a focus-in process embodying the present invention. Numbers following after the letter "s", described in accompanying figures, from Fig. 6 to Fig. 24, indicate step numbers.
First, Focus-in is selected from menu shown upper part on the screen of the display unit 11 and the focus-in Operation, by the position designating unit 12 starts, then the cpu in the processing unit 10 distinguishes whether the selected graphic consists of only one graphic or more (Step S1). When the result of the step S1 is yes, it ris distinguished whether or not the graphic/attribute management information relating to the selected graphic header information retains group management information (Step S2). When the result of the step S1 is no, the focus-in process is finished.
When the result of the step S2 is yes, the group management information retained by graphic/attribute management information of the group graphic currently editing in edit information is set (Step S3). Here, setting group management information means replacing the scope information. When the result of the step S2 is no, the focus-in process is finished. After the execution of the step S3 is finished, graphics in the graphic display area 18 are re-drawn (Step S4), and the attribute reference lines in the attribute display area 19 are re-drawn (Step S5).
Fig. 7 is a flow chart of a focus-out process embodying the present invention First, it is distinguished whether or not upper class graphics or upper class group graphics corresponding to a group management information currently editing in edit information exist (Step S1). When the result of the step S1 is yes, the group management information of the upper class graphics or the group graphics in edit information as new group management information is set (Step S2). When the result of the step S1 is no, the focus-out process is finished. After the execution of the step S2 is finished, graphics in the graphic display area 18 is re-drawn (Step S3), and re-drawn attribute reference lines in the attribute display area 19 is re-drawn (Step S4).
Fig.8A, Fig.8B and Fig.8C are sample drawings of a set of displays on a screen showing that focus-in operation is executed after a group graphic is rotated by 450 . Fig. 8A is a view showing a display on a screen in the graphic display area in which a group graphic consisting of a triangle 61 and a square 62, a group frame graphic 60 of the group graphic and two rectangles 64 and 65 are displayed. Fig. 8B is a view showing a display of a group graphic surrounded by a group frame graphic 60 rotated by the angle of 45" and Fig. 8C is a view showing a display of the group graphic shown in Fig. 8B after focus-in for editing the group graphic. As can be seen in Fig.8C, compared with Fig.8B, the group frame graphic 60 and two rectangles 64 and 65 disappear and the inverse triangle 61 and the square 62 only remain on the screen. Furthermore, an axis graphic 67 that indicates the coordinate axis of the group graphic rotated by 45 is displayed. As shown in Fig.8B and Fig.8C, it can be understood that the axis graphic 67 indicating the coordinate axis of the group graphic is displayed as if it is rotated in the same angle of the rotation as that of the group graphic.
Fig. 9 is a flow chart of a process of transforming the coordinates of a group graphic by rotating the group graphic. A cpu in the processing unit 10 executes the deformation of a selected group frame graphic to a rectangle (Step S1), and calculates a transformation matrix T from the difference between the shape of before and after transforming the group frame graphic (Step S2). The coordinate matrix G'= TX G ( T and G will be explained later ) of the group frame graphic after transformation is calculated(Step S3). The real coordinate matrix of the graphic is calculated (Step S4). The graphics in the graphic display area 18 are redrawn (Step S5).
Hereinafter, a real coordinate and a virtual coordinate will be briefly explained. The reason why the real coordinate and the virtual coordinate are used in embodiments of the present invention is that coordinate transformation can be effectively processed by the use of at least one real coordinate and virtual coordinate. Here, a real coordinate means the x-y coordinate representing each dot (pixel) position on a window screen based on an original point at a left upper corner of the window screen. Each dot position on the screen is expressed as (Rx, Ry). The virtual coordinate (Vx, Vy) is a determined coordinate provided for giving the real coordinate obtained as a result of rotation or movement of the determined coordinate, in which the real coordinate can be given by multiplying the determined coordinate by a transformation matrix. The virtual coordinate (Vx, Vy) corresponding to the real coordinate (Rx, Ry) is expressed by the following equation.
(Rx, Ry) = T X (Vx, Vy) wherein T is (2, 3) transformation matrix having 2 rows and 3 columns, which generally provides arbitrary two dimensional coordinate. Assuming that each transformation matrix of each hierarchically structured group graphic as GO, G1,- , Gn respectively, total transformation matrix T can be given by the equation below.
T = GO X G1 X . X Gn Fig. 10 is a flow chart of a process of transforming a coordinate axis of a group graphic by rotating the group graphic. Real coordinates for all of the graphic header information stored in graphic management information are calculated (Step S1).
Whether or not the transformed graphic header information is for a group frame graphic is determined (Step S2). If it is distinguished yes in step S2, real coordinates of the group graphic of the group frame graphic are calculated (Step S3). If it is distinguished no in step S2, the process finishes.
Fig.llA to Fig.llF are views showing sample operations for creating graphics when transforming coordinate of a group graphic during focus-in operation.
Fig.llA shows a group frame graphic 70 of a group graphic consisting of a rectangle 71 and a circle 72.
Fig.11B shows graphics surrounded by the group frame graphic 70 during focus-in operation. Fig.llC shows the transformed coordinate axis graphic of the group graphic.
Fig.llD shows a distorted rectangle 74 in a real coordinate system which is transformed from an orthogonal rectangle in a virtual coordinate system by transforming the coordinate axis of the group graphic.
Fig.llE shows a group graphic after focus-out. Fig.llF shows an enlarged graphic from the graphic shown in Fig.
IlE in the direction of X axis after focus-out. As shown in Fig.llF, the shapes of graphics belonging to the group graphic are transformed based on the transformed coordinate after sequential operations such as the group graphic focus-in operation (step 1), the transformation of a coordinate of the group graphic (step 2), and the group graphic focus-out operation are executed (step 3).
Fig. 12 is a flow chart of a process for a coordinate transformation during focus-in to a group graphic. The cpu of the processing unit 10 deforms a coordinate axis graphic of a selected group graphic (Step S1). An arithmetic of coordinate transformation is executed to obtain a transformation matrix T from the distorted axis graphic (Step S2). A calculation ( G' = T G ) of coordinate transformation is executed to obtain a transformation matrix T of the graphic management information that is stored in the group management information currently editing is calculated (Step S3).
Calculations to multiply an inverse matrix T -' by the transformation matrix T for all graphics managed by the graphic management information are executed (Step S4).
Calculations to obtain all real coordinates of graphics managed by the graphic management information are executed (Step S5). The graphics in the graphic display area 18 on the screen are re-drawn (Step S6).
A group graphic created to have a hierarchical structure can have a real coordinate given by multiplication of each transformation matrix of group graphic. In this case, assuming the transformation coordinate of top class group graphic is GO and the transformation coordinate of n-th class group graphic is Gn, then the real coordinate R of the group graphic having classes can be given the following equation.
[Rx,Ry] = GOX GlX . X GnX [Vx,Vy] Fig.13 is an explanatory drawing of a released point. As shown in Fig.13, inside a group frame graphic 80, there are a zigzag line 81 and a triangle 82 which form a group graphic. As previously explained, a group frame graphic information includes release destination point information. One of release destination point information is a release destination point information HP2 on graphics inside the group frame graphic 80. A plurality of release destination points can be set in the graphics inside the group frame graphic 80. The other release point information is a release source point information HP1 corresponding to the release destination point information HP2. The number of the release source point information HP1 is same as that of the release destination point information HP2. Between each release source point HP1 and each corresponding release destination point HP2, each corresponding virtual release point RP is interposed. The release source point HP1 can be correlated with the virtual release point RP in the same manner as the release destination point HP2 can be correlated with the virtual released point RP. Then, the change of the zigzag line 81 occurs in accordance with a kind of release previously selected from transformation, rotation, enlargement, or mode dependency by the basic graphic editing means in response to movement or deformation, or the like, initiated by a circle 83 related to the release destination point HP2. The virtual release point RP stores information of kind of release for both the release source point HP1 and the release destination point HP2. The same applies to a graphic correlated with the release source point HP1.
Fig.14 is a flow chart of a process for creating a released point. At least a release source point HP1 is selected by entering with a mouse are designated (Step S1). The kinds of release from transformation, rotation, enlargement, or mode dependency (Step S2). Whether or not the selected points are releasable points based on whether or not the release source points HP1 are on shape defining points of graphics inside the group frame graphic is distinguished (Step S3). When the result of the step S3 is yes, release destination points HP2 inside the group frame graphic 80 are created, and point information are memorized (Step S4). Kinds of release for point information of the release source points HP1 are determined (Step S5). Virtual release points RP for interchanging information between the release source point information HP1 and the release destination point information HP2 are created, and the release source point information HP1 and the release destination point information HP2 are memorized (Step s6).
Fig.15 is a flow chart of a process for operating a release point. A position of a release destination point HP2 is going to be changed via a mouse input device is designated (Step S1). A vertual release point RP and a release source point HP1 corresponding to the release destination point HP2 are obtained (Step S2). A graphic 81 belong to the release source point HP1 is obtained (Step S3). The kind of release of the release source point HP1 is designated by means of a mouse input device (Step S4). The kind of release includes deformation, rotation, enlargement, and mode dependency.
Mode dependency is predetermined by a basic graphic editing means and functions to perform automatic editing in accordance with the preselected mode.
Deformation, rotation, enlargement, or deformation corresponding to a dependent mode for a graphic 81 is executed (Step S5). A position data of a release destination point HP2 in accordance with the position data of the release source point HP1 is memorized after the execution of the step S5 (Step S6).
Fig. 16 is a view showing an example of a graphic editing method in use of a release point. A meter consisting of a pointer F1 and a scale plate F2 is shown in Fig. 16. The position of the pointer F1 on the scale plate F2 can be changed by setting the head of the pointer F1 as a release destination point HP2. In this way, a graphic forming a meter can be edited as if it were one of parts by using the graphic information thereof. Furthermore, a pointer F1, an element of the group graphic, namely an element of the meter, can be edited without changing other graphics composing the group graphic than the pointer by only releasing a point of the pointer F1.
Fig.17A to Fig.17E are explanatory drawings of an operational procedure for transformation. Each figure indicates two screens for attribute processes. Fig.17A shows a transformation source attribute reference line al for attribute information on the left screen and an attribute reference line a2 for attribute information on the right screen, and indicates a step when the transformation source attribute reference line al for an attribute information is about to be selected.
Fig.17B indicates the step to initiate the transformation of the source attribute reference line al for an attribute information. Fig.17C indicates when the name of the attribute process of the transformation is entered. Fig.17D indicates that a transformation destination attribute reference line a3 for an attribute information is created on the right screen and an appearance of the transformation source attribute reference line l for an attribute information is changed on the left screen. Fig.17E indicates that an attribute value of the transformation source attribute reference line al is changed as a result of the change of the transformation destination attribute reference line a3 for an attribute information.
Fig.18A to Fig.18D are explanatory drawings of an operational procedure for linking attributes by transformation. Each figure indicates two screens for attribute processes. Fig.18A indicates a step when the transformation destination attribute reference line a3 for an attribute information is about to be selected on the right screen, and as a result the appearance of the transformation source attribute reference line al for an attribute information is changed on the left screen.
Fig.18B indic for a attribute information and attribute reference line for a transformation source attribute information al are changed. Fig.18D indicates a step when the appearance of the transformation source attribute reference line al for an attribute information is changed on the left screen in response to a change of the attribute reference line a2 for an attribute information on the right screen. Here, two screens, shown on each side in Fig.17 and Fig.18, can be provided in attribute display area 19 to create attribute reference lines to be displayed in the display unit 11. It is also possible to provide only one screen in the display unit 11 for alternately displaying two different attribute reference lines.
Fig.l9 and Fig.20 are flow charts of processes for transformation of attribute reference lines. Fig.l9 and Fig.20 will be explained referring to Fig.17. In these drawings, attribute information al and a2 correspond to graphic/attribute information cl and c2, and synchronous transmission information gl and g2 respectively.
A source Gantt chart (referred to as an attribute reference line) al is selected to be transformed [refer to Fig.17A and Fig.17B3 (Step S1).
Transformation destination attribute management information is designated thereby the cpu of the processing unit knows that a new Gantt chart (attribute reference line) is going to be created, in this case [refer to Fig.17C] (Step S2).
A new Gantt chart a3 in transformation destination attribute management information is created [refer to Fig.17D until step 513] (Step S3).
New graphic/attribute information cl in new transformation group management information is created (Step S4).
An attribute information for the Gantt chart a3 is stored in the graphic/attribute information cl (Step S5).
The kind of the attribute information for the Gantt chart a3 as a general attribute (neither a transformation source attribute nor a transformation destination attribute), a transformation source attribute, or a transformation destination attribute is designated (Step S6).
New synchronous transmission information gl is created and memorized in the graphic/attribute information cl (Step S7).
Data of address of Gantt chart information for a transformation source Gantt chart al, a cursor information for the Gantt chart al, Gantt chart information for a transformation destination Gantt chart a3, and a cursor information for the Gantt chart a3, are stored in a memory area of synchronous transmission information gl for a graphic reference line no.l, a movable point graphic no.l, a graphic reference line no.2, and a movable point graphic no.2 respectively (Step S8).
Synchronous transmission information gl is memorized in a memory area for a cursor on the transformation source Gantt chart al (Step S9).
Synchronous transmission information gl is memorized in a memory area of a cursor on the transformation destination Gantt chart a3 (Step S10).
A section number and the ratio of the section number from a position of the cursor on the transformation source Gantt chart al are determined, and the section number and the ratio of the section number are memorized in the memory area of the synchronous transmission information gl (Step S11).
A position of the cursor on the Gantt chart a3 is determined from the section number and the ratio of the section number memorized in the memory area of the synchronous transmission information gl, and are moved to the corresponding position (Step S12).
The kind of the attribute information for the Gantt chart al is memorized as transformed source attribute information (Step S13).
The attribute information for the Gantt charts al and a3 are re-drawn in accordance with the information of the kind and position data thereof (Step S14).
Fig.21 shows a flowchart of a process upon renewal of transformation attribute value.
A position change command is initiated to change the position of the movable point graphic on the attribute reference line a3 by means of a mouse input or a program interface for renewing another attribute reference line a2 to which the movable point graphic refers (Step S1).
A section number and the ratio of the section number are determined from a position of the movable point graphic of the attribute reference line a3, and the section number and the ratio of the section number are updated in the memory area of the synchronous transmission information gl (Step S2).
A position of the movable point graphic on the attribute reference line al is read from the section number and the ratio of the section number stored in the memory area of the synchronous transmission information gl, and the movable point graphic on the attribute reference line al is moved to the corresponding position (Step S3).
An attribute value is calculated from the position of the movable point graphic on the attribute reference line al and the calculated attribute value is stored (Step S4). The attribute value is given by the expression below.
(v - s)/( e - s) wherein v indicates an x coordinate value of the movable point graphic, s indicates a top x coordinate of a sequence of points of the Gantt chart (attribute reference line), and e indicates an end x coordinate of a sequence of points of the Gantt chart.
It is distinguished whether or not a renewal process program is set in response to attribute values of the attribute information for the attribute reference line al (Step S5).
If the result of the step S5 is yes, the renewal process program is called when renewing the attribute value of the attribute reference line al (Step S6).
The attribute reference lines al and a3 are redrawn in accordance with the renewed position data (Step S7).
Fig.22 and Fig.23 are flow charts of a process for creating a movable point graphic. In these flow charts, attribute information for the attribute reference lines al and a4 correspond to graphic/attribute information cl and c2, synchronous transmission information gl and g2, and movable point graphic information ml and m2, respectively.
A sequence of points and kinds of attributes of sections between the adjacent points are designated by means of a mouse input (Step S1). There are direct line and circle arc kinds of sections.
A new movable point graphic of the movable point graphic information ml is created in accordance with the designated information designated by step S1 (Step S2).
An attribute information for the attribute reference line a4 that has the same number of a sequence of points as designated in step sl is created (Step S3).
Each length of sections of the attribute reference line a4 corresponding to that of the movable point graphic information ml is proportionally divided (Step S4).
A new synchronous transmission information g2 is created and memorized in the graphic/attribute information c2 (Step S5).
The synchronous transmission information is interposed between attribute information of the transformation source graphic and transformation destination graphic, and transmits address data of attribute information of the destination graphic for attribute information of the source graphic and address data of attribute information of the source graphic for attribute information of the destination graphic.
The data of address for Gantt chart information for a transformation source Gantt chart ml, a cursor information for the Gantt chart ml, Gantt chart information for a transformation destination Gantt chart a4, and a cursor information for the Gantt chart a4, are stored in a memory area of synchronous transmission information g2 for a graphic reference line no.l, a movable point graphic no.l, a graphic reference line no.2, and a movable point graphic no.2 respectively (Step S6).
Synchronous transmission information g2 is stored in a memory area for a movable point graphic on the transformation destination Gantt chart a4 (Step S7).
Synchronous transmission information g2 is stored in a memory area of a movable point graphic on the transformation source Gantt chart ml (Step S8).
New graphic /attribute management information c2 is created as current group management information and graphic header information ml, attribute information a4, synchronous transmission information g2 are stored (Step S9).
The position data of the movable point graphic of movable point graphic information ml are stored in the half of the sum of each section length thereof (Step Sly).
A section number and the ratio of the section number from a position of the movable point graphic on the transformation source Gantt chart ml is determined, and the section number and the ratio of the section number are stored in the memory area of the synchronous transmission information g2 (Step S11).
A position of the movable point graphic on the attribute reference line a4 is determined from the section number and the ratio of the section number stored in the memory area of the synchronous transmission information g2, and the movable point graphic is moved to the corresponding position (Step S12).
The kind of the attribute information ml is memorized as source attribute information (Step S13).
The Gantt charts ml and a4 are re-drawn in accordance with the information of the kind and position data thereof (Step S14).
Fig.24 is a flow chart of a process of changing attributes values by means of positions of a movable point graphic.
A position change command is initiated to change the position of the movable point graphic on the attribute reference line of the attribute information ml by means of a mouse input or a program interface for renewing another attribute to which the movable point graphic refers (Step S1).
The position of a movable point graphic of movable point graphic information ml are calculated and the movable point graphic is moved in accordance with the result (Step S2).
A section number and a ratio of the section number are determined from a position of the movable point graphic information ml, and the section number and the ratio of the section number are memorized in the memory area of the synchronous transmission information g2 (Step S3).
A position of the movable point graphic on the attribute reference line of attribute information ml is determined from section number and the ratio of the section number stored in the memory area of the synchronous transmission information g2, and the movable point graphic is moved to the corresponding position (Step S4).
The attribute value from the position of the movable point graphic of the attribute in formation a4 is calculated and the calculated attribute value is stored (Step S5). The attribute value can be calculated by the equation below.
(v - s)/( e - s) wherein v indicates x coordinate value of the movable point graphic, s indicates top x coordinate of a sequence of points of the Gantt chart (attribute reference line), and e indicates end x coordinate of a sequence of points of the Gantt chart.
It is distinguished whether or not a renewal process program is set in response to attribute values of the attribute information a4 (Step S6).
If the result of the step S6 is yes, the renewal process program is called when renewing the attribute value of the attribute information a4 (Step S7).
The attribute reference lines of attribute information ml and a4 are re-drawn in accordance with the renewed position data (Step S8).
Fig.25A to Fig.25C are drawings showing a sample of graphics created and edited by means of transformation embodying the present invention. Fig. 25A shows a meter on the right side and a slider having a released cursor on the left side. Fig.25B shows the meter and the slider after the cursor on the slider is moved by a mouse. Fig.25C shows two attribute display screens, one for a destination attribute reference line for al, namely a meter, on the right, the other for an attribute reference line for a2, namely a slider, and an attribute reference line for a3, namely a meter source from the attribute reference line for al of the meter, on the left. As shown by Fig.25A to Fig.25C, it is understood that when an attribute value of a graphic is changed, an attribute value of the other graphic is also changed.
Fig.26A to Fig.26C are explanatory drawings for editing graphics by means of coordinate transformation in an embodiment of the present invention. Fig. 26A shows a clock having a circle front view. Fig.26B shows an enlarged graphic of the clock shown in Fig. 26A in the direction of x axis according to a previously-considered system. It can be seen that the circle is deformed into an ellipse and the pointer of the clock is extended toward outside of the ellipse. Fig.26C shows an enlarged graphic of the clock shown in Fig. 26A in the direction of x axis in an embodiment of the present invention. It can be seen that the circle is deformed into an ellipse but the pointer of the clock is within the ellipse.
Fig. 27A and Fig. 27B are explanatory drawings for interpolation in an embodiment of the present invention.
Fig.27A is an explanatory drawing of the linear interpolation and Fig.27B is an explanatory drawing of the circular interpolation. Fig.27A indicates that an arbitrary point (X, Y) on a line between a point (0,0) and a point (Xe, Ye) is given by the following equation.
(X, Y) = ( 0, 0 ) when a < 0 (X, Y) = ( a Xe, a Ye ) when 0 5 a 5 1 (X, Y) = ( Xe, Ye ) when 1 < a wherein a = ( Xe x + Ye y) / ( Xe' + Ye2 Fig.27B indicates that an arbitrary point (X, Y) on a circle arc between a point with the radian r and the angle r = and another point with the radian r and the angle T = 6 is given by the following equation.
(X, Y) = ( r X cos 0 , r X sin 0 ) when r (X, Y) = ( r X cos r ,r X sin r ) whens < r < (X, Y) = ( r X cos 6 , rX sin S ) whenS < T wherein = tan -1 ( y / x ), and (x ,y) indicate arbitrary point Fig. 28 indicates an example of a graphic edited in accordance with interpolation arithmetic in an embodiment of the present invention. The Fig. 28 shows a screen of the graphic editing apparatus of the present invention.
Each signs shown in two rows of the screen on the left side are tools used for creating or editing graphics.
Eight words indicated by alphabet on the upper of the screen such as File, View, Edit, Grips, Geometry, Structure, Align, and Props, indicates 8 menus. From upper left to the lower right of the screen in the graphic display, an Achilles, a turtle and a slider are shown, and each graphic reference line thereof, bl, b2 and b3 are respectively shown underneath of each of these graphics. On the bottom right, attribute reference lines cl, c2 and c3 corresponding the Achilles, the turtle and the slider are shown in an attribute display area. It is possible to edit a screen according to the present invention in a manner that the Achilles moves from left to right at twice faster speed than that of the turtle, and the Achilles passes the turtle at the vertical line indicated "goal" .
In an embodiment of the invention for graphic editing method and apparatus, in particular by means of the attribute transformation creating means, it is performed that editing operations of a graphic or a group graphic having a plurality of graphics to be changed related with another graphic or another group graphic, for example, editing the graphic or the group graphic to be changed in the same way as changes of the related graphic resulting from movement, deformation, rotation or enlargement. More concretely, a graphic correlated with another graphic can be edited to rotate clockwise or counterclockwise corresponding to up or down movement of the another graphic.
In an embodiment of the present invention for graphic editing method and apparatus, in particular by means of the released point creating means for setting a released point in a desired graphic in a group graphic having a plurality of graphics, editing operations of a desired graphic can be independently performed based on changes resulting from movement, deformation, rotation, enlargement, or the like of the desired graphic. Therefore, editing operations on group graphics become easier than previously. More practically, a pointer can be freely edited to be moved in a group graphic having a pointer and a meter.
In an embodiment of the present invention for graphic editing method and apparatus, in particular by means of coordinate editing means, editing operations with coordinate transformation of a lower graphic or a lower group graphic in a hierarchically structured graphic consisting of upper and lower graphics and/or upper and lower group graphics can be independently performed. More practically, a rectangle created after focus-in to a group graphic in a sub hierarchically structured graphic of which a coordinate is distorted, a distorted rectangle can be displayed after focus-out.
In an embodiment of the present invention for graphic editing method and apparatus, in particular by means of a movable point graphic position setting means and an attribute changing means, displaying operations of numerical data corresponding to a change of a graphic resulting from movement, deformation, rotation, enlargement, or the like, or displaying operations of a change of another graphic resulting from movement, deformation, rotation, enlargement, or the like, corresponding to the change of the graphic resulting from movement, deformation, rotation, enlargement, or the like, can be performed.
More practically, the brightness of background of a screen or a pointer of a clock may be changed in accordance with the sun rising from the east until the sun sets to the west.

Claims (14)

1. A graph editing method for editing a graphic having a coordinate system and a view of the graphic being displayed on a screen, the method comprising the steps of: creating a projected point in a space having a coordinate system independent from the coordinate system of the graphic, the projected point being correlated to an attribute of the graphic; moving the projected point in the space; changing the value of the attribute of the graphic in response to the movement of the projected point; and changing the view of the graphic on the screen in response to the change in the value of the attribute of the graphic.
2. A graph editing method for editing a graphic having a coordinate system and a view of the graphic being displayed on a screen, the method comprising the steps of: creating a projected point in a space having a coordinate system independent from the coordinate system of the graphic, the projected point being correlated to an attribute of the graphic; changing the value of the attribute of the graphic; moving the projected point in the space in response to the change of the value of the attribute of the graphic; and changing the view of the graphic on the screen in response to the movement of the projected point.
3. A graph editing method as claimed in claims 1 or 2, wherein the graphic for editing is selected from a plurality of graphics of a group graphic which includes the plurality of graphics, each graphic of the plurality of graphics having a coordinate system and a view of each graphic being displayed on the screen.
4. A graph editing method as claimed in claim 3, wherein the attribute of the selected graphic is selected from the group comprising movement, deformation and color.
5. A graph editing method as claimed in claim 3, wherein the method further comprising the steps of: determining a release source point HP1 on the selected graphic; determining a release destination point HP2 projected from the release source point to a space having a coordinate system independent from the coordinate system of the selected graphic; creating a virtual release point RP between the release source point HP1 and the release destination point HP2; correlating the virtual release point RP to an attribute of the selected graphic; moving the release destination point HP2; changing the value of the attribute of the selected graphic in response to the movement of the release destination point HP2; and changing the view of the selected graphic on the screen in response to the change of the value of the attribute of the selected graphic.
6. A graph editing method as claimed in claim 3, wherein the method further comprising the steps of: determining a release source point HP1 on the selected graphic; determining a release destination point HP2 projected from the release source point to a space having a coordinate system independent from the coordinate system of the selected graphic; creating a virtual release point RP between the release source point HP1 and the release destination point HP2; correlating the virtual release point RP to an attribute of the selected graphic; changing the value of the attribute of the selected graphic; moving the release destination point HP2 in the space in response to the change of the value of the attribute of the graphic; and changing the view of the selected graphic on the screen in response to the movement of the release destination point HP2.
7. A graph editing method as claimed in claims 5 or 6, wherein the attribute of the selected graphic is selected from the group comprising movement, deformation and color.
8. A graph editing method for editing a first graphic having a first coordinate system, a second graphic having a second coordinate system, and a view of the first graphic and a view of the second graphic being displayed on a screen, the method comprising the steps of: creating a first projected point in a space having a third coordinate system independent from the first and second coordinate systems, the first projected point being correlated to a first attribute of the first graphic; creating a second projected point in the space having the third coordinate system, the second projected point being correlated to a second attribute of the second graphic; correlating the first projected point to the second projected point; changing the value of the attribute of the first graphic; moving the first projected point in the space in response to the change of the value of the first attribute of the first graphic; moving the second projected point in the space in response to the movement of the first projected point; and changing the view of the second graphic on the screen in response to the movement of the second projected point.
9. A graph editing method as claimed in claim 8, wherein the first, the second and the third coordinate systems are the same coordinate system.
10. A graph editing method as claimed in claims 8 or 9, wherein both the attributes of the first and second graphics are selected from the group comprising movement, deformation and color.
11. A graph editing apparatus for editing a first graphic having a first coordinate system, a second graphic having a second coordinate system, and a view of the first graphic and a view of the second graphic being displayed on a screen, comprising: first creating means for creating a first projected point in a space having a third coordinate system independent from the first and second coordinate systems, the first projected point being correlated to a first attribute of the first graphic; second creating means for creating a second projected point in the space having the third coordinate system, the second projected point being correlated to a second attribute of the second graphic; correlating means for correlating the first projected point to the second projected point; value changing means for changing the value of the attribute of the first graphic; first moving means for moving the first projected point in the space in response to the change of the value of the first attribute of the first graphic; second moving means for moving the second projected point in the space in response to the movement of the first projected point; and changing means for changing the view of the second graphic on the screen in response to the movement of the second projected point.
12. A graph editing apparatus as claimed in claim 11. wherein both the attributes of the first and second graphics are selected from the group comprising movement, deformation and color.
13. A graph editing method, substantially as hereinbefore described with reference to Figures 13 to 16 or Figures 17 to 25 of the accompanying drawings.
14. A graph editing apparatus, substantially as hereinbefore described with reference to Figures 13 to 16 of Figures 17 to 25 of the accompanying drawings.
GB9808068A 1993-12-02 1994-08-26 Graphic editing apparatus and method Expired - Fee Related GB2321169B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP30287693A JP3359401B2 (en) 1993-12-02 1993-12-02 Figure editing apparatus and method
GB9417381A GB2284524B (en) 1993-12-02 1994-08-26 Graphic editing apparatus and method

Publications (3)

Publication Number Publication Date
GB9808068D0 GB9808068D0 (en) 1998-06-17
GB2321169A true GB2321169A (en) 1998-07-15
GB2321169B GB2321169B (en) 1998-08-26

Family

ID=26305525

Family Applications (1)

Application Number Title Priority Date Filing Date
GB9808068A Expired - Fee Related GB2321169B (en) 1993-12-02 1994-08-26 Graphic editing apparatus and method

Country Status (1)

Country Link
GB (1) GB2321169B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1369821A2 (en) * 2002-06-06 2003-12-10 Fujitsu Limited Segment editing support apparatus and method
DE10031364B4 (en) * 1999-06-29 2009-12-31 Mitsubishi Denki K.K. Apparatus and method for image display

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2221369A (en) * 1988-07-29 1990-01-31 Univ Toronto Two-dimensional emulation of three-dimensional trackball
GB2303282A (en) * 1992-09-10 1997-02-12 Fujitsu Ltd Graphic editing apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2221369A (en) * 1988-07-29 1990-01-31 Univ Toronto Two-dimensional emulation of three-dimensional trackball
GB2303282A (en) * 1992-09-10 1997-02-12 Fujitsu Ltd Graphic editing apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
'Color Wheel' in software, 'Image Assistant', Caere Corp. *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10031364B4 (en) * 1999-06-29 2009-12-31 Mitsubishi Denki K.K. Apparatus and method for image display
EP1369821A2 (en) * 2002-06-06 2003-12-10 Fujitsu Limited Segment editing support apparatus and method
EP1369821A3 (en) * 2002-06-06 2005-07-27 Fujitsu Limited Segment editing support apparatus and method

Also Published As

Publication number Publication date
GB9808068D0 (en) 1998-06-17
GB2321169B (en) 1998-08-26

Similar Documents

Publication Publication Date Title
US5642475A (en) Apparatus and method for editing graphics or group graphics displayed on a screen and correlated to each other
US7110005B2 (en) Object manipulators and functionality
EP0694829B1 (en) A method and apparatus for visualization of database search results
US5844572A (en) Method and apparatus for data alteration by manipulation of representational graphs
CA1242806A (en) Screen manager for a data processing system
US5914715A (en) Analytical data display method and apparatus
JPH06203136A (en) Selective operation method of data collection display and data processing system
JPH0696174A (en) Bound point type graphic editing device and its processing method
JPH0696177A (en) Graphic relating edit processing method and editor
GB2321169A (en) Graphic editing method
US6392662B1 (en) Draw order preservation in a computer-implemented graphics system
JP2674647B2 (en) Graphic processing system
JP3142191B2 (en) Graphic processing unit
JPH06230919A (en) Multiwindow display method
JPH05266145A (en) Image display device and display method
JP2669625B2 (en) Resource information display system
JPH0317741A (en) Program production support device
JPH11212968A (en) Document processor and document processing method
JPH0962860A (en) Graphic processor
JPS6324477A (en) Composite document processor
JPH04191972A (en) Editing system for character attribute
Williams et al. Hints on the use of the PCMDI Visualization and Computation System (VCS)
JPH0642245B2 (en) Spreadsheet
JPS62279475A (en) Graphic processor
JPH04370882A (en) Grid setting method

Legal Events

Date Code Title Description
PCNP Patent ceased through non-payment of renewal fee

Effective date: 20120826