JPH03105482A - Graphic processing system - Google Patents

Graphic processing system

Info

Publication number
JPH03105482A
JPH03105482A JP1244206A JP24420689A JPH03105482A JP H03105482 A JPH03105482 A JP H03105482A JP 1244206 A JP1244206 A JP 1244206A JP 24420689 A JP24420689 A JP 24420689A JP H03105482 A JPH03105482 A JP H03105482A
Authority
JP
Japan
Prior art keywords
coordinate
graphic
graphic element
data
coordinate axes
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.)
Pending
Application number
JP1244206A
Other languages
Japanese (ja)
Inventor
Yosuke Morohashi
諸橋 洋輔
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.)
NEC Corp
Original Assignee
NEC Corp
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
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP1244206A priority Critical patent/JPH03105482A/en
Publication of JPH03105482A publication Critical patent/JPH03105482A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To eliminate the need to generate extra graphic element data corresponding to a coordinate origin and coordinate axes when a graphic is generated or operated by movement, rotation, etc., by generating and displaying the coordinate origin and coordinate axes as graphic element data. CONSTITUTION:A graphic element generating means 1-2 receives input data for graphic element generation sent from an operation control means 1-5 to generate graphic elements and add identifiers, and then sends them to a display means 1-4. A coordinate axis generating means 1-3 generates the coordinate origin 2-4 and coordinate axes 2-1, 2-2, and 2-3 as references for the generation of a graphic prior to operator's figure element generating operation and sends them to a display means 1-4 together with their added identifiers. The means 1-4 displays the graphic elements and coordinate axes, whose geometric data are held together with the identifiers. Consequently, the trouble to generate extra graphic element data corresponding to the coordinate origin and coordinate axes is eliminated.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、CADなどに用いられる図形処理方式に間す
る. 〔従来の技術〕 CADシステムなどに用いられる図形処理において、図
形の生戒や移動、回転などの操作を行うとき、座標原点
やX軸,Y軸などの座標軸を参照することが多い。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a graphic processing method used in CAD and the like. [Prior Art] In graphical processing used in CAD systems and the like, when performing operations such as controlling, moving, and rotating a graphic, reference is often made to a coordinate origin and coordinate axes such as the X-axis and Y-axis.

従来、操作者によるデータ入力手段と、入力されたデー
タにより図形要素データを生戒する図形要素生成手段と
、図形要素生戒手段によって生成された図形要素データ
を表示する表示手段と、上記の各手段の動作を制御する
動作制御手段を有する図形処理方式では、第5図のよう
に、座標軸は、表示手段の表示領域の中に、x,y,z
各軸の方向を示す目的で、図形要素データでない単なる
マークとして表示されていたため、座標原点や座標軸を
参照して図形の生成や移動、回転などの操作を行う場合
でも、この座標軸を参照することはできず、第6図のよ
うに、原点や座標軸に相当する図形要素データを生戒し
てそれを参照して処理を行う必要があった.61は原点
に相当する点要素、62はX軸に相当する直線要素、6
3は既に生成された点、64はX軸に相当する直線に平
行で、既に生成された点を通るように生成する直線を示
す。
Conventionally, a data input means by an operator, a graphic element generating means for generating graphic element data based on the input data, a display means for displaying the graphic element data generated by the graphic element generating means, and each of the above-mentioned devices have been provided. In a graphic processing system having an operation control means for controlling the operation of the means, as shown in FIG.
The purpose of indicating the direction of each axis was to display it as a mere mark rather than graphic element data, so even when performing operations such as generating, moving, or rotating a shape by referring to the coordinate origin or coordinate axes, this coordinate axes must be referenced. As shown in Figure 6, it was necessary to read the graphical element data corresponding to the origin and coordinate axes and refer to it for processing. 61 is a point element corresponding to the origin, 62 is a straight line element corresponding to the X axis, 6
3 indicates a point that has already been generated, and 64 indicates a straight line that is parallel to the straight line corresponding to the X axis and that is generated so as to pass through the already generated point.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の図形処理方式は、座標軸が、表示手段の
表示領域の中に、x,y,z各軸の方向を示す目的で、
図形要素データでない単なるマークとして表示されてい
たため、座標原点や座標軸を参照して図形の生成や移動
、回転などの操作を行う場合でも、この座標軸を参照す
ることはできず、操作者が座標原点や座標軸に相当する
余分な図形要素データを生或する手間がかかったという
欠点がある. 〔課題を解決するための手段〕 本発明の図形処理方式は、操作者によるデータ入力手段
と、入力されたデータにより図形要素データを生成する
図形要素生成手段と、図形を生成する上で基準となる座
標原点および座標軸を図形要素データとして生成する座
標軸生成手段と、図形要素生成手段および座標軸生成手
段によって生威された図形要素データと座標軸を表示す
る表示手段と、上記の各手段の動作を制御する動作制御
手段を特徴として有している。
In the conventional graphic processing method described above, the coordinate axes indicate the directions of the x, y, and z axes in the display area of the display means.
Because it was displayed as a mere mark that is not graphic element data, even when performing operations such as generating, moving, or rotating a shape by referring to the coordinate origin or coordinate axes, the coordinate axes cannot be referenced, and the operator cannot The disadvantage is that it takes time and effort to generate extra graphical element data corresponding to coordinates and coordinate axes. [Means for Solving the Problems] The graphic processing method of the present invention includes a data input means by an operator, a graphic element generation means for generating graphic element data from the input data, and a standard for generating figures. a coordinate axis generating means for generating a coordinate origin and coordinate axes as figure element data; a display means for displaying the figure element data and coordinate axes generated by the figure element generating means and the coordinate axis generating means; and controlling the operation of each of the above means. It is characterized by an operation control means.

〔実施例〕〔Example〕

次に、本発明について、図を参照しながら説明する。 Next, the present invention will be explained with reference to the drawings.

第1図に示すように、本発明の図形処理方式は、データ
入力手段1−1と、図形要素生戒手段1−2と、座標軸
生戒手段1−3と、表示手段1−4と、動作制御手段1
−5から構成される。
As shown in FIG. 1, the graphic processing method of the present invention includes a data input means 1-1, a graphic element control means 1-2, a coordinate axis control means 1-3, a display means 1-4, Operation control means 1
-5.

データ入力手段1−1は、タブレット、スタイラスペン
、マウス、ダイヤルなどの位置指示装置およびキーボー
ド、ファンクションキーなどの文字、コード入力装置か
ら楕戒され、入力データを動作制御手段1−5に送る。
The data input means 1-1 receives input data from position pointing devices such as tablets, stylus pens, mice, and dials, and character and code input devices such as keyboards and function keys, and sends input data to the operation control means 1-5.

動作制御手段1−5は、データ入力手段1−1.図形要
素生成手段1−2,座標軸生成手段1−3および表示手
段1−4の動作を制御する。
The operation control means 1-5 includes the data input means 1-1. It controls the operations of the graphic element generation means 1-2, the coordinate axis generation means 1-3, and the display means 1-4.

図形要素生成手段1−2は、動作制御手段15から送ら
れた図形要素生成用の入力データを受け取り、図形要素
を生戒して識別子を付加して表示手段1−4に送る。識
別子は、例えば一連番号などである。
The graphic element generation means 1-2 receives the input data for generating a graphic element sent from the operation control means 15, edits the graphic element, adds an identifier, and sends it to the display means 1-4. The identifier is, for example, a serial number.

座標軸生戒手段1−3は、操作者の図形要素生成操作に
先立って、第2図に示すように図形を生成する上で基準
となる座標原点2−4および座標軸(X軸2−1,Y軸
2−2,Z軸2−3〉を、図形要素データ、すなわち点
要素および直線要素として生成し、識別子を付加して表
示手段1−4に送る。
Prior to the graphic element generation operation by the operator, the coordinate axis generation means 1-3 determines the coordinate origin 2-4 and the coordinate axes (X-axis 2-1, X-axis 2-1, Y-axis 2-2, Z-axis 2-3> are generated as graphic element data, that is, point elements and linear elements, added with identifiers, and sent to the display means 1-4.

表示手段1−4は、図形要素生戒手段1−2により生成
された図形要素および座標軸生成手段1−3により生成
された座標軸を表示し、その幾何データを識別子ととも
に保持する. まず、通常の手順で、図形要素を生戒するときの動作に
ついて述べる. (a)操作者が、データ入力手段1−1により、図形要
素を生戒するためのデータとして、座標値データなどを
入力すると、入力されたデータは動作制御手段1−5に
送られる. (b)動作制御手段1−5は、データ入力千段1−1か
ら送られた入力データ列を、図形要素生戒手段1−2へ
送る。
The display means 1-4 displays the graphic elements generated by the graphic element generation means 1-2 and the coordinate axes generated by the coordinate axis generation means 1-3, and holds the geometric data thereof together with the identifier. First, we will explain the operation when controlling graphical elements using the normal procedure. (a) When the operator inputs coordinate value data or the like as data for controlling a graphic element using the data input means 1-1, the input data is sent to the operation control means 1-5. (b) The operation control means 1-5 sends the input data string sent from the data input stage 1-1 to the graphic element control means 1-2.

(C)図形要素生戒手段1−2は、動作制御手段1−5
から送られた図形要素生成用の入力データを受け取り、
図形要素を生成して識別子を付加して表示手段1−4に
表示し、その幾何データを識別子とともに保持させる. この(a).(b).(c)の動作を繰り返して行うこ
とにより図形を作威していく.次に、第3図に示すよう
に、既に生成された図形要素を参照して、新しい図形要
素を生戒するときの動作について述べる。
(C) The graphic element control means 1-2 is the motion control means 1-5.
Receive input data for generating graphic elements sent from
Generate a graphical element, add an identifier, display it on the display means 1-4, and hold the geometric data together with the identifier. This (a). (b). Create a shape by repeating the action in (c). Next, as shown in FIG. 3, the operation when creating a new graphic element with reference to the already generated graphic elements will be described.

例えば、操作者が、既に生成された直線を参照し、これ
に平行で、既に生成された点を通る直線を生戒する場合
、すなわち、第3図において、既に生成された直線3−
1に平行で、既に生成された点3−2を通る直線3−3
を生成する場合を説明する. データ入力手段1−1により、表示手段1−4に保持さ
れた直線群の中から、平行にしたい直線3−1を指定し
、その識別子を取得する。
For example, when the operator refers to an already generated straight line and selects a straight line that is parallel to this and passes through the already generated point, in other words, in FIG.
A straight line 3-3 parallel to 1 and passing through the already generated point 3-2
We will explain the case of generating . Using the data input means 1-1, a straight line 3-1 to be made parallel is specified from among the group of straight lines held in the display means 1-4, and its identifier is obtained.

次に、表示手段1−4に保持された点群の中から、生或
したい直線が通る点3−2を指定し、その識別子を取得
する。
Next, a point 3-2 through which a desired straight line passes is specified from among the point group held in the display means 1-4, and its identifier is obtained.

データ入力手段1−1は、入力された直線3一lと点3
−2の識別子を動作制御手段1−5へ送る。
The data input means 1-1 input the input straight line 3-l and point 3.
-2 is sent to the operation control means 1-5.

動作制御千段1−5は、データ入力手段1−1から送ら
れた直線3−1と点3−2の識別子がら、表示手段1−
4に保持された幾何データを検索し、図形要素生成手段
1−2へ送る。
The operation control stage 1-5 uses the identifiers of the straight line 3-1 and the point 3-2 sent from the data input means 1-1 to display the display means 1-5.
The geometric data held in 4 is retrieved and sent to the graphic element generation means 1-2.

図形要素生成手段1−2は、動作制御手段1−5から送
られた直線3−1と点3−2の幾何データから、平行線
となる直線のデータを計算し、直線3−3を生戒して識
別子を付加して表示手段1一4に表示し、その幾何デー
タを識別子とともに保持させる。
The graphic element generation means 1-2 calculates the data of a parallel line from the geometric data of the straight line 3-1 and the point 3-2 sent from the motion control means 1-5, and generates a straight line 3-3. Then, an identifier is added and displayed on the display means 1-4, and the geometric data is held together with the identifier.

次に、第4図に示すように、座標原点や座標軸を参照し
て、新しい図形要素を生戒するときの動作について述べ
る. 例えば、操作者が、座標軸のうちX軸を参照し、これに
平行で、既に生戒された点を通る直線を生成する場合、
すなわち、第4図において、X軸2−1に平行で、既に
生成された点4−1を通る直線4−2を生成する場合を
説明する. 操作者の図形要素生成操作に先立って、座標軸生成手段
1−3が、第2図に示すように図形を生成する上で基準
となる座標原点2−4および座標軸〈X軸2−1,Y軸
2−2,Z軸2−3〉を、図形要素データ、すなわち点
要素および直線要素として生成し、識別子を付加して表
示手段1−4に送り、表示手段1−4は、座標軸を表示
し、その幾何データを識別子とともに保持する。
Next, as shown in Figure 4, we will describe the operation when creating a new graphical element with reference to the coordinate origin and coordinate axes. For example, when the operator refers to the X axis among the coordinate axes and generates a straight line that is parallel to this and passes through a point that has already been restrained,
That is, in FIG. 4, a case will be explained in which a straight line 4-2 is generated that is parallel to the X-axis 2-1 and passes through an already generated point 4-1. Prior to the graphic element generation operation by the operator, the coordinate axis generation means 1-3 generates a coordinate origin 2-4 and coordinate axes (X axis 2-1, Y axis 2-1, The axes 2-2 and Z-axes 2-3> are generated as graphic element data, that is, point elements and linear elements, and an identifier is added and sent to the display means 1-4, and the display means 1-4 displays the coordinate axes. and retains the geometric data along with the identifier.

データ入力手段1−1により、表示手段1−4に保持さ
れた座標軸から、平行にしたい直線すなわちX軸2−1
を指定し、その識別子を取得する。
The data input means 1-1 connects the coordinate axes held in the display means 1-4 with the straight line that you want to make parallel, that is, the X-axis 2-1.
Specify and get its identifier.

このX軸2−1は図形要素データすなわち直線要素とし
て表示されているため、特殊な指定方法ではなく、他の
直線要素を指定するときと同様に指定することができる
. 次に、表示手段1−4に保持された点群の中から、生成
したい直線が通る点4−1を指定し、その識別子を取得
する。データ入力手段1−1は、入力されたX゛軸2−
1と点4−1の識別子を動作制御手段1−5に送る.動
作制御手段1−5は、データ入力手段1−1から送られ
たX軸2−1の識別子から、表示手段1−4に保持され
た幾何データを検索する。このX軸2−1は図形要素デ
ータすなわち直線要素として保持されているため、特殊
な検索方法ではなく、他の直線要素を検索するときと同
様に検索することができる.同様に、動作制御手段1−
5は、データ入力手段1−1から送られた点4−1の識
別子から、表示手段1−4に保持された幾何データを検
索し、X軸2−1の幾何データと併せて図形要素生戒手
段1−2へ送る。
Since this X-axis 2-1 is displayed as graphic element data, that is, a linear element, it can be specified in the same way as other linear elements, without any special specification method. Next, a point 4-1 through which a straight line to be generated passes is specified from among the point group held in the display means 1-4, and its identifier is obtained. The data input means 1-1 receives the input X' axis 2-
1 and the identifier of point 4-1 are sent to operation control means 1-5. The motion control means 1-5 searches the geometric data held in the display means 1-4 from the identifier of the X-axis 2-1 sent from the data input means 1-1. Since this X-axis 2-1 is held as graphic element data, that is, a linear element, it can be searched in the same way as when searching for other linear elements, without using any special search method. Similarly, operation control means 1-
5 searches the geometric data held in the display means 1-4 from the identifier of the point 4-1 sent from the data input means 1-1, and generates a graphic element together with the geometric data of the X-axis 2-1. Send to command method 1-2.

図形要素生成手段1−2は、動作制御手段1−5から送
られたX軸2−1と点4−1の幾何データから、平行線
となる直線のデータを計算し、直線4−2を生成して識
別子を付加して表示手段1−4に表示し、その幾何デー
タを識別子とともに保持させる. 〔発明の効果〕 以上、説明したように、本発明の図形処理方式は、座標
原点および座標軸を図形要素データとして生戒・表示す
ることにより、座標原点や座標軸を参照して図形の生戒
や移動、回転などの操作を行う場合も、操作者が座標原
点や座標軸に相当する余分な図形要素データを作戒する
手間がなくなるという効果がある。
The graphic element generation means 1-2 calculates the data of a straight line that is a parallel line from the geometric data of the X-axis 2-1 and the point 4-1 sent from the motion control means 1-5, and creates a straight line 4-2. The geometric data is generated, an identifier is added, and displayed on the display means 1-4, and the geometric data is held together with the identifier. [Effects of the Invention] As explained above, the graphic processing method of the present invention is capable of controlling and displaying the coordinate origin and coordinate axes as graphic element data. When performing operations such as movement and rotation, there is an effect that the operator does not have to manually enter extra graphic element data corresponding to the coordinate origin and coordinate axes.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の構成図、第2図は座標軸生成手段によ
り生成され表示手段に表示される座標軸の図、第3図は
既に生或された図形要素を参照して新しい図形要素を生
戒するときの例を示す図、第4図は座標原点や座標軸を
参照して新しい図形要素を生戒するときの例を示す図、
第5図,第6図は従来例の動作を示す図である. 1−1・・・データ入力手段、1−2・・・図形要素生
成手段、1−3・・・座標軸生成手段、1−4・・・表
示手段、1−5・・・動作制御手段、2−1・・・X軸
、2−2・・・Y軸、2−3・・・Z軸、2−4・・・
座標原点、3−1・・・既に生成された直線、3−2・
・・既に生戒された点、3−3・・・生成する直線、4
−1・・・既に生戒された点、4−2・・・生成する直
線。
Figure 1 is a configuration diagram of the present invention, Figure 2 is a diagram of coordinate axes generated by the coordinate axis generation means and displayed on the display means, and Figure 3 is a diagram of the coordinate axes generated by the coordinate axis generation means and displayed on the display means. Figure 4 is a diagram showing an example of how to create a new graphical element by referring to the coordinate origin and coordinate axes.
Figures 5 and 6 are diagrams showing the operation of the conventional example. 1-1...Data input means, 1-2...Graphic element generation means, 1-3...Coordinate axis generation means, 1-4...Display means, 1-5...Operation control means, 2-1...X axis, 2-2...Y axis, 2-3...Z axis, 2-4...
Coordinate origin, 3-1...Already generated straight line, 3-2.
...Points that have already been restrained, 3-3... Straight lines to be generated, 4
-1... A point that has already been marked, 4-2... A straight line to be generated.

Claims (1)

【特許請求の範囲】[Claims] 操作者によるデータ入力手段と、入力されたデータによ
り図形要素データを生成する図形要素生成手段と、図形
を生成する上で基準となる座標原点および座標軸を図形
要素データとして生成する座標軸生成手段と、前記図形
要素生成手段および前記座標軸生成手段によって生成さ
れた図形要素データと座標軸を表示する表示手段と、前
記の各手段の動作を制御する動作制御手段とを有するこ
とを特徴とする図形処理方式。
a data input means by an operator; a graphic element generation means for generating graphic element data from the input data; and a coordinate axis generation means for generating a coordinate origin and coordinate axes that serve as a reference for generating a figure as graphic element data; A graphic processing method comprising display means for displaying the graphic element data and coordinate axes generated by the graphic element generation means and the coordinate axis generation means, and an operation control means for controlling the operations of each of the means.
JP1244206A 1989-09-19 1989-09-19 Graphic processing system Pending JPH03105482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1244206A JPH03105482A (en) 1989-09-19 1989-09-19 Graphic processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1244206A JPH03105482A (en) 1989-09-19 1989-09-19 Graphic processing system

Publications (1)

Publication Number Publication Date
JPH03105482A true JPH03105482A (en) 1991-05-02

Family

ID=17115346

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1244206A Pending JPH03105482A (en) 1989-09-19 1989-09-19 Graphic processing system

Country Status (1)

Country Link
JP (1) JPH03105482A (en)

Similar Documents

Publication Publication Date Title
US5905501A (en) Method of and apparatus for generating assembly view
US5841440A (en) System and method for using a pointing device to indicate movement through three-dimensional space
US6084589A (en) Information retrieval apparatus
Van Emmerik A direct manipulation technique for specifying 3D object transformations with a 2D input device
US5872558A (en) Method and system in a data processing system for processing data utilizing a cursor having multiple pointing spots
JPS61259331A (en) Coordinate inputting method and its device
JPH03105482A (en) Graphic processing system
JP3470771B2 (en) Projection plane linked display device
US6556227B1 (en) Visualization techniques for constructive systems in a computer-implemented graphics system
JPH04157576A (en) Graphic processing system
JPH04157574A (en) Graphic processing system
JPS6180363A (en) Teaching method of working apparatus to be automatically controlled
JPH04157575A (en) Graphic processing system
JP2839306B2 (en) Attribute setting method in interactive graphic processing
JPH02250178A (en) Graphic generator
JP3000749B2 (en) Character editing device
JPS61236590A (en) Operation indication system
JP3142992B2 (en) 3D graphics processor
JP2520485B2 (en) Dragging and rubber band independent display system
JPS62140169A (en) Designating system for 3-dimensional position
JPH06250777A (en) Three-dimensional position indicating device
JPH01209518A (en) Command canceling system
JPH0394381A (en) Graphic processing system
JPH1116005A (en) Graphic processor and method therefor
JPH05257999A (en) Drawing display system