CN100435171C - Method for arranging three dimension figure - Google Patents

Method for arranging three dimension figure Download PDF

Info

Publication number
CN100435171C
CN100435171C CNB2006100664313A CN200610066431A CN100435171C CN 100435171 C CN100435171 C CN 100435171C CN B2006100664313 A CNB2006100664313 A CN B2006100664313A CN 200610066431 A CN200610066431 A CN 200610066431A CN 100435171 C CN100435171 C CN 100435171C
Authority
CN
China
Prior art keywords
targeted graphical
targeted
figures
target
dimensional picture
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.)
Expired - Fee Related
Application number
CNB2006100664313A
Other languages
Chinese (zh)
Other versions
CN1822044A (en
Inventor
冯利军
刘靖超
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.)
Peking University
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University
Beijing Founder Electronics Co 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
Application filed by Peking University, Beijing Founder Electronics Co Ltd filed Critical Peking University
Priority to CNB2006100664313A priority Critical patent/CN100435171C/en
Publication of CN1822044A publication Critical patent/CN1822044A/en
Application granted granted Critical
Publication of CN100435171C publication Critical patent/CN100435171C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention belongs to the technical field of image and figure processing, which particularly relates to a method for regular arrangement of a large quantity of same three-dimensional figures. When the regular arrangement of a large quantity of same three-dimensional figures is designed by the existing processing method, the existing processing method has the problems of large duplication workload, difficult control of the duplication quantity, and difficult arrangement of the figures. By the method of the present invention, after an original figure is introduced, the quantity of target figures, a target area and a figure space are determined. Then, the original figure is scaled to form the target figure, and the target figure is duplicated. All target figures are collected, and sequence is carried out by the method of comparing arrangement relation according to the characteristics of the target figures. By the method of the present invention, the effects of one-time manufacture, rapid generation and automatic regulation can be rapidly realized when a large quantity of figures are duplicated and arranged. The efficiency is greatly enhanced particularly for the figures regularly arranged.

Description

The method that a kind of three-dimensional picture is arranged
Technical field
The invention belongs to the image graphics processing technology field, be specifically related to the method that a kind of three-dimensional picture is arranged.
Background technology
At present, in fields such as planar design, ad productions, in three-dimensional picture making and processing procedure, often need be to a large amount of identical figures, carry out regularly arranged situation according to certain arrangement sequence, for example, when making calendar, wall brick, classified advertisement figures, all exist and to carry out regularly arranged situation to the figure of enormous amount.For reaching this effect, the common practices that adopts is as follows at present:
(1) makes a less figure as raw data;
(2) duplicate a plurality of such figures;
(3) as required with these figures by regularly arranged, the method for arrangement adopts modes such as " alignment ", " equidistantly " more.
There are two main defectives in said method: the workload of (1) copy pattern is bigger, when the quantity of figure more for a long time, directly duplicate the work that these figures are exactly a trouble, and the quantity of duplicating is difficult with control, when especially quantity is very big, as surpassing 200, this deficiency just shows more obviously; (2) duplicate after, arrange equally relatively difficulty of these figures.In senior picture editting's design software, the effect of figure is a lot, and simultaneously figure is positioned at different layers, should correct position after the arrangement, again graphical effect correctly.This operation beyond doubt one loaded down with trivial details, manually finish the work of comparison difficulty.
This shows; existing graph copying and aligning method have faced a lot of difficulties when quantity is big; as previously described; duplicate a large amount of identical three-dimensional picture; must make operating environment become very chaotic; particularly when quantity is huge especially; hundreds of identical figure for example; operating personnel are difficult to accurately choose the figure that needs; and; arrange that these figures are general to adopt putting well at first roughly; adopt the top then; the end; a left side; right; modes such as center-aligned are alignd, and re-use the distance between equidistant method adjustment figure, and this is that a kind of the adjustment repeatedly pursued; accurate gradually method; adjustment process can not have any mistake, and any mistake all can cause the significantly prolongation of the time of work.Obviously, this work to having relatively high expectations, and is a job that makes mistakes easily to personnel.
Summary of the invention
At the defective that exists in the prior art, the purpose of this invention is to provide the method that a kind of three-dimensional picture is arranged, this method only need be made an original big figure, then as required, it is scaled targeted graphical, and duplicate the quantity of targeted graphical for needing, each targeted graphical is except feature size, all attributes that all have original figure, adjust the Rankine-Hugoniot relations of targeted graphical according to certain rule, when carrying out a large amount of graph copyings and arranging, can realize producing once, generate fast, self-adjusting effect.
For reaching above purpose, the technical solution used in the present invention is: the method that a kind of three-dimensional picture is arranged may further comprise the steps:
(1) make original figure, if original figure exists, then directly read, described original figure is a three-dimensional picture;
(2) according to demand, the position in target setting zone and scope, and the quantity n of target setting figure and spacing are calculated the size of targeted graphical in view of the above, and wherein n is a positive integer, and spacing comprises the horizontal spacing and the longitudinal pitch of adjacent pattern;
(3) convergent-divergent original figure generates a targeted graphical, duplicates n-1 targeted graphical then, and n figure is placed in the target area;
(4) collect the target complete figure, formulate ordering rule, targeted graphical is sorted, adjust the graphics hierarchy relation then, finish arrangement according to the feature of targeted graphical; Described ordering rule adopts the method for comparison object picture position relation, and this method may further comprise the steps:
1) all targeted graphicals is set unified coordinate system; Described coordinate is quadrature U, V coordinate system;
2) obtain position, the anglec of rotation, the figure direction of figure;
3) according to step 2) information, formulate unified ordering rule, be convenient to the position of comparison figure; When the position of comparison object figure concerns, be U based on along slope coordinate, lateral coordinates is that V is inferior, determines the priority of coordinate; According to the position of priority ratio than targeted graphical, order before and after determining;
4) obtain the frame coordinate of any two targeted graphicals, i.e. the position of figure, the rule according to step 3) is formulated sorts to figure;
5) travel through all figures, form an orderly figure sequence;
6) arrange end.
Further, step (2) or realize by the following method: behind the position and scope in target setting zone,, determine the figure quantity n that need duplicate according to the size and the spacing of targeted graphical.
Further, when setting the spacing of figure in the step (2), horizontal spacing is identical with longitudinal pitch.
Further, the targeted graphical feature described in the step (4) comprises position relation, the anglec of rotation, the figure direction of targeted graphical.
Further again, when the adjustment graphics hierarchy concerns in the step (4),, all targeted graphicals are placed same one deck according to the order that sequences.
In addition, when the adjustment graphics hierarchy concerns in the step (4), also targeted graphical is done translation transformation according to the anglec of rotation.
Effect of the present invention is: adopt that method of the present invention can a large amount of three-dimensional picture realize fast when duplicating and arranging producing once, generate fast, self-adjusting effect carrying out, efficient is high and be not easy to make mistakes, and targeted graphical can keep the attribute of original figure, particularly, can greatly increase work efficiency for the three-dimensional picture of queueing discipline.
Description of drawings
Fig. 1 is a basic flow sheet of the present invention;
Fig. 2 is a targeted graphical ordering process flow diagram;
Fig. 3 is original figure, coordinate system and figure anglec of rotation α synoptic diagram;
Fig. 4 adopts existing method to arrange the actual effect figure of three-dimensional picture
Fig. 5-Fig. 7 carries out design sketch in the sequencer procedure to targeted graphical;
Fig. 8 is the design sketch that adopts after method of the present invention is arranged three-dimensional picture.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention will be further described:
As shown in Figure 1, the method that a kind of three-dimensional picture is arranged may further comprise the steps:
(1) makes three-dimensional original figure 1; This original figure is the figure of any tool making; If original figure exists, then directly read.
In the present embodiment, figure shown in Figure 3 is original figure, coordinate system and figure anglec of rotation α synoptic diagram, α=15 °.Fig. 4 adopts existing method to arrange the actual effect figure of three-dimensional picture, and black arrow presentation graphic direction is not done the skew of targeted graphical.The level of figure is more numerous and disorderly among Fig. 4 as can be seen, and arranging has influenced correct effect.
(2) according to demand, the position in target setting zone and scope A * B; The n during quantity of target setting figure needs to calculate n=W * H, and n is a total quantity, and W is horizontal quantity, and H is a quantity longitudinally; N wherein, W, H is positive integer; When setting the spacing of figure, need to set the horizontal spacing G of adjacent pattern 1With longitudinal pitch G 2Vice versa, also can determine the figure quantity that need duplicate according to the size of targeted graphical and the scope of interval calculation target area.
In this implementation column, the target area is 100mm * 80mm; Destination number is 5 * 4 totally 20; The horizontal spacing of adjacent pattern and longitudinal pitch are respectively 5mm and 4mm; The initial point of target area is (0, the 0) point among Fig. 3.
(3) convergent-divergent original figure is according to (A-(W-1) * G 1) and (A-(H-1) * G 2) calculate the size of targeted graphical.
In the present embodiment, wide (100-4 * 5) ÷ 5=16mm of targeted graphical, high (80-3 * 4) ÷ 4=17mm.Generate the targeted graphical of a 16 * 17mm, duplicate 19 targeted graphicals then, 20 figures are placed in the target area.
Because the process of duplicating is finished at the same space of a whole page, so targeted graphical is under the same coordinate system.The method of duplicating simultaneously, makes all targeted graphicals have identical size, the anglec of rotation (α) and figure direction (black arrow among Fig. 4).
(4) collect the target complete figure, formulate ordering rule, targeted graphical is sorted, finish arrangement, adjust the graphics hierarchy relation then according to the feature of targeted graphical.Described targeted graphical feature comprises position relation, the anglec of rotation, the figure direction of targeted graphical.
As shown in Figure 2, in the present embodiment, what adopt when targeted graphical is sorted is the method for comparison object graph position relation, and this method may further comprise the steps:
1) as mentioned before, all targeted graphicals have been under the same coordinate system, and in the present embodiment, 20 targeted graphicals are arranged in orthogonal coordinate system U, V.Setting the priority 8 of coordinate system, in the present embodiment, is main with vertical V coordinate, and laterally the U coordinate is inferior, and promptly vertically V coordinate system priority is higher than horizontal U coordinate system;
2) obtain position, the anglec of rotation, the figure direction of targeted graphical;
3) according to step 2) information, formulate unified ordering rule 9, be convenient to the position of comparison object figure.The key of ordering is the comparison position relation, and core concept is based on a direction, and another direction is inferior, determines the priority of ordering.Described in step 1), be main with vertical V coordinate, laterally the U coordinate is inferior.In the process of comparison position relation, if ordinate V is inequality, then only compare ordinate, do not consider horizontal ordinate U; If ordinate is identical, consider horizontal ordinate again.
4) obtain the frame coordinate of any two targeted graphicals, i.e. the position of figure, the rule according to step 3) is formulated sorts to figure, as 10 among Fig. 2,11,12.
In the present embodiment, as shown in Figure 5, a, b, three figures of c are arranged, a is on the left side of b, according to the comparison rule of formulating in the present embodiment, the same position of a and b relatively, as all comparing the limit, left side of a and b, a<b, thus in sequence a in the front of b; In like manner, b is in the lower right of c, because the priority of coordinate has been determined in the front, the priority height compares b and c top margin longitudinally, and b<c, b so far, form a local order formation " abc " in the front of c, and the arrangement of other targeted graphicals by that analogy.
5) travel through all targeted graphicals, form orderly formation, as shown in Figure 6 13 until all targeted graphicals.
(5) according to the order that sequences, successively all figures are placed same one deck, effect is as shown in Figure 7.May need figure and original figure on grown form, to be consistent in some cases, can do translation transformation to targeted graphical, form Fig. 8 according to the anglec of rotation.
Embodiment 2: other steps are identical with embodiment 1, and difference is: when setting the spacing of adjacent target figure in the step (2), and horizontal spacing G 1With longitudinal pitch G 2Being identical, all is 5mm.In the step (3), wide (100-4 * 5) ÷ 5=16mm of targeted graphical, high (80-3 * 5) ÷ 4=16.25mm.
The above is a simplified example of the present invention, is not to limit the present invention with this example.Every according to thought of the present invention, and the variation pattern mentioned of preamble, change a little, modify or delete intermediate steps, all within interest field of the present invention.

Claims (6)

1. the three-dimensional picture method of arranging may further comprise the steps:
(1) make original figure, if original figure exists, then directly read, described original figure is a three-dimensional picture;
(2) according to demand, the position in target setting zone and scope, and the quantity n of target setting figure and spacing are calculated the size of targeted graphical in view of the above, and wherein n is a positive integer, and spacing comprises the horizontal spacing and the longitudinal pitch of adjacent pattern;
(3) convergent-divergent original figure generates a targeted graphical, duplicates n-1 targeted graphical then, and n figure is placed in the target area;
(4) collect the target complete figure, formulate ordering rule, targeted graphical is sorted, adjust the graphics hierarchy relation then, finish arrangement according to the feature of targeted graphical; Described ordering rule adopts the method for comparison object picture position relation, and this method may further comprise the steps:
1) all targeted graphicals is set unified coordinate system; Described coordinate is quadrature U, V coordinate system;
2) obtain position, the anglec of rotation, the figure direction of figure;
3) according to step 2) information, formulate unified ordering rule, be convenient to the position of comparison figure; When the position of comparison object figure concerns, be U based on along slope coordinate, lateral coordinates is that V is inferior, determines the priority of coordinate; According to the position of priority ratio than targeted graphical, order before and after determining;
4) obtain the frame coordinate of any two targeted graphicals, i.e. the position of figure, the rule according to step 3) is formulated sorts to figure;
5) travel through all figures, form an orderly figure sequence;
6) arrange end.
2. the method that a kind of three-dimensional picture as claimed in claim 1 is arranged, it is characterized in that: step (2) or realize by the following method: behind the position and scope in target setting zone, according to the size and the spacing of targeted graphical, determine the figure quantity n that need duplicate.
3. the method that a kind of three-dimensional picture as claimed in claim 1 is arranged, when it is characterized in that setting the spacing of figure in the step (2), horizontal spacing is identical with longitudinal pitch.
4. as the method for claim 1,2 or 3 described a kind of three-dimensional picture arrangements, it is characterized in that: the targeted graphical feature described in the step (4) comprises position relation, the anglec of rotation, the figure direction of targeted graphical.
5. the method that a kind of three-dimensional picture as claimed in claim 1 is arranged is characterized in that: when the adjustment graphics hierarchy concerns in the step (4), according to the order that sequences, all targeted graphicals are placed same one deck.
6. the method that a kind of three-dimensional picture as claimed in claim 5 is arranged is characterized in that: when the adjustment graphics hierarchy concerns in the step (4), also according to the anglec of rotation of targeted graphical targeted graphical is done translation transformation.
CNB2006100664313A 2006-03-31 2006-03-31 Method for arranging three dimension figure Expired - Fee Related CN100435171C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100664313A CN100435171C (en) 2006-03-31 2006-03-31 Method for arranging three dimension figure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100664313A CN100435171C (en) 2006-03-31 2006-03-31 Method for arranging three dimension figure

Publications (2)

Publication Number Publication Date
CN1822044A CN1822044A (en) 2006-08-23
CN100435171C true CN100435171C (en) 2008-11-19

Family

ID=36923393

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100664313A Expired - Fee Related CN100435171C (en) 2006-03-31 2006-03-31 Method for arranging three dimension figure

Country Status (1)

Country Link
CN (1) CN100435171C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI531920B (en) * 2014-08-08 2016-05-01 三緯國際立體列印科技股份有限公司 Dividing method of three-dimension object and computer system
CN112764644B (en) * 2021-01-04 2022-06-28 深圳市格林兄弟科技有限公司 Object display change method, device, equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0740272A2 (en) * 1995-04-28 1996-10-30 Sun Microsystems, Inc. Method and apparatus for fast rendering of three-dimensional objects
JPH0950540A (en) * 1995-08-09 1997-02-18 Hitachi Ltd Method for generating picture
CN1150674A (en) * 1994-12-02 1997-05-28 索尼公司 Method of producing image data, image data processing apparatus, and recording medium
US6326964B1 (en) * 1995-08-04 2001-12-04 Microsoft Corporation Method for sorting 3D object geometry among image chunks for rendering in a layered graphics rendering system
WO2004046881A2 (en) * 2002-11-15 2004-06-03 Sunfish Studio, Inc. Visible surface determination system & methodology in computer graphics using interval analysis
CN1691068A (en) * 2004-04-20 2005-11-02 三星电子株式会社 Apparatus and method for reconstructing three-dimensional graphics data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1150674A (en) * 1994-12-02 1997-05-28 索尼公司 Method of producing image data, image data processing apparatus, and recording medium
EP0740272A2 (en) * 1995-04-28 1996-10-30 Sun Microsystems, Inc. Method and apparatus for fast rendering of three-dimensional objects
US6326964B1 (en) * 1995-08-04 2001-12-04 Microsoft Corporation Method for sorting 3D object geometry among image chunks for rendering in a layered graphics rendering system
JPH0950540A (en) * 1995-08-09 1997-02-18 Hitachi Ltd Method for generating picture
WO2004046881A2 (en) * 2002-11-15 2004-06-03 Sunfish Studio, Inc. Visible surface determination system & methodology in computer graphics using interval analysis
CN1691068A (en) * 2004-04-20 2005-11-02 三星电子株式会社 Apparatus and method for reconstructing three-dimensional graphics data

Also Published As

Publication number Publication date
CN1822044A (en) 2006-08-23

Similar Documents

Publication Publication Date Title
O'Donovan et al. Designscape: Design with interactive layout suggestions
CN102799702B (en) Quick topographic map making method based on database driving
Agnihotri et al. Recursive bisection placement: Feng Shui 5.0 implementation details
US20130132919A1 (en) High performance design rule checking technique
CN101620591A (en) Method for designing module report form layout based on cell mode
CN101488223B (en) Image curve characteristic matching method based on average value standard deviation descriptor
CN105760536A (en) Geological map database establishing device and geological map database establishing device method based on geological database
CN101430761B (en) Form data extracting apparatus, and form data extracting method
CN101388079B (en) Title block identification method
CN100435171C (en) Method for arranging three dimension figure
CN104732028A (en) Method for generating powder laying and sintering supporting structure of aircraft structural part based on space lattice
CN111402383B (en) Revit model processing method applied to Houdini
CN105006023A (en) Multi-category three-dimension model combination modeling method supporting aided design
CN103678736B (en) A kind of method that CAD acceptance of the bid high level automatically updates
CN105677965A (en) Method for rapidly generating plate-type satellite-structure node merging grids
JPH06251007A (en) Table data input device
Jahangir et al. Tow path planning strategies for fiber steered laminates
CN103400411A (en) Method and system for modeling three-dimensional entity
CN102968778B (en) Based on the 3-D geometric model parts joining method of global optimization
CN112307725B (en) Method for adding table information on two-dimensional drawing interface
CN106599248A (en) Spatial graph conversion method based on binary element mapping pool technology
CN102591845B (en) Method and device for processing overlapping text
Fang et al. Graph-based subfield scheduling for electron-beam photomask fabrication
CN108230446A (en) A kind of high-precision three-dimensional curved surface modeling method
CN101714148A (en) Reuse method and device in computer aided design

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081119

Termination date: 20170331