JP5465688B2 - Situation monitoring drawing editing apparatus and situation monitoring drawing editing program - Google Patents
Situation monitoring drawing editing apparatus and situation monitoring drawing editing program Download PDFInfo
- Publication number
- JP5465688B2 JP5465688B2 JP2011037871A JP2011037871A JP5465688B2 JP 5465688 B2 JP5465688 B2 JP 5465688B2 JP 2011037871 A JP2011037871 A JP 2011037871A JP 2011037871 A JP2011037871 A JP 2011037871A JP 5465688 B2 JP5465688 B2 JP 5465688B2
- Authority
- JP
- Japan
- Prior art keywords
- component
- line segment
- double
- unit
- parts
- 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.)
- Active
Links
- 238000012544 monitoring process Methods 0.000 title claims description 24
- 238000012545 processing Methods 0.000 claims description 58
- 230000009466 transformation Effects 0.000 claims description 7
- 238000012217 deletion Methods 0.000 claims description 3
- 230000037430 deletion Effects 0.000 claims description 3
- 238000000034 method Methods 0.000 description 78
- 238000010586 diagram Methods 0.000 description 9
- 238000006243 chemical reaction Methods 0.000 description 7
- 238000012937 correction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000001131 transforming effect Effects 0.000 description 2
- 101000911772 Homo sapiens Hsc70-interacting protein Proteins 0.000 description 1
- 238000005452 bending Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Images
Landscapes
- Processing Or Creating Images (AREA)
Description
本発明は、部品の配置や構造などを設計する際に用いられる、状況監視図面編集装置および状況監視図面編集プログラムに関する。 The present invention relates to a situation monitoring drawing editing apparatus and a situation monitoring drawing editing program used when designing the arrangement and structure of parts.
例えば特許文献1に開示されるような従来の図面編集装置では、折れ線(線分列部品)を簡単に修正する技術を開示しており、そこには、ユーザが修正対象部分の線図に、修正用の線図を直接描き加えることを可能とする技術が開示されている。 For example, the conventional drawing editing apparatus disclosed in Patent Document 1 discloses a technique for easily correcting a polygonal line (line segment array part). A technique is disclosed that enables a correction diagram to be directly drawn.
従来の図面編集装置においては、ユーザが修正対象部分の線図に、修正用の線図を直接描き加えることが可能であるが、線分列部品が平行して複数存在するような場合、並行するすべての線分列部品に対して、それらの位置関係を保ったまま変形などの編集を行うには、ユーザが並行する全ての線分列部品に対して編集を行う必要があるため、ユーザの手間がかかるという問題があった。 In the conventional drawing editing apparatus, the user can directly add a correction diagram to the diagram of the correction target part. However, if there are a plurality of line segment parts in parallel, In order to edit all of the line segment parts while maintaining their positional relationship, it is necessary for the user to edit all the line segment parts in parallel. There was a problem that it took time and effort.
本発明は、上記のような問題を解決するためになされたものであり、図面編集時に、少ない手数で並行する複数本の線分列部品を編集することが可能な状況監視図面編集装置および状況監視図面編集プログラムを提供することを目的とする。 The present invention has been made to solve the above-described problems, and is a situation monitoring drawing editing apparatus and situation capable of editing a plurality of parallel line segment parts in a small amount of time when editing a drawing. An object is to provide a monitoring drawing editing program.
本発明に係る状況監視図面編集装置の態様は、太さの情報を持つ線分を連ねて構成される線分列部品を含む複数の部品で構成される図面を、表示装置の画面上で作成する図面編集装置であって、前記線分列部品の1つを基準線分列部品とし、前記基準線分列部品と、前記基準線分列部品に並行に配置される前記線分列部品である並行線分列部品とをグループ化し、かつ互いに並行に密接して配置された複線化部品を生成するとともに、前記複線化部品を含めて前記部品の生成、選択、変形および削除を含む編集を行う部品編集部と、前記部品編集部から前記画面に表示する前記部品の情報を受け、前記画面に表示する前記部品の表示処理を行う表示部と、前記複線化部品を含めて前記部品の情報を格納し、前記部品編集部との間で前記部品の情報を授受する部品情報格納部と、前記複線化部品を管理、制御する複線化部品制御部品の情報を格納し、前記部品編集部との間で前記複線化部品制御部品の情報を授受する複線化制御部品情報格納部とを備え、前記複線化部品は、前記基準線分列部品に対する編集が、前記並行線分列部品に対しても及ぶようにグループ化され、前記部品編集部は、前記基準線分列部品の座標と前記太さの情報を用いて、前記並行線分列部品の座標を算出する複線化部品座標算出部と、前記複線化部品座標算出部で算出された前記並行線分列部品の座標を用いて前記複線化部品を生成する複線化部品生成部と、前記基準線分列部品の変形後の座標を前記複線化部品座標算出部に渡し、それに基づいて前記複線化部品座標算出部が算出した前記並行線分列部品の変形後の座標を取得する複線化部品変形部と、を有し、前記基準線分列部品を変形することで、前記並行線分列部品を前記基準線分列部品と同じように変形させる。
The aspect of the situation monitoring drawing editing apparatus according to the present invention creates a drawing composed of a plurality of parts including a line segment array part composed of line segments having thickness information on the screen of the display device. a drawing editing apparatus for, and the reference line segment sequence component of one of the line segment sequence part, and the reference line segment sequence component in the line segment sequence components disposed parallel to the reference line segment sequence component A parallel line segment part is grouped and a double line part arranged closely in parallel to each other is generated, and editing including generation, selection, deformation and deletion of the part including the double line part is performed. A component editing unit, a display unit that receives information on the component displayed on the screen from the component editing unit, and performs display processing of the component displayed on the screen; and information on the component including the double-tracked component And store the part with the part editing unit. A component information storage unit that exchanges information and a multi-line that stores information on the multi-line component control component that manages and controls the multi-line component and exchanges information on the multi-line component control component with the component editing unit Control line information storage unit, the double-tracked part is grouped so that the editing for the reference line segment part also extends to the parallel line segment part, the part editing unit, Using the coordinates of the reference line segment component and the thickness information, a multi-line component coordinate calculation unit that calculates the coordinates of the parallel line segment component and the parallel line calculated by the multi-line component coordinate calculation unit A multi-line component generation unit that generates the multi-line component using the coordinates of the segment line component, and passes the coordinates after deformation of the reference line segment component to the multi-line component coordinate calculation unit, and based on that, the multi-line component The parallel line segment component calculated by the component coordinate calculation unit It has a double-track component deformation unit for acquiring the coordinates after deformation, and by deforming the reference line segment sequence part, deforming the parallel line segment sequence components like the reference line segment row components.
本発明によれば、基準線分列部品に対する編集が並行線分列部品に対しても及ぶので、ユーザは並行線分列部品に対して編集を行う必要がなく、編集作業が軽減される。 According to the present invention, since the editing with respect to the reference line segment parts extends to the parallel line segment parts, the user does not need to edit the parallel line segment parts, and the editing work is reduced.
<実施の形態1>
<図面編集装置の機能の概略>
実施の形態1に係る図面編集装置の機能の概略は、ユーザが、基準となる線分列部品(本願では、折れ線のように複数の線分を連ねて構成される構成をこのように呼称)を1つ指定して編集すると、それに並行する複数本の線分列部品の情報を同時に構築あるいは再構築し、編集した内容を、並行する複数本の線分列部品に反映するものである。
<Embodiment 1>
<Outline of functions of drawing editing apparatus>
The outline of the function of the drawing editing apparatus according to the first embodiment is that a user can use a reference line segment component (in this application, a configuration configured by connecting a plurality of line segments like a broken line in this way). When one is specified and edited, information of a plurality of line segment parts in parallel is constructed or reconstructed at the same time, and the edited contents are reflected on the plurality of line segment parts in parallel.
ここで、編集とは、例えば、部品を生成することや、部品を変形することを指している。また、本発明に係る図面編集装置は、主に、道路の交通状況や鉄道の運行状況などを監視する監視制御システムの監視画面の設計図を編集の対象とする。
Here, editing refers to, for example, generating a part or deforming a part. Further, the drawing editing apparatus according to the present invention mainly edits a design drawing of a monitoring screen of a monitoring control system that monitors road traffic conditions, railway operation conditions, and the like.
以下、基準となる線分列部品を「基準線分列部品」、基準線分列部品に並行に配置される線分列部品を「並行線分列部品」と記述する。 Hereinafter, a reference line segment component is referred to as a “reference line segment component”, and a line segment component arranged in parallel with the reference line segment component is referred to as a “parallel line segment component”.
<装置構成>
図1は実施の形態1に係る図面編集装置を、コンピュータシステムのハードウェアにより実現する場合のハードウェア構成を示すブロック図である。
<Device configuration>
FIG. 1 is a block diagram showing a hardware configuration when the drawing editing apparatus according to the first embodiment is realized by hardware of a computer system.
図1に示すコンピュータシステムは、中央処理装置2と、主記憶装置3と、ハードディスク等の外部記憶装置4とを有するコンピュータ1と、マウスやキーボード等の入力装置5と、ディスプレイ等の表示装置6とで、その主要部が構成されている。
A computer system shown in FIG. 1 includes a computer 1 having a central processing unit 2, a main storage device 3, and an
図2は、図1に示したコンピュータシステムによって実現される実施の形態1の図面編集装置100の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of the
図2に示すように図面編集装置100は、コンピュータ1(図1)内で実現される表示部21、ユーザ入力受付部22、部品編集部23、部品情報格納部24および複線化制御部品情報格納部25と、入力装置5および表示装置6を備えている。
As shown in FIG. 2, the
部品情報格納部24および複線化制御部品情報格納部25は、コンピュータ1(図1)内の主記憶装置3および/または外部記憶装置4で実現される。
The component
表示部21、ユーザ入力受付部22および部品編集部23は、外部記憶装置4に記憶されたソフトウェアプログラムを主記憶装置3に読み出して、中央処理装置2により実行することにより実現される。
The
表示部21は、部品編集部23で編集された部品を表示処理して表示装置6に表示し、ユーザ入力受付部22は、入力装置5から入力された入力点の座標を受け取り、部品編集部23に出力する。
The
部品情報格納部24は、複線化部品を構成する各部品の情報を含む、画面上に描画する部品の情報を格納している。複線化制御部品情報格納部25は、複線化部品を制御する部品の情報を格納している。
The component
部品編集部23は、基準線分列部品の座標を部品情報格納部24より受け取り、その座標を用いて、複線化部品の座標を算出する複線化部品座標算出部2325と、複線化部品座標算出部2325で算出された複線化部品の座標を用いて複線化部品を生成する複線化部品生成部2321と、複線化部品座標算出部2325で算出された複線化部品の座標を用いて複線化部品の変形を行う、複線化部品変形部2322と、複数の部品を複線化部品としてグループ化する複線化部品化処理部2323と、複線化された部品を個別部品に分解する個別部品化部2324と、を含む複線化部品編集部232を有している。また、基準線分列部品を含む従来部品の、生成、選択、変形、削除を行う従来部品編集部231を有している。
The
表示部21は、部品編集部23からの情報を受け、従来部品の頂点の表示処理を行う頂点表示部211と、複線化部品の基準線分列部品の頂点の表示処理を行う芯線表示部212とを有している。
The
次に、複線化部品について説明する。複線化部品は、基準線分列部品と並行線分列部品から構成され、基準線分列部品と並行線分列部品に対して、一括で生成、変形などの編集処理を行うことができる。 Next, the double track component will be described. The multi-line component is composed of a reference line segment component and a parallel line segment component, and edit processing such as batch generation and deformation can be performed on the reference line segment component and the parallel line segment component.
図3に複線化部品の一例を示す。図3に示す複線化部品31は、1本の線分列部品311を基準線分列部品とし、線分列部品311に並行に密接して2本の線分列部品である、並行線分列部品312、313を配置した構成となっている。図3では、基準線分列部品311を中央に置いて3本に複線化した例を示しているが、線分列部品312あるいは313を基準線分列部品としても図3と同様の複線化部品が得られる。
FIG. 3 shows an example of a double track component. The
<編集処理の全体の流れ>
次に、複線化部品の編集を行う際の、図面編集装置100内での処理手順を説明する。図4は、複線化部品の編集処理の全体の流れを示すフローチャートである。
<Overall editing process>
Next, a processing procedure in the drawing
まず、編集モードが「ON」に設定されることで、図面編集装置100は処理を開始する(ステップST101)。なお、表示装置6上に開かれる入力画面において各種のモードが選択可能に表示されており、この入力画面に基づいて編集モードの「ON」、「OFF」を設定することができる。
First, when the editing mode is set to “ON”, the drawing
編集モードが「ON」に設定された後は、イベント待ちの状態に入る(ステップST102)。ここで、イベントとは、入力装置5からの入力に相当し、イベント情報はユーザ入力受付部22に渡される。
After the edit mode is set to “ON”, an event wait state is entered (step ST102). Here, the event corresponds to an input from the
イベントが発生すると、ユーザ入力受付部22がイベントの判定を行う(ステップST103)。 When an event occurs, the user input reception unit 22 determines the event (step ST103).
ここで、部品の選択中に発生するイベントの一覧を表1に示す。 Here, Table 1 shows a list of events that occur during component selection.
表1において、“−”は無効イベント、または、発生し得ないイベントを示している。発生したイベントは、選択中の部品の種類と、イベント発生時の条件とによって判定される。 In Table 1, “-” indicates an invalid event or an event that cannot occur. The event that has occurred is determined by the type of the part being selected and the conditions at the time of the event occurrence.
また、表1では、入力装置5としてマウスを使用し、かつ、「複線化部品生成」などのメニューが、図面編集装置のメニューバーから表示されるプルダウンメニューの中にある場合の条件を示している。例えば、マウスの左ボタンでクリックした位置が、図面編集装置のメニューバーから表示されるプルダウンメニューの「複線化部品生成」であった場合には、「複線化部品生成」イベントが発生する。
Table 1 shows the conditions when a mouse is used as the
なお、入力装置5としてキーボードを使用し、キーボードによって「複線化部品生成」メニューを選択した場合も、同等のイベントが発生する。また、「複線化部品作成」などのメニューは、ポップアップメニューの中にあってもよい。
Note that an equivalent event also occurs when a keyboard is used as the
表1では、イベントの発生をマウスにより行うものとし、マウスイベントを、「左ボタンをクリック」、「左ボタンでドラッグ開始」および「その他」に分類している。 In Table 1, an event is generated by the mouse, and the mouse event is classified into “click the left button”, “start dragging with the left button”, and “others”.
また、イベントの例として、「複線化部品生成」、「頂点表示」、「複線化部品化」、「芯線表示」、「個別部品化」、「複線化部品変形」および「通常処理」を挙げている。 Examples of events include “double line parts generation”, “vertex display”, “double line parts conversion”, “core line display”, “individual part conversion”, “double line conversion parts deformation”, and “normal processing”. ing.
表1において、選択対象部品が「一つの線分列」である場合、「複線化部品生成」および「頂点表示」は有効なイベントであるが、他のイベントは無効イベントとなることを示している。また、選択対象部品が「複数の線分列」である場合、「複線化部品化」のみが有効なイベントとなることを示している。また、選択対象部品が「複数化部品」である場合、「芯線表示」、「個別部品化」および「複線化部品変形」は有効なイベントとなるが、他のイベントは無効イベントとなることを示している。また、選択対象部品が「その他の部品」である場合、「頂点表示」のみが有効なイベントとなることを示している。なお、何れの選択対象部品であっても通常編集処理や編集終了は有効である。 In Table 1, when the selection target part is “one line segment sequence”, “double line parts generation” and “vertex display” are valid events, but other events are invalid events. Yes. Further, when the part to be selected is “a plurality of line segments”, it indicates that only “multi-lined parts” is an effective event. In addition, when the selection target part is "multiple parts", "core display", "individual parts" and "double line parts deformation" are valid events, but other events are invalid events. Show. In addition, when the selection target component is “other components”, only “vertex display” is an effective event. Note that the normal editing process and the end of editing are valid for any part to be selected.
ここで、図4の説明に戻り、ユーザ入力受付部22でのイベント判定の結果、入力されたイベントが、「複線化部品生成」イベントであれば、複線化部品生成処理(ステップST104)を実行する。また、「個別部品化」イベントであれば、個別部品化処理(ステップST105)を実行する。「複線化部品化」イベントであれば、複線化部品化処理(ステップST106)を実行する。「芯線表示」イベントであれば、芯線表示処理(ステップST107)を実行する。「複線化部品変形」イベントであれば、複線化部品変形処理(ステップST108)を実行する。「通常編集処理」イベントであれば編集処理(ステップST109)を実行し、従来と同様の編集処理を行う。 Here, returning to the description of FIG. 4, if the input event is a “double-line component generation” event as a result of the event determination in the user input reception unit 22, double-line component generation processing (step ST <b> 104) is executed. To do. If it is an “individual componentization” event, the individual componentization processing (step ST105) is executed. If it is a “double-track componentization” event, a double-track componentization process (step ST106) is executed. If it is a “core line display” event, a core line display process (step ST107) is executed. If it is a “double-line component deformation” event, a double-line component deformation process (step ST108) is executed. If the event is a “normal editing process” event, the editing process (step ST109) is executed, and the same editing process as the conventional one is performed.
複線化部品生成処理(ステップST104)は、複線化部品生成部2321が、選択された線分列部品の座標を用いて複線化部品を生成する。処理の詳細については後述する。
In the multi-track component generation process (step ST104), the multi-track
個別部品化処理(ステップST105)は、個別部品化部2324が、選択された複線化部品を個別の部品に分解する。処理の詳細については後述する。
In the individual componentization processing (step ST105), the individual
複線化部品化処理(ステップST106)は、複線化部品化処理部2323が、選択された複数の線分列部品を複線化部品として扱えるよう、部品を変形するなどの処理を行う。処理の詳細については後述する。
In the multi-track componentization process (step ST106), the multi-track
芯線表示処理(ステップST107)は、芯線表示部212が、選択された複線化部品の基準線分列部品を、部品編集部23を介して複線化制御部品情報格納部25から取得した後、取得した基準線分列部品の座標を、部品編集部23を介して、部品情報格納部24から取得する。そして、基準線分列部品の座標を用いて、芯線の位置を決定する。
The core line display process (step ST107) is acquired after the core
複線化部品変形処理(ステップST108)は、複線化部品変形部2322が、選択された複線化部品の芯線の変形状態に応じて、複線化部品の変形を行う。処理の詳細については後述する。
In the double-track component deformation process (step ST108), the double-track
編集処理(ステップST109)は、従来部品編集部231が、指定された編集処理を行う。処理の内容は、従来の図面編集装置と同様である。
In the editing process (step ST109), the conventional
なお、上記何れかの処理を実行した後は、ステップST110において表示部21がステップST104〜109で編集された各部品を表示装置6に表示する。
After executing any of the above processes, the
入力されたイベントが「頂点表示」イベントであれば、ステップST110へ進み、表示装置6に頂点を表示する。頂点を表示する処理は従来の図面編集装置と同様である。なお、「編集終了」イベントであれば、編集モードをOFFに設定するなどして処理を終了する。また、部品の未選択時に発生するイベントについては、従来の図面編集装置と同様の処理を行うこととなる。ステップST110の後は、ステップST102のイベント待ち状態へと戻る。
If the input event is a “vertex display” event, the process proceeds to step ST110 to display the vertex on the
このように、ステップST102〜ステップST110までの処理を、編集モードがOFFに設定されるまで繰り返し行う。 In this way, the processes from step ST102 to step ST110 are repeated until the edit mode is set to OFF.
<複線化部品生成処理>
以下、図5に示すフローチャートを用いて図4に示すステップST104の複線化部品生成処理の詳細について説明する。
<Double track parts generation processing>
Hereinafter, details of the double-track component generation processing in step ST104 shown in FIG. 4 will be described using the flowchart shown in FIG.
複線化部品生成処理においては、まず、複線化部品生成部2321が、複線化制御部品を生成する(ステップST1041)。複線化制御部品とは、複線化部品を構成する線分列部品を管理・制御する部品であり、複線化部品に対して編集が行われた際に、複線化部品を構成する線分列部品に対して一括で編集を行うための部品である。複線化部品を構成する線分列部品の情報や、基準線分列部品がどれであるかなどの情報を持っており、複線化部品一つに対し、一つ存在する。
In the double track component generation process, first, the double track
次に、複線化部品生成部2321は、入力装置5より入力された複線化する本数の情報を、ユーザ入力受付部22を介して取得する(ステップST1042)。
Next, the double track
次に、複線化部品生成部2321は、(ステップST1042で取得した本数−1)本分の並行線分列部品を生成する(ステップST1043)。
Next, the double-track
次に、複線化部品生成部2321は、選択中の線分列部品とステップST1043で生成した並行線分列部品の情報を、複線化制御部品に登録し、また、選択中の線分列部品を基準線分列部品として、複線化制御部品に登録する。そして、得られた複線化制御部品の情報を、複線化制御部品情報格納部25へ格納する(ステップST1044)。
Next, the double line
次に、複線化部品生成部2321が、基準線分列部品の座標を部品情報格納部24から取得する(ステップST1045)。
Next, the multi-line
次に、複線化部品生成部2321は、ステップST1041で生成した複線化制御部品と、ステップST1045で取得した基準線分列の座標を、複線化部品座標算出部2325へ渡し、その情報を用いて、複線化部品座標算出部2325が並行線分列部品の座標を算出する(ステップST1046)。この処理の詳細については後述する。
Next, the double track
最後に、ステップST1046で算出した複線化部品に関する座標などの情報を表示部21へ渡すとともに、部品情報格納部24へ格納する(ステップST1047)。
Finally, information such as coordinates relating to the multi-line component calculated in step ST1046 is transferred to the
なお、基準線分列部品は、複線化部品生成時に使用したものとしているが、複線化部品生成後に、ユーザが指定し直してもよい。 Note that the reference line segment component is used at the time of generating the double-tracked component, but may be specified again by the user after the generation of the double-tracked component.
<個別部品化処理>
次に、図6に示すフローチャートを用いて図4に示すステップST105の個別部品化処理の詳細について説明する。
<Individual parts processing>
Next, details of the individual componentization processing in step ST105 shown in FIG. 4 will be described using the flowchart shown in FIG.
個別部品化処理においては、まず、個別部品化部2324が、選択中の複線化部品の複線化制御部品を、複線化制御部品情報格納部25から取得する(ステップST1051)。
In the individual part conversion processing, first, the individual
次に、個別部品化部2324は、ステップST1051で取得した複線化制御部品を削除し(ステップST1052)、選択中の複線化部品の座標情報のみを表示部21へ渡す。
Next, the individual
複線化制御部品は、複線化部品を構成する線分列部品をまとめて管理するための部品であり、例えば、複数の複線化部品を束ねるような機能を持っているが表示されるものではない。これを削除することにより、複線化部品を構成する線分列部品を個々の部品として扱えるようになる。 The multi-track control component is a component for managing the line segment components constituting the multi-track component together. For example, the multi-track control component has a function of bundling a plurality of multi-track components, but is not displayed. . By deleting this, the line segment parts constituting the double-line parts can be handled as individual parts.
<複線化部品化処理>
次に、図7に示すフローチャートを用いて図4に示すステップST106の複線化部品化処理の詳細について説明する。
<Double line parts processing>
Next, details of the double-track componentization processing in step ST106 shown in FIG. 4 will be described using the flowchart shown in FIG.
複線化部品化処理においては、まず、複線化部品化処理部2323が、グループ化のための複線化制御部品を生成する(ステップST1061)。
In the multi-track componentization process, first, the multi-track
複線化制御部品は、基準線分列部品に対する編集が、並行線分列部品に対しても及ぶようにグループ化するための部品である。 The multi-track control component is a component for grouping so that the editing with respect to the reference line segment component also extends to the parallel line segment component.
次に、複線化部品化処理部2323は、選択中の複数の線分列部品の座標を用いて、選択中の複数の線分列部品の中央に最も近い位置にある線分列部品を基準線分列部品に決定する(ステップST1062)。なお、上記の決定方法は、複数の線分列部品の中央に最も近い位置にある線分列部品を基準線分列部品として決定するという予め定めた決定条件に基づくものであるが、基準線分列部品の決定条件はこれに限ったものではない。
Next, the multi-line
決定条件を予め定めておくことで、基準線分列部品を自動的に決定でき、ユーザの手間を省くことができる。 By determining the determination conditions in advance, it is possible to automatically determine the reference line segment parts and save the user's trouble.
また、基準線分列部品は、ユーザが任意に指定できるようにしても良い。これにより、ユーザが基準線分列部品を自由に指定することができる。 The reference line segment component may be arbitrarily designated by the user. Thereby, the user can freely specify the reference line segment parts.
次に、複線化部品化処理部2323は、ステップST1061で生成した複線化制御部品に、選択中の複数の線分列部品を登録するとともに、ステップST1062で決定した基準線分列部品の情報を、複線化制御部品に登録する。そして、得られた複線化制御部品の情報を、複線化制御部品情報格納部25へ格納する(ステップST1063)。
Next, the multi-track
次に、複線化部品化処理部は、ステップST1061で生成した複線化制御部品と、ステップST1062で決定した基準線分列の座標を、複線化部品座標算出部2325へ渡し、その情報を用いて、複線化部品座標算出部2325が並行線分列部品の座標を算出する(ステップST1064)。この処理の詳細については後述する。
Next, the multi-track componentization processing unit passes the multi-track control component generated in step ST1061 and the coordinates of the reference line segment determined in step ST1062 to the multi-track component coordinate
最後に、ステップST1064で算出した複線化部品に関する座標などの情報を表示部21へ渡すとともに、部品情報格納部24へ格納する(ステップST1065)。
Finally, information such as coordinates relating to the multi-line component calculated in step ST1064 is transferred to the
複線化部品化処理部2323を備えることで、複線化部品として生成した部品でなくても複線化部品とすることができるので、ユーザは基準線分列部品を編集するだけで、並行線分列部品に対する編集を行うことができ、ユーザの編集作業が軽減される。
By providing the double-track
<複線化部品変形処理>
次に、図8に示すフローチャートを用いて図4に示すステップST108の複線化部品変形処理の詳細について説明する。
<Double line parts deformation processing>
Next, the details of the multi-line component deformation process in step ST108 shown in FIG. 4 will be described using the flowchart shown in FIG.
複線化部品変形処理においては、まず、複線化部品変形部2322が、選択中の複線化部品の複線化制御部品を、複線化制御部品情報格納部25から取得する(ステップST1081)。
In the double track component deformation process, first, the double track
次に、複線化部品変形部2322は、基準線分列の変形後の座標を部品情報格納部24より取得する(ステップST1082)。
Next, the multi-line
次に、複線化部品変形部2322は、ステップST1081で取得した複線化制御部品と、ステップST1082で取得した変形後の基準線分列の座標を、複線化部品座標算出部2325へ渡し、その情報を用いて、複線化部品座標算出部2325が並行線分列部品の座標を算出する(ステップST1083)。この処理の詳細については後述する。
Next, the double-track
最後に、複線化部品変形部2322は、ステップST1083で算出した複線化部品に関する座標などの情報を表示部21へ渡すとともに、部品情報格納部24へ格納する(ステップST1084)。
Finally, the double-track
<複線化部品座標算出処理>
次に、これまでにステップST1046(図5)、ST1064(図7)およびST1084(図8)として説明した複線化部品座標算出処理の詳細について、図9に示すフローチャートを用いて説明する。
<Double-track component coordinate calculation processing>
Next, details of the multi-line component coordinate calculation processing described so far as steps ST1046 (FIG. 5), ST1064 (FIG. 7), and ST1084 (FIG. 8) will be described using the flowchart shown in FIG.
複線化部品座標算出処理においては、まず、複線化部品座標算出部2325が、複線化制御部品の情報から、複線化部品を構成する線分列部品の情報を取得する(ステップST10)。
In the double-track component coordinate calculation process, first, the multi-track component coordinate
次に、複線化部品座標算出部2325は、基準線分列部品の座標と線の太さの情報を用いて、並行線分列部品の端点の座標を算出する(ステップST11)。この処理について、図10を用いて具体的に説明する。
Next, the multi-line component coordinate
図10の(a)部には、線分列部品101を基準線分列部品として、線分列部品102および103が並行線分列部品となる場合を示している。線分列部品101は、点1011および点1014を線分列の端に位置する端点とし、点1012および点1013を線分列の頂点(屈曲点)として有している。同様に、線分列部品102は、点1021および点1024を線分列の端に位置する端点とし、点1022および点1023を線分列の頂点として有している。また、線分列部品103は、点1031および点1034を線分列の端に位置する端点とし、点1032および点1033を線分列の頂点として有している。
FIG. 10A shows a case where the
また、線分列部品101は、点1011と点1012を通る線分を線分1015とし、点1012と点1013を通る線分を線分1016とし、点1013と点1014を通る線分を線分1017として有している。同様に、線分列部品102は、点1021と点1022を通る線分を線分1025とし、点1022と点1023を通る線分を線分1026とし、点1023と点1024を通る線分を線分1027として有している。また、線分列部品103は、点1031と点1032を通る線分を線分1035とし、点1032と点1033を通る線分を線分1036とし、点1033と点1034を通る線分を線分1037として有している。
The
並行線分列部品である線分列部品102の端点1021の座標を算出する場合、以下の手順で端点1021の座標を求める。
When the coordinates of the
まず、図10の(b)部に示すように、基準線分列部品101の端点1011を通る線分1015に対して、垂直であって端点1011を通る垂線10111を求める。
First, as shown in part (b) of FIG. 10, a
そして、図10の(c)部に示すように、端点1011から線分列部品101の線の太さwに等しい距離にあり、かつ、垂線10111上にある点10112を求める。点10112が、並行線分列部品102の端点1021となる。
Then, as shown in part (c) of FIG. 10, a
同様の処理で、並行線分列部品102の端点1024、並行線分列部品103の端点1031および1034の座標も求めることができる。
In the same process, the coordinates of the
また、図11には複線化する本数が5本である場合を示しており、図11の(a)部には、線分列部品111を基準線分列部品として、線分列部品112、113、114および115が並行線分列部品となる場合を示している。線分列部品111、112、113、114および115は、それぞれ一方の端点1111、1121、1131、1141および1151を有し、他方の端点1114、1124、1134、1144および1154を有している。
FIG. 11 shows a case where the number of double lines is five. In FIG. 11A, the
図11の(a)部に示すように、基準線分列部品111の隣に、既に複線化部品を構成する他の線分列部品112がある場合に、線分列部品113の端点1131の座標を求めるには、図11の(b)部に示すように、線の太さw×本数に等しい距離にある点を求めれば良い。
As shown in part (a) of FIG. 11, when there is another
ここで、図9の説明に戻り、複線化部品座標算出部2325は、基準線分列部品の座標と、ステップST11で求めた端点の座標を用いて、並行線分列部品の端以外の点の座標を算出する(ステップST12)。この処理について、図10を用いて具体的に説明する。
Here, returning to the description of FIG. 9, the double-lined part coordinate
図10の(a)部に示す線分列部品101を基準線分列として、並行線分列部品102の頂点1022の座標を算出する場合、以下の手順で点1022の座標を求める。
When the coordinates of the
まず、図10の(d)部に示すように、線分1015上であって頂点1012から距離hの位置にある点10121と、線分1016上であって頂点1012から距離hの位置にある点10122を求める。
First, as shown in part (d) of FIG. 10, the
次に、図10の(e)部に示すように、点10121を通る線分1015に対して、垂直であって点10121を通る垂線101211と、点10122を通る線分1016に対して、垂直であって点10122を通る垂線101221を求め、両者の交点を点10123とする。
Next, as shown in part (e) of FIG. 10, perpendicular to the
次に、図10の(f)部に示すように、垂線101211と垂線101221の交点10123と点1012とを通る線分10124を求める。
Next, as shown in part (f) of FIG. 10, a
その後、図10の(g)部に示すように、点10112を通り、線分1015に平行な線分10113を求め、線分10124と、線分10113との交点101241を求める。点101241が並行線分列部品102の頂点1022となる。
Thereafter, as shown in part (g) of FIG. 10, a
同様の処理で、並行線分列部品102の頂点1023、並行線分列部品103の頂点1032および1033の座標も求めることができる。
With the same processing, the coordinates of the
ここで、再び図9の説明に戻り、ステップST12で算出した並行線分列部品に関する座標などの情報と、基準線分列部品に関する座標などの情報を表示部21や部品情報格納部24へ渡す(ステップST13)。
Here, returning to the description of FIG. 9 again, information such as coordinates relating to the parallel line segment components calculated in step ST12 and information such as coordinates relating to the reference line segment components are transferred to the
<図面編集操作>
以下、図12〜図16を用いて、図面編集装置100における図面編集操作について説明する。
<Drawing editing operation>
Hereinafter, a drawing editing operation in the drawing
図12には、表示装置6(図1)に表示される図面編集画面の一例を示しており、ユーザが監視制御システムの監視画面を作成する例について説明する。 FIG. 12 shows an example of a drawing editing screen displayed on the display device 6 (FIG. 1), and an example in which the user creates a monitoring screen of the monitoring control system will be described.
ユーザは、表示装置6に表示される図面編集画面121に対して、部品の配置や変形などの編集を行う。図面編集画面121は、部品を挿入する部品挿入手段122と、図面を編集可能なシート123と、部品に対する編集内容を指定可能な編集指定手段124と、編集を行える編集モードと編集を行えない閲覧モードとの切り替えを行うためのモード切り替え手段125とを有している。
The user edits the arrangement and deformation of parts on the
編集指定手段124には、線分列部品から複線化部品を生成する複線化部品生成手段1241、複線化部品を個別部品に分解する個別部品化手段1242、複線化部品の芯線を表示する芯線表示手段1243、および複数の線分列部品を複線化部品にするための複線化部品化手段1244を含んでいる。
The
以上説明した図面編集画面121を用いて、ユーザによる図面編集操作を説明する。
The drawing editing operation by the user will be described using the
まず、ユーザが、モード切り替え手段125を操作して、図面編集装置100を編集モードへ移行させ、図面の編集が行えるようにする。これは、図4を用いて説明したステップST101の処理に相当する。
First, the user operates the mode switching means 125 to shift the drawing
次に、ユーザが部品挿入手段122を用いて部品を入力する。ここでは、図12に示すように、部品126、127、128の入力を行ったものとする。この場合、図面編集装置100の内部では、図4を用いて説明したステップST102、ステップST103、およびステップST109、ステップST110を実行されることとなる。
Next, the user inputs a part using the part insertion means 122. Here, as shown in FIG. 12, it is assumed that
次に、ユーザが、マウスやキーボード等の入力装置5(図1)を介して、部品に対する編集内容を指定可能な編集指定手段124(図12)などを用いて、部品に対する編集を行う。 Next, the user edits the part using the editing designation means 124 (FIG. 12) or the like that can designate editing contents for the part via the input device 5 (FIG. 1) such as a mouse or a keyboard.
ユーザが、一つの線分列部品を選択した後に、当該線分列部品に対して、複線化部品生成手段1241(図12)を用いて複線化する本数を指定すると、指定した本数の複線化部品が表示される。この操作を図13を用いて説明する。 After the user selects one line segment component, if the number of lines to be double-lined is specified for the line segment component using the double-line component generation unit 1241 (FIG. 12), the specified number of multi-line components are formed. The part is displayed. This operation will be described with reference to FIG.
図13の(a)部には、ユーザが選択した線分列部品131が示されており、これに対して複線化する本数を3本として複線化部品生成手段1241を用いると、図13の(b)部に示すような複線化部品132が図面編集画面121(図12)上に表示される。図13の(b)に示される複線化部品132は、線分列部品131、1321、1322で構成されている。この場合、図面編集装置100の内部では、図4を用いて説明したステップST102〜ステップST104、およびステップST110が実行されることとなる。
FIG. 13 (a) shows a line segment component 131 selected by the user. If the number of lines to be doubled is three and the double line component generation means 1241 is used, A double-tracked
ユーザが、複線化部品を選択した後に、個別部品化手段1242(図12)を用いると、複線化部品が個別部品に分解される。この操作を図14を用いて説明する。 When the user selects the double-tracked part and then uses the individual partizing means 1242 (FIG. 12), the double-tracked part is disassembled into individual parts. This operation will be described with reference to FIG.
図14の(a)部には、ユーザが選択した複線化部品141が示されており、これに対して個別部品化手段1242(図12)を用いると、図14の(b)部に示されるように個別の線分列部品142、143および144に分解され、図14の(c)部に示されるように、線分列部品142を他から引き離すなど、それぞれが個別の線分列部品として独立して編集できるようになる。この場合、図面編集装置100の内部では、図4を用いて説明したステップST102、ステップST103、ステップST105およびステップST110が実行されることとなる。
FIG. 14 (a) shows the double-
ユーザが、複線化部品を選択した後に、芯線表示手段1243(図12)を用いると、選択した複線化部品の芯線が表示される。この操作を図15を用いて説明する。 If the user uses the core wire display means 1243 (FIG. 12) after selecting the multi-track component, the core wire of the selected multi-track component is displayed. This operation will be described with reference to FIG.
図15の(a)部には、ユーザが選択した複線化部品151が示されており、これに対して芯線表示手段1243(図12)を用いることで、複線化部品151の芯線152が表示される。この場合、図面編集装置100の内部では、図4を用いて説明したステップST102、ステップST103、ステップST107およびステップST110が実行されることとなる。
In FIG. 15 (a), the
引き続き、ユーザがマウスのドラッグ操作などにより、図15の(b)部に示される矢印ARの方向に芯線152の変形を行うと、複線化部品151を構成する線分列部品1511、1512および1513に、その変形状態が反映され、図15の(c)部に示されるように、線分列部品1511〜1513を一括して変形させることができる。この場合、図面編集装置100の内部では、図4を用いて説明したステップST102、ステップST103、ステップST108およびステップST110が実行されることとなる。
Subsequently, when the user deforms the
ユーザが、複数の線分列部品を選択した後に、複線化部品化手段1244(図12)を用いると、それらの部品を複線化部品として扱うことができる。この操作を図16を用いて説明する。 If the user selects a plurality of line segment parts and then uses the double line parts 1244 (FIG. 12), these parts can be handled as double line parts. This operation will be described with reference to FIG.
図16の(a)部には、ユーザが選択した3本の線分列部品161、162および163を示している。これらに対して複線化部品化手段1244(図12)を用いると、これらが1つの複線化部品として扱えるようになり、図16の(b)部に示すように複線化部品164として図面編集画面121(図12)上に表示される。なお、図16の(b)部の例では、選択した線分列部品161、162および163のうち、画面の中央に最も近い位置の線分列部品162を基準線分列部品としたが、図16の(c)部に示されるように、選択した線分列部品161、162および163のうち、画面中央から最も遠い位置の線分列部品163を基準線分列部品としても良い。また、基準線分列部品はユーザが任意に指定しても良い。この場合、図面編集装置100の内部では、図4を用いて説明したステップST102、ステップST103、ステップST106およびステップST110が実行されることとなる。
In FIG. 16A, three
ユーザによる所望の編集が終了した場合は、モード切り替え手段125(図12)を用いて、編集モードを終了させる。編集モードが終了するまで、図面編集装置100の内部では、ステップST102〜ステップST110の処理が繰り返される。
When the desired editing by the user is completed, the editing mode is terminated using the mode switching means 125 (FIG. 12). Until the editing mode ends, the processes in steps ST102 to ST110 are repeated in the drawing
<効果>
以上説明したように、複線化部品を用いることにより、基準線分列部品を編集するだけで、並行線分列部品に対する編集を行うことができ、ユーザは互いに並行する全ての線分列部品に対して同じ編集を行う必要がなくなるので、編集作業が軽減される。
<Effect>
As described above, by using a multi-line component, it is possible to edit a parallel line segment component simply by editing the reference line segment component, and the user can edit all the line segment components parallel to each other. On the other hand, since it is not necessary to perform the same editing, the editing work is reduced.
すなわち、従来は、折れ線や多角形等の点列で構成される図形の形状を編集する処理を各図形に対して行っていたため、並行する複数本の線分列部品を編集する場合には、それらの本数分の編集作業が必要であった。しかし、実施の形態1に係る図面編集装置100を用いることで、互いに並行する線分列部品が複数存在する場合には、それらを複線化部品として一括することができ、その内の1本の線分列部品に対して編集作業を行えば良く、少ない手数で編集を行うことができる。
In other words, conventionally, since the processing of editing the shape of a graphic composed of point sequences such as polygonal lines and polygons was performed for each graphic, when editing a plurality of parallel line segment components, Editing work for those numbers was necessary. However, by using the
また、複線化部品を編集後、個別部品に分解できるため、一括して編集した後、個々の部品として編集することもでき、ユーザは制約なく所望の編集操作を実行できる。 In addition, since the multi-track parts can be edited and then disassembled into individual parts, they can be edited together and edited as individual parts, and the user can execute a desired editing operation without restriction.
<実施の形態2>
実施の形態2に係る図面編集装置においては、複線化部品を構成する線分列部品の隣り合う線分がなす角の表示方法が選択可能に構成されている。より具体的には、線分列部品の屈曲部ごとに、角部として表示するか、円弧で表示するかを選択可能となっている。
<Embodiment 2>
In the drawing editing apparatus according to the second embodiment, the display method of the corners formed by the adjacent line segments of the line segment components constituting the double line component is selectable. More specifically, for each bent portion of the line segment component, it is possible to select whether to display as a corner or an arc.
<装置構成>
図17は、図1に示したコンピュータシステムによって実現される実施の形態2の図面編集装置200の構成を示すブロック図である。なお、図2に示した図面編集装置200と同一の構成については同一の符号を付し、重複する説明は省略する。
<Device configuration>
FIG. 17 is a block diagram showing a configuration of a drawing
図17に示す図面編集装置200においては、複線化部品編集部232内に、複線化部品角部変形部2326を有している。また、複線化部品座標算出部2325は、基準線分列部品の座標を用いて、並行線分列部品の座標の他に、複線化部品の角部の同心円の、中心座標、半径、線分列部品との接点座標を求めることができる構成となっている。
In the drawing
また、部品情報格納部24は、部品情報に加えて、複線化部品座標算出部2325で算出した、複線化部品の角部の同心円の、中心座標、半径、線分列部品との接点座標の情報を格納する構成となっている。
In addition to the component information, the component
また、複線化制御部品情報格納部25は、複線化制御部品情報に加えて、複線化部品を構成する線分列部品の中にある、線分どうしがなす角部を、角形として表示するか、円弧で表示するかの角部形状情報を格納する構成となっている。
Also, the double-track control part
また、複線化部品角部変形部2326は、複線化制御部品が持つ角部形状情報を取得・更新し、部品情報格納部24から角部形状情報に合った複線化部品の座標などの情報を取得する。なお、角部形状情報に合った情報が部品情報格納部24に存在しない場合は、複線化部品座標算出部2325で算出される情報を取得し、部品情報格納部24に格納する。その後、表示部21に複線化部品の情報を渡す。
In addition, the double-tracked part
なお、複線化部品角部変形部2326は、外部記憶装置4に記憶されたソフトウェアプログラムを主記憶装置3に読み出して、中央処理装置2により実行することにより実現される。
Note that the double-track component
<編集処理の全体の流れ>
次に、複線化部品の編集を行う際の、図面編集装置200内での処理手順を説明する。図18は、複線化部品の編集処理の全体の流れを示すフローチャートである。
<Overall editing process>
Next, a processing procedure in the drawing
図18において、ステップST201、ステップST202、ステップST204、ステップST205、ステップST206、ステップST207、ステップST208およびステップST209は、それぞれ、図4に示した図面編集装置100内でのステップST101、ステップST102、ステップST104、ステップST105、ステップST106、ステップST107、ステップST108およびステップST109と同様の処理を行う。
18, step ST201, step ST202, step ST204, step ST205, step ST206, step ST207, step ST208, and step ST209 are respectively step ST101, step ST102, step ST209 in the drawing
イベントが発生すると、ユーザ入力受付部22がイベントの判定を行う(ステップST203)。ここで、部品の選択中に発生するイベントの一覧を表2に示す。 When an event occurs, the user input receiving unit 22 determines the event (step ST203). Here, Table 2 shows a list of events that occur during component selection.
表2において、“−”は無効イベント、または、発生し得ないイベントを示している。発生したイベントは、選択中の部品の種類と、イベント発生時の条件とによって判定される。なお、表1との相違は、「複線化部品角部変形」イベントが加わっていることである。 In Table 2, “-” indicates an invalid event or an event that cannot occur. The event that has occurred is determined by the type of the part being selected and the conditions at the time of the event occurrence. The difference from Table 1 is that a “double-line part corner deformation” event is added.
また、表2では、入力装置5としてマウスを使用し、かつ、「複線化部品生成」などのメニューが、図面編集装置のメニューバーから表示されるプルダウンメニューの中にある場合の条件を示している。例えば、マウスの左ボタンでクリックした位置が、図面編集装置のメニューバーから表示されるプルダウンメニューの「複線化部品生成」であった場合には、「複線化部品生成」イベントが発生する。また、マウスの右ボタンでクリックした位置が、複線化部品に表示されている芯線の頂点であった場合には、「複線化部品角部変形」イベントが発生する。
Table 2 shows conditions when a mouse is used as the
表2では、イベントの発生をマウスにより行うものとし、マウスイベントを、「左ボタンをクリック」、「右ボタンをクリック」、「左ボタンでドラッグ開始」および「その他」に分類している。 In Table 2, an event is generated by the mouse, and the mouse events are classified into “click the left button”, “click the right button”, “start dragging with the left button”, and “others”.
また、イベントの例として、「複線化部品生成」、「頂点表示」、「複線化部品化」、「芯線表示」、「個別部品化」、「複線化部品変形」、「複線化部品角部変形」および「通常処理」を挙げている。 In addition, examples of events include “double-tracked part generation”, “vertex display”, “double-tracked part creation”, “core line display”, “individual partization”, “double-tracked part transformation”, “double-tracked part corner” “Deformation” and “Normal processing”.
表2において、選択対象部品とイベントの有効、無効の関係は表1とほぼ同じであるが、選択対象部品が「複数化部品」である場合、「芯線表示」、「個別部品化」、「複線化部品変形」および「複線化部品角部変形」が有効なイベントとなる。 In Table 2, the relationship between the selection target part and the validity / invalidity of the event is almost the same as in Table 1. “Double line part deformation” and “Double line part corner deformation” are effective events.
ここで、図18の説明に戻り、ユーザ入力受付部22でのイベント判定の結果、入力されたイベントが、「複線化部品角部変形」イベントであれば、複線化部品角部変形処理(ステップST211)を実行し、その他のイベントであれば、実施の形態1の図面編集装置200と同様の動作を行う。
Here, returning to the description of FIG. 18, if the input event is a “double-line part corner deformation” event as a result of the event determination in the user input reception unit 22, the double-line part corner deformation process (step If the event is other event, the same operation as the drawing
ステップST204〜209およびステップST211の何れかの処理を実行した後は、ステップST210において表示部21がステップST204〜209およびステップST211で編集された各部品を表示装置6に表示する。ステップST210の後は、ステップST202のイベント待ち状態へと戻る。
After executing any of the processes in steps ST204 to 209 and step ST211, the
このように、ステップST202〜ステップST211までの処理を、編集モードがOFFに設定されるまで繰り返し行う。 In this way, the processing from step ST202 to step ST211 is repeated until the edit mode is set to OFF.
なお、ステップST204の複線化部品生成処理、ステップST205の個別部品化処理、ステップST206の複線化部品化処理、ステップST208の複線化部品変形処理は、先に説明した実施の形態1のステップST104(図5)、ST105(図6)、ST106(図7)およびST108(図8)と同じであるが、異なるのはステップST104、ST106およびST108における複線化部品座標算出処理(ST1046、ST1064、ST1083)である。 It should be noted that the double-track component generation processing in step ST204, the individual component processing in step ST205, the double-track component conversion processing in step ST206, and the double-track component deformation processing in step ST208 are the same as step ST104 (first step described in the first embodiment). 5), ST105 (FIG. 6), ST106 (FIG. 7), and ST108 (FIG. 8), except for the multi-line component coordinate calculation process (ST1046, ST1064, ST1083) in steps ST104, ST106, and ST108. It is.
<複線化部品座標算出処理>
以下、図19に示すフローチャートを用いて実施の形態2の図面編集装置200における複線化部品座標算出部2325での複線化部品座標算出処理について説明する。
<Double-track component coordinate calculation processing>
Hereinafter, the multi-line component coordinate calculation process in the multi-line component coordinate
図19においては、実施の形態1における図9のフローチャートのステップST12をステップST121に入れ替えたものであり、それ以外の処理内容は図9と同様であるので説明は省略する。 In FIG. 19, step ST12 of the flowchart of FIG. 9 in the first embodiment is replaced with step ST121, and the other processing contents are the same as those in FIG.
ステップST121において、複線化部品座標算出部2325はステップST12(図9)と同様に、基準線分列部品の座標と、ステップST11で求めた端点の座標を用いて、並行線分列部品の端以外の点の座標を算出する。ただし、並行線分列部品の端以外の点を求める際に算出される座標を部品情報格納部24に記憶する点が異なる。
In step ST121, similarly to step ST12 (FIG. 9), the multi-line component coordinate
例えば、図10の(f)部に示される点10123を、線分1015と線分1016が成す角部の同心円の中心座標として記憶する。また、図10の(e)部に示される点10121を線分1015における同心円の接点とし、点10122を線分1016における同心円の接点として記憶する。また、図10の(d)部、(e)部、(f)部および(g)部で説明した手順に、以下の手順を加え、同心円の半径を記憶する。すなわち、図10の(e)部に示される、点10121と点10123の距離を求め、同心円の半径とする。
For example, the
<複線化部品角部変形処理>
次に、図20に示すフローチャートを用いて図18に示すステップST211の複線化部品角部変形処理の詳細について説明する。
<Double line part corner deformation processing>
Next, details of the double-tracked component corner deformation process in step ST211 shown in FIG. 18 will be described using the flowchart shown in FIG.
複線化部品角部変形処理においては、まず、複線化部品角部変形部2326が、選択中の複線化部品の複線化制御部品を、複線化制御部品情報格納部25から取得する(ステップST2111)。
In the double track component corner deformation process, first, the double track component
次に、複線化部品角部変形部2326は、入力装置5より指定された頂点の情報を、ユーザ入力受付部22より取得する。取得した頂点の情報を用いて、当該頂点の角部形状情報を、ステップST2111で取得した複線化制御部品より取得する(ステップST2112)。ここで、角部形状情報は複線化制御部品に含まれ、角部を角形として表示するか、円弧で表示するかの情報であり、デフォルトでの設定として角形あるいは円弧とすることが設定されている。デフォルトでどちらかに設定されていたとしても、それを見たユーザが任意に変更できるので問題はない。
Next, the double-tracked component
次に、複線化部品角部変形部2326は、指定された頂点の角部形状情報を更新する(ステップST2113)。すなわち、ステップST2112で取得した情報が「角形で表示」であれば「円弧で表示」に更新するとともに、複線化制御部品情報格納部25の情報を更新する。また、ステップST2112で取得した情報が「円弧で表示」であれば「角形で表示」に更新するとともに、複線化制御部品情報格納部25の情報を更新する。
Next, the double-tracked part
次に、複線化部品角部変形部2326は、複線化部品の座標などの情報を、部品情報格納部24から取得する(ステップST2114)。
Next, the double-tracked part
次に、複線化部品角部変形部2326は、更新した角部形状情報から角部形状を判定する(ステップST2115)。そして、判定した角部形状が「角形」であれば、ステップST21110に進み、「円弧」であれば、ステップST2116に進む。
Next, the double-track component
ステップST2116では、複線化部品角部変形部2326は、ステップST2114で取得した情報の中に、指定された角部の同心円の中心座標、半径、接点座標などの円弧情報があるか否かを判定する。円弧情報が「ある」場合は、ステップST2119に進む。一方、円弧情報が「ない」場合は、ステップST2117に進む。
In step ST2116, the multi-line part
ステップST2117の複線化部品座標算出処理は、図19を用いて説明した処理と同じであり、並行線分列部品の端以外の点の座標を算出する処理であるが、算出結果には角部の同心円の中心座標、同心円の接点座標、同心円の半径などの円弧情報を含んでいる。 The multi-line component coordinate calculation process in step ST2117 is the same as the process described with reference to FIG. 19 and is a process for calculating the coordinates of points other than the ends of the parallel line segment parts. Arc information such as the center coordinates of the concentric circles, the contact coordinates of the concentric circles, and the radius of the concentric circles.
次に、複線化部品角部変形部2326は、ステップST2117において算出した円弧情報を、部品情報格納部24に格納する(ステップST2118)。
Next, the double track part
次に、複線化部品角部変形部2326は、ステップST2114で取得した複線化部品の座標と、ステップST2117で算出した円弧情報を、表示部21へ渡す(ステップST2119)。
Next, the double-tracked part
また、複線化部品角部変形部2326は、ステップST2114で取得した複線化部品の座標を表示部21へ渡す(ステップST21110)。この場合、指定した角部の円弧情報は渡さない。
In addition, the double-tracked part
<図面編集操作>
次に、図21および図22を用いて、図面編集装置200における図面編集操作について説明する。なお、以下では複線化部品の角部を、角形で表示するか、円弧で表示するかを、角部ごとに選択するユーザの操作を説明する。その他の操作は、図12を用いて説明した実施の形態1と同様である。
<Drawing editing operation>
Next, a drawing editing operation in the drawing
図21には、表示装置6(図1)に表示される図面編集画面の一例を示しており、ユーザが監視制御システムの監視画面を作成する例について説明する。 FIG. 21 shows an example of a drawing editing screen displayed on the display device 6 (FIG. 1), and an example in which the user creates a monitoring screen of the monitoring control system will be described.
図21に示す図面編集画面121Aは、編集指定手段124に角部の形状を切り替える角部形状切り替え手段1245を有している点で図12に示した図面編集画面121と異なっている。
The drawing
この、角部形状切り替え手段1245は、例えば、編集指定手段124の角部形状切替手段1245を選択すると、複線化部品にある選択中の頂点の角部の形状を切り替えることができる。また、角部形状切替手段1245は、図面編集装置のメニューバーから表示されるプルダウンメニューにあるものでなく、角部の形状を切り替えたい複線化部品の頂点を、マウスで右クリックするという手段としても良い。
For example, when the corner shape switching unit 1245 of the
次に、ユーザが、複線化部品を選択した後に、当該複線化部品に対して複線化部品角部変形処理を施す操作を図22を用いて説明する。 Next, after the user selects a double-tracked part, an operation for performing a double-tracked part corner deformation process on the double-tracked part will be described with reference to FIG.
図22の(a)部には、ユーザが選択した複線化部品2101が示されており、この複線化部品2101に対して、芯線表示手段1243を用いると、図21の(a)部に示すように芯線2102が表示される。この場合、図面編集装置200の内部では、図18を用いて説明したステップST202、ステップST203、ステップST207およびステップST210が実行されることとなる。
FIG. 22 (a) shows the double-tracked
次に、ユーザが角部を丸めたい頂点上で、角部形状切り替え手段1245を用いると、図22の(b)部に示されるように角部を丸めて表示される。すなわち、頂点21021上でマウスの右クリック操作を行うと、図22の(b)部に示すように、角部が丸まって(円弧で)表示される。一方、丸めた角部の頂点上で、角部形状切り替え手段1245を用いると(マウスの右クリック操作を行うと)、図22の(a)部で示す形状に戻すことができる。この場合、図面編集装置200の内部では、図18を用いて説明したステップST202、ステップST203、ステップST211およびステップST210が実行されることとなる。
Next, when the user uses the corner shape switching unit 1245 on the vertex at which the corner is desired to be rounded, the corner is rounded and displayed as shown in part (b) of FIG. That is, when the right click operation of the mouse is performed on the
<効果>
以上説明したように、実施の形態2に係る図面編集装置200では、複線化部品の任意の角部の形状を、角または円弧として表示させることができる。
<Effect>
As described above, the drawing
21 表示部、22 ユーザ入力受付部、23 部品編集部、24 部品情報格納部、25 複線化制御部品情報格納部、211 頂点表示部、212 芯線表示部、231 従来部品編集部、232 複線化部品編集部、2321 複線化部品生成部、2322 複線化部品変形部、2323 複線化部品化処理部、2324 個別部品化部、2325 複線化部品座標算出部、2326 複線化部品角部変形部。 21 Display unit, 22 User input reception unit, 23 Component editing unit, 24 Component information storage unit, 25 Double track control component information storage unit, 211 Vertex display unit, 212 Core line display unit, 231 Conventional component edit unit, 232 Double track component Editing unit, 2321 Double-line component generation unit, 2322 Double-line component deformation unit, 2323 Double-line component processing unit, 2324 Individual component unit, 2325 Double-line component coordinate calculation unit, 2326 Double-line component part deformation unit.
Claims (8)
前記線分列部品の1つを基準線分列部品とし、前記基準線分列部品と、前記基準線分列部品に並行に配置される前記線分列部品である並行線分列部品とをグループ化し、かつ互いに並行に密接して配置された複線化部品を生成するとともに、前記複線化部品を含めて前記部品の生成、選択、変形および削除を含む編集を行う部品編集部と、
前記部品編集部から前記画面に表示する前記部品の情報を受け、前記画面に表示する前記部品の表示処理を行う表示部と、
前記複線化部品を含めて前記部品の情報を格納し、前記部品編集部との間で前記部品の情報を授受する部品情報格納部と、
前記複線化部品を管理、制御する複線化部品制御部品の情報を格納し、前記部品編集部との間で前記複線化部品制御部品の情報を授受する複線化制御部品情報格納部とを備え、
前記複線化部品は、前記基準線分列部品に対する編集が、前記並行線分列部品に対しても及ぶようにグループ化され、
前記部品編集部は、
前記基準線分列部品の座標と前記太さの情報を用いて、前記並行線分列部品の座標を算出する複線化部品座標算出部と、
前記複線化部品座標算出部で算出された前記並行線分列部品の座標を用いて前記複線化部品を生成する複線化部品生成部と、
前記基準線分列部品の変形後の座標を前記複線化部品座標算出部に渡し、それに基づいて前記複線化部品座標算出部が算出した前記並行線分列部品の変形後の座標を取得する複線化部品変形部と、を有し、
前記基準線分列部品を変形することで、前記並行線分列部品を前記基準線分列部品と同じように変形させることを特徴とする、状況監視図面編集装置。 A situation monitoring drawing editing device for creating a drawing composed of a plurality of parts including a line segment part composed of line segments having thickness information on a screen of a display device,
One of the line segment parts is a reference line segment part, the reference line segment part, and a parallel line segment part that is the line segment part arranged in parallel to the reference line segment part A part editing unit that generates grouped parts arranged in close proximity to each other in parallel, and performs editing including generation, selection, deformation, and deletion of the part including the parted parts.
A display unit that receives information on the component displayed on the screen from the component editing unit, and performs display processing of the component displayed on the screen;
A component information storage unit that stores information on the component including the double-tracked component, and exchanges information on the component with the component editing unit;
A multi-track control part information storage unit that stores information of the multi-track control part that manages and controls the multi-track part, and transmits and receives the multi-track control part information to and from the part editing unit,
The multi-track parts are grouped so that the edits to the reference line segment parts also extend to the parallel line segment parts,
The parts editing unit
Using the coordinates of the reference line segment parts and the information of the thickness, a multi-line component coordinate calculator that calculates the coordinates of the parallel line segment parts;
A multi-line component generation unit that generates the multi-line component using the coordinates of the parallel line segment component calculated by the multi-line component coordinate calculation unit;
The double line which acquires the coordinate after the deformation | transformation of the said parallel line segment component which the coordinate after the deformation | transformation of the said reference line segment component passed to the said double line component coordinate calculation part and the said double line component coordinate calculation part calculated based on it A deformed part deformation part,
The situation monitoring drawing editing apparatus, wherein the parallel line segment component is deformed in the same manner as the reference line segment component by deforming the reference line segment component.
前記基準線分列部品の中心線に対して垂直であって、前記端点を通る垂線を求め、
前記端点から前記基準線分列部品の太さに等しい距離にあり、かつ、前記垂線上にある点を求めることで、当該点を前記並行線分列部品の端点とする、請求項1記載の状況監視図面編集装置。 The double-track component coordinate calculation unit
Finding a perpendicular perpendicular to the center line of the reference line segment and passing through the end points,
2. The point according to claim 1, wherein a point that is at a distance equal to the thickness of the reference line segment component from the end point and that is on the perpendicular is obtained as an end point of the parallel line segment component. Situation monitoring drawing editing device.
前記基準線分列部品の角部を頂点として連続する2本の線分に接する同心円の、中心座標、半径および前記2本の線分との接点座標を含む円弧情報を算出し、
前記部品編集部は、
前記複線化制御部品情報格納部から取得した前記複線化部品制御部品の情報に含まれる、前記複線化部品の角部を角形で表示するか、円弧で表示するかの情報に従って前記複線化部品の角部を角形または円弧で表示するように、前記部品情報格納部から取得した前記複線化部品の情報および前記複線化部品座標算出部で算出した前記円弧情報の少なくとも一方を前記表示部に与える、複線化部品角部変形部をさらに有する、請求項2記載の状況監視図面編集装置。 The double-track component coordinate calculation unit
Calculating arc information including a center coordinate, a radius, and a contact coordinate with the two line segments of a concentric circle that is in contact with two continuous line segments with a corner of the reference line segment component as a vertex;
The parts editing unit
In accordance with the information on whether to display the corner of the double-tracked part as a square or an arc included in the information of the double-tracked part control part acquired from the double-tracked control part information storage unit, The display unit is provided with at least one of the information on the double-tracked part acquired from the part information storage unit and the arc information calculated by the double-tracked part coordinate calculation unit so as to display a corner with a square or an arc. The situation monitoring drawing editing apparatus according to claim 2, further comprising a double-tracked part corner deforming unit.
前記複線化部品を個別部品に分解する個別部品化部をさらに有し、
前記個別部品化部は、
選択された前記複線化部品について、前記複線化制御部品情報格納部から取得した前記複線化部品制御部品の情報を削除して前記複線化部品の情報のみを前記表示部に与える、請求項2記載の状況監視図面編集装置。 The parts editing unit
It further has an individual parts unit for disassembling the double track parts into individual parts,
The individual component unit is
3. The selected multi-track component, the multi-track control component information acquired from the multi-track control component information storage unit is deleted, and only the multi-track component information is given to the display unit. Situation monitoring drawing editing device.
前記複線化部品制御部品を生成して、前記基準線分列部品および前記並行線分列部品をグループ化して前記複線化部品を生成する複線化部品化処理部をさらに有する、請求項2記載の状況監視図面編集装置。 The parts editing unit
The multi-lined part control part which generates the double-lined part control part, groups the reference line segment part and the parallel line segment part and generates the double-line part is further provided. Situation monitoring drawing editing device.
前記線分列部品の1つを基準線分列部品とし、前記基準線分列部品と、前記基準線分列部品に並行に配置される前記線分列部品である並行線分列部品とをグループ化し、かつ互いに並行に密接して配置された複線化部品を生成するとともに、前記複線化部品を含めて前記部品の生成、選択、変形および削除を含む編集を行う部品編集部と、
前記部品編集部から前記画面に表示する前記部品の情報を受け、前記画面に表示する前記部品の表示処理を行う表示部と、
前記複線化部品を含めて前記部品の情報を格納し、前記部品編集部との間で前記部品の情報を授受する部品情報格納部と、
前記複線化部品を管理、制御する複線化部品制御部品の情報を格納し、前記部品編集部との間で前記複線化部品制御部品の情報を授受する複線化制御部品情報格納部とを有し、
前記複線化部品は、前記基準線分列部品に対する編集が、前記並行線分列部品に対しても及ぶようにグループ化され、
前記部品編集部は、
前記基準線分列部品の座標と前記太さの情報を用いて、前記並行線分列部品の座標を算出する複線化部品座標算出部と、
前記複線化部品座標算出部で算出された前記並行線分列部品の座標を用いて前記複線化部品を生成する複線化部品生成部と、
前記基準線分列部品の変形後の座標を前記複線化部品座標算出部に渡し、それに基づいて前記複線化部品座標算出部が算出した前記並行線分列部品の変形後の座標を取得する複線化部品変形部と、を有し、
前記基準線分列部品を変形することで、前記並行線分列部品を前記基準線分列部品と同じように変形させる状況監視図面編集装置、
として前記コンピュータを機能させることを特徴とする、状況監視図面編集プログラム。 This is a situation monitoring drawing editing program that creates on the screen of a display device a drawing that consists of multiple parts, including line segment parts that are installed on a computer and that consist of line segments with thickness information. And
One of the line segment parts is a reference line segment part, the reference line segment part, and a parallel line segment part that is the line segment part arranged in parallel to the reference line segment part A part editing unit that generates grouped parts arranged in close proximity to each other in parallel, and performs editing including generation, selection, deformation, and deletion of the part including the parted parts.
A display unit that receives information on the component displayed on the screen from the component editing unit, and performs display processing of the component displayed on the screen;
A component information storage unit that stores information on the component including the double-tracked component, and exchanges information on the component with the component editing unit;
A multi-track control part information storage unit that stores information of the multi-track control part that manages and controls the multi-track part, and exchanges the information of the multi-track control part with the part editing unit; ,
The multi-track parts are grouped so that the edits to the reference line segment parts also extend to the parallel line segment parts,
The parts editing unit
Using the coordinates of the reference line segment parts and the information of the thickness, a multi-line component coordinate calculator that calculates the coordinates of the parallel line segment parts;
A multi-line component generation unit that generates the multi-line component using the coordinates of the parallel line segment component calculated by the multi-line component coordinate calculation unit;
The double line which acquires the coordinate after the deformation | transformation of the said parallel line segment component which the coordinate after the deformation | transformation of the said reference line segment component passed to the said double line component coordinate calculation part and the said double line component coordinate calculation part calculated based on it A deformed part deformation part,
A situation monitoring drawing editing device that transforms the parallel line segment component in the same manner as the reference line segment component by deforming the reference line segment component,
A situation monitoring drawing editing program characterized by causing the computer to function as:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011037871A JP5465688B2 (en) | 2011-02-24 | 2011-02-24 | Situation monitoring drawing editing apparatus and situation monitoring drawing editing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011037871A JP5465688B2 (en) | 2011-02-24 | 2011-02-24 | Situation monitoring drawing editing apparatus and situation monitoring drawing editing program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012174155A JP2012174155A (en) | 2012-09-10 |
JP5465688B2 true JP5465688B2 (en) | 2014-04-09 |
Family
ID=46976978
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011037871A Active JP5465688B2 (en) | 2011-02-24 | 2011-02-24 | Situation monitoring drawing editing apparatus and situation monitoring drawing editing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5465688B2 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10283385A (en) * | 1997-04-08 | 1998-10-23 | Meidensha Corp | Method for generating parallel lines |
JP4027130B2 (en) * | 2002-03-19 | 2007-12-26 | 株式会社パスコ | Shape shaping program |
-
2011
- 2011-02-24 JP JP2011037871A patent/JP5465688B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2012174155A (en) | 2012-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6168475B2 (en) | Graph generation apparatus, graph generation method, and graph generation program | |
JP5694686B2 (en) | Image processing apparatus, image processing method, and program | |
JP6639734B2 (en) | Map data generation apparatus and method | |
WO2015055087A1 (en) | Method and device for selecting solid in drawing | |
JP5465688B2 (en) | Situation monitoring drawing editing apparatus and situation monitoring drawing editing program | |
JP4290717B2 (en) | Business process flow diagram creation and editing support system and support program | |
JP5833365B2 (en) | Diamond line creation system, line time change method and program | |
JP2015114865A (en) | Information processor, relay computer, information processing system, and information processing program | |
JP6629760B2 (en) | How to display images | |
JP4937230B2 (en) | Display control apparatus and display control program | |
JP5050948B2 (en) | Bundling management apparatus, method, and program | |
JP6618127B2 (en) | Display device, display method, and display program | |
JP4804257B2 (en) | Combination sectional view generation method, apparatus and program thereof | |
JP6028703B2 (en) | Graph generation apparatus, graph generation method, and graph generation program | |
JP2009043188A (en) | Operation management support system, and program | |
JP6185732B2 (en) | Image processing device | |
JP2011107881A (en) | Monitoring control display system | |
JP2009295115A (en) | Design support device, method, and program for structure | |
JP4471204B2 (en) | Information processing system, document management apparatus, information processing method, program, and recording medium | |
JP4874171B2 (en) | Ladder diagram editing apparatus and ladder diagram editing program | |
JP5196606B2 (en) | CAD data conversion device, CAD data conversion method, and computer program | |
JP2013125424A (en) | Symbol generating device for graphic screen | |
JP5023160B2 (en) | Screen transition design support program and screen transition design support device | |
JP2011134165A (en) | Mesh change device, mesh change method and program | |
JP3378186B2 (en) | CAD system and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20121003 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130724 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130730 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130925 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20131015 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131218 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20131227 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140121 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140122 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5465688 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |