CN106097428A - The mask method of threedimensional model metrical information and device - Google Patents

The mask method of threedimensional model metrical information and device Download PDF

Info

Publication number
CN106097428A
CN106097428A CN201610389487.6A CN201610389487A CN106097428A CN 106097428 A CN106097428 A CN 106097428A CN 201610389487 A CN201610389487 A CN 201610389487A CN 106097428 A CN106097428 A CN 106097428A
Authority
CN
China
Prior art keywords
lead
abscissa
end points
wire end
threedimensional model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610389487.6A
Other languages
Chinese (zh)
Other versions
CN106097428B (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.)
Qingdao Hisense Medical Equipment Co Ltd
Original Assignee
Qingdao Hisense Medical Equipment 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 Qingdao Hisense Medical Equipment Co Ltd filed Critical Qingdao Hisense Medical Equipment Co Ltd
Priority to CN201610389487.6A priority Critical patent/CN106097428B/en
Publication of CN106097428A publication Critical patent/CN106097428A/en
Application granted granted Critical
Publication of CN106097428B publication Critical patent/CN106097428B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/10Geometric effects
    • G06T15/20Perspective computation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention discloses mask method and the device of a kind of threedimensional model metrical information, belong to areas of information technology.The method comprises determining that the first specified point of currently displaying threedimensional model;For the measurement graticule of this threedimensional model, determining the first lead-in wire end points based on this first specified point, the second specified point of this measurement graticule and the first preset length, this first preset length is more than the greatest length between this first specified point and border of this threedimensional model;With this second specified point as starting point, with this first lead-in wire end points as terminal, generate one-level lead-in wire;Go between based on this one-level, mark the metrical information that this measurement graticule is corresponding.By the method for the present invention, terminal can go between based on one-level, outside measuring metrical information corresponding to graticule and be labeled in the border of this threedimensional model, thus avoid blocking between metrical information and threedimensional model, metrical information and metrical information, the displaying clear and definite of metrical information, improves visual effect.

Description

The mask method of threedimensional model metrical information and device
Technical field
The present embodiments relate to areas of information technology, particularly to a kind of threedimensional model metrical information mask method and Device.
Background technology
Three-dimensional reconstruction refers to set up three-dimensional body be suitable for the mathematical model that terminal represents and processes, at present, along with three-dimensional The development of reconstruction technique, the threedimensional model built by three-dimensional reconstruction is widely used at medical domain, user Can three-dimensional medical model based on such as organizer official rank the most in the terminal, check the structure of histoorgan, pathological changes position The information such as put, but also the spatial information in three-dimensional medical model can be measured, obtain metrical information, such as range measurement Information, angular surveying information etc..And check this metrical information for the ease of user, then need in three-dimensional medical model this survey Amount information is labeled.
Prior art is many directly to mark metrical information in three-dimensional medical model, marking distance measurement information is Example, in terminal gets three-dimensional medical model after distance measurement information between two locus, can from which one Line is drawn in individual locus to another locus, and this line is measurement graticule, and directly upper at this measurement graticule Side marks this distance measurement information.
During realizing the present invention, inventor finds that prior art at least there is problems in that
Owing to three-dimensional medical model generally including translucent and opaque histoorgan, such as blood vessel, tumor etc., and letter Breath measures the surface being not limited to three-dimensional medical model, also includes the measurement to three-dimensional medical model internal structure, the most directly It is connected in three-dimensional medical model mark metrical information, histoorgan and metrical information can be caused, and metrical information is believed with measurement Blocking between breath, causes metrical information to be shown unintelligible, affects visual effect.
Summary of the invention
In order to solve problem of the prior art, embodiments provide a kind of threedimensional model metrical information mask method And device.Described technical scheme is as follows:
First aspect, the embodiment of the present invention provides the mask method of a kind of threedimensional model metrical information, and described method includes:
Determine the first specified point of currently displaying threedimensional model;
For the measurement graticule of described threedimensional model, based on described first specified point, the second appointment of described measurement graticule Point and the first preset length determine the first lead-in wire end points, and described first preset length is more than described first specified point and described three-dimensional Greatest length between the border of model;
With described second specified point as starting point, with described first lead-in wire end points as terminal, generate one-level lead-in wire;
Go between based on described one-level, mark the metrical information that described measurement graticule is corresponding.
Alternatively, described based on described first specified point, the second specified point of described measurement graticule and with described first refer to Fixed point determines the first lead-in wire end points for the first preset length of starting point, including:
With described first specified point as zero, set up plane right-angle coordinate;
Determine the second specified point of described measurement graticule subpoint in described plane right-angle coordinate;
Based on described subpoint coordinate in described plane right-angle coordinate, determine described zero and described projection The first angle between line and the X-axis positive direction of described plane right-angle coordinate between point;
Based on described first angle and described first preset length, determine described first lead-in wire end points.
Alternatively, described go between based on described one-level, mark the metrical information that described measurement graticule is corresponding, including:
By the abscissa of point that the distance in the positive axis of described X-axis and between described zero is the second preset length It is defined as the first abscissa, is the described second default length by the distance on the negative semiaxis of described X-axis and between described zero The abscissa of the point of degree is defined as the second abscissa, and described second preset length is more than described first preset length;
Based on described first lead-in wire end points, from described first abscissa and described second abscissa, choose a horizontal seat Mark;
By selected abscissa and described first lead-in wire end points vertical coordinate indication in described plane right-angle coordinate The point shown is defined as the second lead-in wire end points;
With described first lead-in wire end points as starting point, with described second lead-in wire end points as terminal, generate two grades of lead-in wires;
According to described two grades of lead-in wires, mark the metrical information that described measurement graticule is corresponding.
Alternatively, described based on described first lead-in wire end points, select from described first abscissa and described second abscissa Take an abscissa, including:
Determine described first lead-in wire end points abscissa in described plane right-angle coordinate;
When described first lead-in wire end points abscissa in described plane right-angle coordinate is timing, choose described first horizontal Coordinate;
When described first lead-in wire end points abscissa in described plane right-angle coordinate is for time negative, choose described second horizontal Coordinate.
Alternatively, described based on described first lead-in wire end points, select from described first abscissa and described second abscissa Take an abscissa, including:
Based on described first lead-in wire end points abscissa in described plane right-angle coordinate and vertical coordinate, determine described the The cosine value of one angle;
When described cosine value is timing, choose described first abscissa;
When described cosine value is for, time negative, choosing described second abscissa.
Second aspect, the embodiment of the present invention provides the annotation equipment of a kind of threedimensional model metrical information, and described device includes:
First determines module, for determining the first specified point of currently displaying threedimensional model;
Second determines module, for the measurement graticule for described threedimensional model, based on described first specified point, described survey Second specified point and first preset length of amount graticule determine the first lead-in wire end points, and described first preset length is more than described first Greatest length between the border of specified point and described threedimensional model;
Generation module, for described second specified point as starting point, with described first lead-in wire end points as terminal, generates one-level Lead-in wire;
Labeling module, for going between based on described one-level, marks the metrical information that described measurement graticule is corresponding.
Alternatively, described second determines that module includes:
Set up unit, for described first specified point as zero, set up plane right-angle coordinate;
First determines unit, for determining that the second specified point of described measurement graticule is in described plane right-angle coordinate Subpoint;
Second determines unit, for based on described subpoint coordinate in described plane right-angle coordinate, determines described The first angle between line and the X-axis positive direction of described plane right-angle coordinate between zero and described subpoint;
3rd determines unit, for based on described first angle and described first preset length, determines described first lead-in wire End points.
Alternatively, described labeling module includes:
4th determines unit, for being second pre-by the distance in the positive axis of described X-axis and between described zero If the abscissa of the point of length is defined as the first abscissa, by the negative semiaxis of described X-axis and between described zero away from Abscissa from the point for described second preset length is defined as the second abscissa, and described second preset length is more than described first Preset length;
Choose unit, for based on described first lead-in wire end points, from described first abscissa and described second abscissa Choose an abscissa;
5th determines unit, for selected abscissa and described first are gone between end points at described plane rectangular coordinates Point indicated by vertical coordinate in system is defined as the second lead-in wire end points;
Signal generating unit, for described first lead-in wire end points as starting point, with described second lead-in wire end points as terminal, generates two Level lead-in wire;
Mark unit, for according to described two grades of lead-in wires, marks the metrical information that described measurement graticule is corresponding.
Alternatively, choose described in unit for:
Determine described first lead-in wire end points abscissa in described plane right-angle coordinate;
When described first lead-in wire end points abscissa in described plane right-angle coordinate is timing, choose described first horizontal Coordinate;
When described first lead-in wire end points abscissa in described plane right-angle coordinate is for time negative, choose described second horizontal Coordinate.
Alternatively, choose described in unit for:
Based on described first lead-in wire end points abscissa in described plane right-angle coordinate and vertical coordinate, determine described the The cosine value of one angle;
When described cosine value is timing, choose described first abscissa;
When described cosine value is for, time negative, choosing described second abscissa.
The technical scheme that the embodiment of the present invention provides has the benefit that
The method provided by the embodiment of the present invention, terminal can determine currently displaying three when showing threedimensional model First specified point of dimension module, for the measurement graticule of display in this threedimensional model, based on this first specified point, this measurement graticule The second specified point and the first preset length determine the first lead-in wire end points, and with this second specified point as starting point, first draw with this Line endpoints is terminal, generates one-level lead-in wire, thus goes between based on this one-level, marks the metrical information that this measurement graticule is corresponding.By In this first preset length more than greatest length between this first specified point and border of this threedimensional model, therefore this first draws The terminal of line is by the border beyond this threedimensional model, thus based on this first lead-in wire, can believe measuring measurement corresponding to graticule Breath is labeled in outside the border of this threedimensional model, it is to avoid metrical information and threedimensional model, and metrical information and metrical information Between block, the displaying clear and definite of metrical information, improve visual effect.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for From the point of view of those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other according to these accompanying drawings Accompanying drawing.
Fig. 1 is the mask method flow chart of a kind of threedimensional model metrical information that the embodiment of the present invention provides;
Fig. 2 A is the metrical information mark schematic diagram of a kind of threedimensional model that the embodiment of the present invention provides;
Fig. 2 B is the metrical information mark schematic diagram of a kind of threedimensional model that the embodiment of the present invention provides;
Fig. 2 C is the metrical information mark schematic diagram of a kind of threedimensional model that the embodiment of the present invention provides;
Fig. 2 D is the metrical information mark schematic diagram of a kind of threedimensional model that the embodiment of the present invention provides;
Fig. 2 E is the metrical information mark schematic diagram of a kind of threedimensional model that the embodiment of the present invention provides;
Fig. 2 F (a) is the metrical information mark schematic diagram of the threedimensional model before a kind of rotation that the embodiment of the present invention provides;
Fig. 2 F (b) is the metrical information mark schematic diagram of a kind of postrotational threedimensional model that the embodiment of the present invention provides;
Fig. 3 A is the structural representation of the annotation equipment of a kind of threedimensional model metrical information that the embodiment of the present invention provides;
Fig. 3 B is the structural representation that a kind of the second of embodiment of the present invention offer determines module 320;
Fig. 3 C is the structural representation of a kind of labeling module 340 that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of terminal 400 that the embodiment of the present invention provides.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Before the embodiment of the present invention is carried out detailed explanation, first the application scenarios of the embodiment of the present invention is given Introduce.The embodiment of the present invention provide method be applied in terminal, this terminal can be computer, smart mobile phone, panel computer, Notebook computer, Ultra-Mobile PC (English: Ultra-mobile Personal Computer, be called for short: UMPC), (English: Personal Digital Assistant is called for short: PDA) etc., the embodiment of the present invention for net book, personal digital assistant This is not limited.Further, this terminal at least has display function, is used for showing threedimensional model, and can be to shown Threedimensional model in spatial information measure, obtain metrical information, and in this threedimensional model, show this metrical information.Show Example, this terminal can show threedimensional model by image processing software, and surveys the spatial information in this threedimensional model Amount, this is not limited by the embodiment of the present invention.
Fig. 1 is the mask method flow chart of a kind of threedimensional model metrical information that the embodiment of the present invention provides, and sees Fig. 1, The method can include following several step:
Step 101: determine the first specified point of currently displaying threedimensional model.
Wherein, this threedimensional model can be the threedimensional model built by three-dimensional reconstruction, can be medical domain Threedimensional model, the threedimensional model of building field, the threedimensional model etc. of mechanical field, this is not limited by the embodiment of the present invention.Should First specified point of threedimensional model can be the arbitrfary point of this threedimensional model, this first specified point can by terminal default setting, Can also be by user setup, this is not limited by the embodiment of the present invention.Illustratively, terminal can be with this first specified point of default setting For the geometric center point of this threedimensional model, determine that the process of the geometric center point of this threedimensional model is referred to correlation technique, this This is repeated no more by inventive embodiments.Example, user can select any point of currently displaying threedimensional model as first Specified point, such as user select any point on currently displaying threedimensional model surface as the first specified point, or user select work as Any point within the threedimensional model of front display is as the first specified point, or user selects the geometry of currently displaying threedimensional model Central point (i.e. the central point of this threedimensional model) is as the first specified point.Preferably, this first specified point is this threedimensional model Geometric center point, when setting this first specified point geometric center point as this threedimensional model, mark this threedimensional model multiple not With when measuring the markup information of graticule, the length difference of its one-level lead-in wire is less, marks attractive in appearance, and rotates after this threedimensional model also Metrical information will not be caused to block.
Step 102: for the measurement graticule of display in this threedimensional model, based on this first specified point, this measurement graticule Second specified point and the first preset length determine the first lead-in wire end points, this first preset length more than this first specified point with this three Greatest length between the border of dimension module.
Wherein, this threedimensional model can show multiple measurement graticule, each measurement graticule in the plurality of measurement graticule Can be range measurement graticule, angular surveying graticule etc., and when this measurement graticule is range measurement graticule, this measurement graticule Second specified point can be the central point of this range measurement graticule, when this measurement graticule is angular surveying graticule, and this measurement mark Second specified point of line can be this angular surveying graticule summit.Certainly, this second specified point can be on this measurement graticule Any point, this is not limited by the embodiment of the present invention.This second specified point can be by terminal default setting, it is also possible to set by user Putting, this is not limited by the embodiment of the present invention.Wherein, it is preferred that when this measurement graticule is range measurement graticule, this measurement The central point that second specified point is this range measurement graticule of graticule, when this measurement graticule is angular surveying graticule, this measurement Second specified point of graticule is this angular surveying graticule summit.
In the embodiment of the present invention, each measurement graticule in the plurality of measurement graticule can be in this terminal based on this three-dimensional mould Type generates when receiving measurement instruction, and this measurement instruction can be range measurement instruction, angular surveying instruction etc..Such as, when this When terminal receives range measurement instruction based on this threedimensional model, range measurement graticule can be generated in this threedimensional model;When When this terminal receives angular surveying instruction based on this threedimensional model, angular surveying graticule can be generated in this threedimensional model.
Wherein, this measurement instruction can be triggered by user, and user can be triggered by assigned operation, and this assigned operation is permissible For clicking operation, slide, voice operating etc., this is not limited by the embodiment of the present invention.Such as, it is somebody's turn to do when user wants to measure In threedimensional model during distance between two locus, this two locus, now this terminal can be clicked on Receiving range measurement instruction, and draw line between these two locus, this line is range measurement graticule.
When this threedimensional model includes multiple measurement graticule, if directly marking the plurality of measurement in this threedimensional model The metrical information that graticule is corresponding, the information of will result in is blocked, and causes metrical information to be shown unintelligible, therefore, in order to the most clearly Mark the metrical information that the plurality of measurement graticule is corresponding, for multiple measurements of display in this threedimensional model in the embodiment of the present invention Each measurement graticule in graticule, can first preset based on this first specified point, the second specified point of this measurement graticule and first Length determines the first lead-in wire end points, in order to mark the metrical information that the plurality of measurement graticule is corresponding outside this threedimensional model.
Wherein, this first preset length can be by terminal default setting, it is also possible to by user setup, the embodiment of the present invention pair This does not limits.Example, when this first preset length of user setup, can be by clicking on appointing on this terminal display A bit, and then calculate user's click location to the length of line between this first specified point, the length of this line is set as the One preset length.Or, example, user can input this first preset length by the input equipment being connected with this terminal Length value.
Wherein, first is determined based on this first specified point, the second specified point of this measurement graticule and this first preset length Lead-in wire end points, that is to say, preset a length of first of the line in this plane right-angle coordinate and between this first specified point Length, and and this first specified point between line through the second specified point of this measurement graticule in this plane right-angle coordinate The point of subpoint, be defined as the first lead-in wire end points.
Such as, with reference to Fig. 2 A, geometric center point O that the first specified point is this threedimensional model of this threedimensional model, this geometry Greatest length between central point O and the border of this threedimensional model is the length of line OP, and the length of line OQ is more than line The length of OP, therefore can be defined as the first preset length by the length of line OQ, if this measurement graticule is range measurement graticule Ab, and the central point c that the second specified point is this range measurement graticule ab of this range measurement graticule ab, then this terminal can be based on This first specified point O, the length of the second specified point c and line OQ of this measurement graticule determine the first lead-in wire terminal A, i.e. this terminal By distance this central point O on the line oc between geometric center point O and the central point c of this measurement graticule ab of this threedimensional model Distance is that the some A of the first preset length OQ is defined as the first lead-in wire end points.
Wherein, first is determined based on this first specified point, the second specified point of this measurement graticule and this first preset length The process of lead-in wire end points, can include any one in the following manner:
In first kind of way, this terminal can set up plane right-angle coordinate with this first specified point as zero; Determine the second specified point of this measurement graticule subpoint in this plane right-angle coordinate;At this plane right-angle coordinate place Plane in, generate with this first specified point as the center of circle, with this first preset length imaginary circles as radius;With this first appointment Point is starting point, generates the ray through this subpoint, and the intersection point of this ray Yu this imaginary circles is defined as this first lead-in wire end points.
Wherein, this plane right-angle coordinate is standard flat rectangular coordinate system, that is to say, on the boundary that this terminal is currently displaying In face, horizontal direction is the X-axis of this plane right-angle coordinate, and horizontal right direction is X-axis positive direction, and vertical direction is that this is put down The Y-axis of face rectangular coordinate system, and direction is Y-axis positive direction straight up.
Wherein it is determined that the process of the subpoint that the second specified point of this measurement graticule is in this plane right-angle coordinate is permissible With reference to prior art, the embodiment of the present invention does not repeats them here, thus when with this first specified point three-dimensional space as zero Between X/Y axle in rectangular coordinate system overlapping with above-mentioned plane right-angle coordinate time, this second specified point is at this three dimensions right angle X-coordinate in coordinate system and Y coordinate, be this subpoint abscissa in this plane right-angle coordinate and vertical coordinate.
Wherein, this terminal can show this imaginary circles, it is also possible to hiding this imaginary circles, correspondingly, this terminal can show This ray, it is also possible to hiding this ray, this is not limited by the embodiment of the present invention.
In the second way, this terminal can set up plane right-angle coordinate with this first specified point as zero; Determine the second specified point of this measurement graticule subpoint in this plane right-angle coordinate;Straight in this plane based on this subpoint Coordinate in angle coordinate system, is just determining the X-axis of the line between this zero and this subpoint and this plane right-angle coordinate The first angle between direction;Based on this first angle and this first preset length, determine this first lead-in wire end points.
For example, with reference to Fig. 2 B, this terminal can set up plane as that shown in fig. 2 c with the first specified point O as zero Rectangular coordinate system XY, and determine the second specified point c of this measurement graticule ab subpoint c ' in this plane right-angle coordinate, from And determine between the line Oc ' between this zero O and this subpoint c ' and the X-axis positive direction of this plane right-angle coordinate First angle α, and based on this first angle α and the length of line OQ, determine this first lead-in wire terminal A, that is to say so that this seat Line OA between mark initial point O and this first lead-in wire terminal A is equal to the first angle α with the angle of X-axis positive direction, and ensures this company The length of the line OA length equal to line OQ.
Wherein, based on this subpoint coordinate in this plane right-angle coordinate, determine this zero and this subpoint Between line and the X-axis positive direction of this plane right-angle coordinate between the mode of the first angle may include that
1) with this zero as starting point, generate lead-in wire vector with this subpoint for terminal, calculate this lead-in wire vector and this X The first angle between axle positive direction.
2) according to the coordinate of this subpoint, this first angle is calculated according to angle calculation formula.
Such as, if the coordinate of subpoint be (x, y), then this first angle is that α can use below equation to calculate:
α = arccos x x 2 + y 2 .
Wherein, based on this first angle and this first preset length, determine that the process of this first lead-in wire end points may include that Based on this first angle and this first preset length, below equation is used to calculate abscissa and the vertical coordinate of the first lead-in wire end points, And the point indicated by the abscissa calculated and vertical coordinate is defined as the first lead-in wire end points:
x 1 = r cos α y 1 = r sin α ;
Wherein, x1It is the abscissa of the first lead-in wire end points, y1Being the vertical coordinate of the first lead-in wire end points, r is the first default length Degree, α is the first angle.
In the third mode, with this first specified point as zero, set up plane right-angle coordinate;Determine this measurement Second specified point of graticule subpoint in this plane right-angle coordinate;Based on this subpoint in this plane right-angle coordinate Coordinate, determine between the X-axis positive direction of the line between this zero and this subpoint and this plane right-angle coordinate First angle;In the plane at this plane right-angle coordinate place, generate with this first specified point as the center of circle, with this first preset The imaginary circles of a length of radius;With this zero as end points, generate between the X-axis positive direction of this plane right-angle coordinate Angle is the ray of this first angle, and the intersection point of this ray Yu this imaginary circles is defined as this first lead-in wire end points.
Wherein, based on this subpoint coordinate in this plane right-angle coordinate, determine this zero and this subpoint Between line and the X-axis positive direction of this plane right-angle coordinate between the process that realizes of the first angle be referred to above-mentioned Description in two kinds of modes, the embodiment of the present invention does not repeats them here.
Wherein, this terminal can show this imaginary circles, it is also possible to hiding this imaginary circles, correspondingly, this terminal can show This ray, it is also possible to hiding this ray, this is not limited by the embodiment of the present invention.
In the embodiment of the present invention, due to this first preset length more than this first specified point and this threedimensional model border it Between greatest length, therefore the circumference of this imaginary circles will fall outside the border of this threedimensional model, correspondingly, this first lead end Point also will fall outside the border of this threedimensional model;And, the first lead-in wire end points that different measuring graticule is corresponding can be according to the The subpoint of two specified points is the difference of position in this plane right-angle coordinate, and correspondence is arranged on the circumference of imaginary circles, namely It is that this terminal can match correspondingly the first lead-in wire end points according to this first angle so that all first lead-in wire end points are permissible In strict accordance with the angular distribution of corresponding first angle between 0 °-360 ° centered by this zero.
Step 103: with this second specified point as starting point, with this first lead-in wire end points as terminal, generates one-level lead-in wire.
That is to say, this terminal can generate line between this second specified point and this first lead-in wire end points, this second finger Line between fixed point and this first lead-in wire end points is this one-level lead-in wire.
Step 104: go between based on this one-level, marks the metrical information that this measurement graticule is corresponding.
In the embodiment of the present invention, this terminal can obtain this survey before marking the metrical information that this measurement graticule is corresponding The metrical information that amount graticule is corresponding, thus go between based on this one-level, mark the metrical information that this measurement graticule is corresponding.Wherein, obtain The process taking metrical information corresponding to this measurement graticule is referred to correlation technique, and this is repeated no more by the embodiment of the present invention.
Wherein, go between based on this one-level, mark the process of metrical information corresponding to this measurement graticule, can include with lower section Any one in formula:
In the first implementation, the end gone between in this one-level marks the metrical information that this measurement graticule is corresponding.
In the embodiment of the present invention, due to first lead-in wire end points fall outside the border of this threedimensional model, therefore based on this one Level lead-in wire, when marking metrical information corresponding to this measurement graticule, can be labeled in this metrical information outside threedimensional model, thus keep away Having exempted from blocking between metrical information and threedimensional model, and metrical information, information labeling is the most clear;And, by by Lead end point according to the size arranged counterclockwise of the first corresponding angle in imaginary circles so that between the first lead-in wire not There will be lead-in wire to intersect, information labeling instruction clearly, improves visual effect and Consumer's Experience.
Such as, as that shown in fig. 2 c in liver threedimensional model, the one-level lead-in wire generated by said method can be according to angle Angle value size arranges, and will not produce lead-in wire and intersect, and the terminal of all one-levels lead-in wire is distributed in this liver threedimensional model Outside an imaginary circles on, concrete, with reference to shown in Fig. 2 C, will be used for marking the one-level lead-in wire of metrical information A, B, C, D, E According to the big minispread of angle value, lead-in wire will not be produced and intersects, and the terminal of all one-levels lead-in wire to be distributed in the center of circle be the virtual of O On circle, all of metrical information A70.6mm, B38.36 °, C31.59mm, D55.58 °, E23.42mm be labeled in one-level lead-in wire end End, is positioned at outside the imaginary circles that the center of circle is O.
In the second implementation, the terminal gone between with this one-level, as starting point, generates two grades of lead-in wires, and according to these two grades Lead-in wire, marks the metrical information that this measurement graticule is corresponding.Example, metrical information corresponding for this measurement graticule can be labeled in The end of these two grades lead-in wires, or metrical information corresponding for this measurement graticule can be labeled in the upper end of these two grades lead-in wires, or Metrical information corresponding for this measurement graticule can be labeled in lower end of these two grades lead-in wires etc. by person, and the embodiment of the present invention is to this not Limit.Wherein, it is preferred that metrical information corresponding for this measurement graticule is labeled in the end of these two grades lead-in wires.Example, as Shown in Fig. 2 D, metrical information A, B, C, D, E are labeled in two grades of ends gone between.Example, as shown in Figure 2 E, by metrical information A, B, C, D, E be labeled in two grades lead-in wire upper ends, i.e. metrical information 70.6mm, 38.36 °, 31.59mm, 55.58 °, 23.42mm It is labeled in the place of the upper end near these two grades lead-in wires of two grades of lead-in wires.
Specifically, the distance in the positive axis of this X-axis and between this zero can be the second default length by this terminal The abscissa of point of degree is defined as the first abscissa, by the distance on the negative semiaxis of this X-axis and between this zero be this The abscissa of the point of two preset length is defined as the second abscissa, and this second preset length is more than this first preset length;Based on This first lead-in wire end points, chooses an abscissa from this first abscissa and this second abscissa;By selected abscissa It is defined as the second lead-in wire end points with the point indicated by this first lead-in wire end points vertical coordinate in this plane right-angle coordinate;With this First lead-in wire end points is starting point, with this second lead-in wire end points as terminal, generates two grades of lead-in wires;End mark at these two grades lead-in wires The metrical information that this measurement graticule is corresponding.
Wherein, this second preset length can be by terminal default setting, it is also possible to by user setup, the embodiment of the present invention pair This does not limits.And owing to this second preset length is more than this first preset length, therefore this second lead-in wire end points will fall at this Imaginary circles is peripheral.Example, when this second preset length of user setup, can by click on this terminal display this three Any point outside dimension module, and then terminal calculates user's click location to line projection in X-axis between this first specified point Length, is set as the second preset length by this line projected length in X-axis.Or, example, user can by with this The input equipment that terminal is connected inputs the length value of this second preset length.
Wherein, based on this first lead-in wire end points, from this first abscissa and this second abscissa, choose an abscissa, That is to say according to this first lead-in wire end points position in this plane right-angle coordinate, from this first abscissa and this second horizontal seat Mark is chosen an abscissa, when this first lead-in wire end points plane at the positive axis place of the X-axis of this plane right-angle coordinate Time, the first abscissa can be chosen from this first abscissa and this second abscissa, and when this first lead-in wire end points is put down at this During the plane at the negative semiaxis place of the X-axis of face rectangular coordinate system, can choose from this first abscissa and this second abscissa Second abscissa.
Specifically, based on this first lead-in wire end points, from this first abscissa and this second abscissa, a horizontal seat is chosen Target process, can include any one in the following manner:
1) this first lead-in wire end points abscissa in this plane right-angle coordinate is determined;When this first lead-in wire end points is at this Abscissa in plane right-angle coordinate is timing, chooses this first abscissa;When this first lead-in wire end points is at this flat square Abscissa in coordinate system is for, time negative, choosing this second abscissa.
Such as, with this first abscissa for 50, as a example by this second abscissa is-50, if this first lead-in wire end points is put down at this Abscissa in the rectangular coordinate system of face is 40, represents this first lead-in wire end points positive axis in the X-axis of this plane right-angle coordinate The plane at place, then this terminal can choose this first abscissa 50, if this first lead-in wire end points is at this plane right-angle coordinate In abscissa be-40, represent this first lead-in wire the end points plane at the negative semiaxis place of the X-axis of this plane right-angle coordinate, Then this terminal can choose this second abscissa-40.
2) based on this first lead-in wire end points abscissa in this plane right-angle coordinate and vertical coordinate, this first folder is determined Cosine of an angle value;When this cosine value is timing, choose this first abscissa;When this cosine value is for, time negative, choosing this second horizontal seat Mark.
Such as, if this first lead-in wire end points coordinate in this plane right-angle coordinate be (x, y), this first angle is α, Then the cosine value cos α of this first angle α can use below equation to calculate:
cos α = x x 2 + y 2 ;
According to cosine rule it is known that when this cosine value cos α is timing, can represent that this first lead-in wire end points is at this The plane at the positive axis place of the X-axis of plane right-angle coordinate, then this terminal can choose this first abscissa, when this cosine value Cos α, for time negative, can represent this first lead-in wire end points plane at the negative semiaxis place of the X-axis of this plane right-angle coordinate, then This terminal can choose this second abscissa.
3) during above-mentioned generation one-level goes between, when this terminal generates one by the second way or the third mode During level lead-in wire, this terminal can also precalculate and store the cosine value of this first angle during generating one-level lead-in wire, Thus during generating two grades of lead-in wires, directly obtain the cosine value of this first angle;When this cosine value is timing, choose this First abscissa;When this cosine value is for, time negative, choosing this second abscissa.
Such as, this terminal can above-mentioned generation one-level go between during, based on this subpoint at this flat square Coordinate in coordinate system, determines that the line between this zero and this subpoint is square with the X-axis of this plane right-angle coordinate After the first angle between to, calculate the cosine value of this first angle, and store the cosine value of this first angle, afterwards, should Terminal can directly obtain the cosine value of this first angle during generating two grades of lead-in wires.So, this terminal can be saved Operand, improves the efficiency of mark metrical information.
In the embodiment of the present invention, by generating two grades of lead-in wires in one-level on the basis of going between, one-level lead-in wire can be drawn Both sides to threedimensional model so that lead-in wire arrangement is more regular, points to the clearest and the most definite, it is to avoid if one-level lead-in wire is the most possible " Rrinaceus earopaeus " phenomenon that can be formed around threedimensional model, that is to say, around threedimensional model, all angles all exist intensive one-level Lead-in wire, the lead-in wire caused is mixed and disorderly, be difficult to clearly distinguish the problem of lead-in wire sensing, and, according to these two grades of these surveys of leader The metrical information that amount graticule is corresponding, can be labeled in metrical information in the appointment region outside threedimensional model, rather than be labeled in In arbitrary region outside threedimensional model, it is to avoid metrical information is arranged the most intensive problem around threedimensional model so that The mark of metrical information is relatively sharp to be understood, further increases display effect.
Such as, in liver threedimensional model as shown in Figure 2 D, the two grades of lead-in wires generated by said method are respectively directed to this The left side of threedimensional model and right side, and the abscissa being distributed in two grades of lead-in wire terminals in left side is the most identical, is distributed in the two of right side The abscissa of level lead-in wire terminal is the most identical, and neat at the metrical information arrangement regulation of these two grades of lead terminal marks, instruction is clear Clearly, visual effect is more excellent.
It should be noted that prior art is typically only capable to the static mark simply gone between threedimensional model, namely It is from threedimensional model, optionally do not draw lead-in wire, and the position of the metrical information going between and being marked drawn according to angle Put fixing, it is impossible to follow the dynamically change of threedimensional model and make and correspondingly adjusting, even if in the most currently displaying threedimensional model not The problem that lead-in wire intersects occurs, and after threedimensional model occurrence dynamics changes, the lead-in wire before generated is likely to there will be lead-in wire The problem intersected, causes information instruction indefinite.
And in the embodiment of the present invention, when this threedimensional model occurrence dynamics changes, during as rotated or translating, this terminal also may be used Again to generate lead-in wire according to the measurement graticule of display in this threedimensional model, and based on this measurement mark of the leader regenerated The metrical information that line is corresponding, wherein this lead-in wire can be that one-level goes between or one-level goes between and two grades of lead-in wires.That is to say, this is eventually End can be redistributed the lead-in wire of this threedimensional model along with the dynamic change of threedimensional model, and dynamically change the mark of metrical information Note, during so that user interacts operation to this threedimensional model, the lead-in wire of this threedimensional model and metrical information all can be in Reveal and the most reasonably show.
Include as a example by one-level lead-in wire and two grades of lead-in wires by this lead-in wire, when this threedimensional model occurrence dynamics under the operation of user During change, the coordinate of second specified point measuring graticule of this threedimensional model also will change, correspondingly, and this second specified point The first angle between subpoint and X-axis in plane right-angle coordinate also will change, and the change of the first angle is also I.e. can cause the first lead-in wire end points and the second lead-in wire the redistributing of end points, then this terminal can be deleted original one-level and drawn Line, two grades of lead-in wires and the metrical information of mark, and generate new one-level lead-in wire and two grades of lead-in wires based on the first angle after change, The metrical information that this measurement graticule is corresponding is marked in two grades of newly-generated lead terminal.
Such as, after user carries out rotation process to the liver threedimensional model in Fig. 2 F (a), this terminal will show such as Fig. 2 F Liver threedimensional model shown in (b), and by the method shown in the embodiment of the present invention, the liver threedimensional model shown in Fig. 2 F (b) Lead-in wire and the position of metrical information also will change, i.e. Fig. 2 F (a) metrical information A, the labeling position of B, C, D, E become figure Metrical information A shown in 2F (b), the labeling position of B, C, D, E.Concrete, as shown in Fig. 2 F (a) and Fig. 2 F (b), Fig. 2 F The center of circle of imaginary circles at the end points place of metrical information A in (a), the one-level corresponding to B, C, D, E lead-in wire and radius respectively with The center of circle of the imaginary circles at the end points place of metrical information A in Fig. 2 F (b), the one-level corresponding to B, C, D, E lead-in wire and radius phase With, metrical information A in Fig. 2 F (a), the absolute value of the abscissa of the end points of two grades of lead terminal corresponding to B, C, D, E and figure Metrical information A in 2F (b), two grades of lead terminal corresponding to B, C, D, E the absolute value of abscissa of end points identical.
In sum, the method provided by the embodiment of the present invention, terminal can determine current when showing threedimensional model First specified point of the threedimensional model of display, for each measurement mark in multiple measurement graticules of display in this threedimensional model Line, determines the first lead-in wire end points based on this first specified point, the second specified point of this measurement graticule and the first preset length, and with This second specified point is starting point, with this first lead-in wire end points as terminal, generates one-level lead-in wire, thus goes between based on this one-level, mark Note the metrical information that this measurement graticule is corresponding.Owing to this first preset length is more than the limit of this first specified point with this threedimensional model Greatest length between boundary, therefore this first lead-in wire end points is by the border beyond this threedimensional model, thus goes between based on this one-level, Outside can measuring metrical information corresponding to graticule and be labeled in the border of this threedimensional model, it is to avoid metrical information and three-dimensional mould Blocking between type, and metrical information and metrical information, the displaying clear and definite of metrical information, improve visual effect.
Fig. 3 A is the structural representation of the annotation equipment of a kind of threedimensional model metrical information that the embodiment of the present invention provides, ginseng Seeing Fig. 3 A, this device may include that
First determines module 310, for determining the first specified point of currently displaying threedimensional model;
Second determines module 320, for for the measurement graticule in this threedimensional model, based on this first specified point, this survey Second specified point and first preset length of amount graticule determine the first lead-in wire end points, and this first preset length is more than this first appointment Greatest length between point and the border of this threedimensional model;
Generation module 330, for this second specified point as starting point, with this first lead-in wire end points as terminal, generates one-level Lead-in wire;
Labeling module 340, for going between based on this one-level, marks the metrical information that this measurement graticule is corresponding.
Alternatively, seeing Fig. 3 B, this second determines that module 320 includes:
Set up unit 321, for this first specified point as zero, set up plane right-angle coordinate;
First determines unit 322, for determining that the second specified point of this measurement graticule is in this plane right-angle coordinate Subpoint;
Second determines unit 323, for based on this subpoint coordinate in this plane right-angle coordinate, determining this coordinate The first angle between line and the X-axis positive direction of this plane right-angle coordinate between initial point and this subpoint;
3rd determines unit 324, for based on described first angle and described first preset length, determines that described first draws Line endpoints.
Alternatively, seeing Fig. 3 C, this labeling module 340 includes:
4th determines unit 341, for being second to preset by the distance in the positive axis of this X-axis and between this zero The abscissa of the point of length is defined as the first abscissa, by the distance on the negative semiaxis of this X-axis and between this zero for being somebody's turn to do The abscissa of the point of the second preset length is defined as the second abscissa, and this second preset length is more than this first preset length;
Choose unit 342, for based on this first lead-in wire end points, choosing from this first abscissa and this second abscissa One abscissa;
5th determines unit 343, for by selected abscissa and this first lead-in wire end points at this plane rectangular coordinates Point indicated by vertical coordinate in system is defined as the second lead-in wire end points;
Signal generating unit 344, for this first lead-in wire end points as starting point, with this second lead-in wire end points as terminal, generates two Level lead-in wire;
Mark unit 345, for the metrical information corresponding according to this two grades of these measurement graticules of leader.
Alternatively, this choose unit 342 for:
Determine this first lead-in wire end points abscissa in this plane right-angle coordinate;
When this first lead-in wire end points abscissa in this plane right-angle coordinate is timing, choose this first abscissa;
When this first lead-in wire end points abscissa in this plane right-angle coordinate is for, time negative, choosing this second abscissa.
Alternatively, this choose unit 342 for:
Based on this first lead-in wire end points abscissa in this plane right-angle coordinate and vertical coordinate, determine this first angle Cosine value;
When this cosine value is timing, choose this first abscissa;
When this cosine value is for, time negative, choosing this second abscissa.
The device provided by the embodiment of the present invention, terminal can determine currently displaying three when showing threedimensional model First specified point of dimension module, for the measurement graticule of display in this threedimensional model, based on this first specified point, this measurement graticule The second specified point and the first preset length determine the first lead-in wire end points, and with this second specified point as starting point, first draw with this Line endpoints is terminal, generates one-level lead-in wire, thus goes between based on this one-level, marks the metrical information that this measurement graticule is corresponding.By In this first preset length more than greatest length between this first specified point and border of this threedimensional model, therefore this first draws Line endpoints is by the border beyond this threedimensional model, thus goes between based on this one-level, metrical information that can be corresponding by measuring graticule Be labeled in outside the border of this threedimensional model, it is to avoid metrical information and threedimensional model, and metrical information and metrical information it Between block, the displaying clear and definite of metrical information, improve visual effect.
It should be understood that the mask method of the threedimensional model metrical information of above-described embodiment offer is in mark metrical information Time, only it is illustrated with the division of above-mentioned each functional module, in actual application, can as desired above-mentioned functions be divided Join and completed by different functional modules, the internal structure of equipment will be divided into different functional modules, to complete above description All or part of function.It addition, the annotation equipment of the metrical information of above-described embodiment offer and threedimensional model metrical information Mask method embodiment belong to same design, it implements process and refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can pass through hardware Completing, it is also possible to instruct relevant hardware by program and complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read only memory, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.
Fig. 4 is the structural representation of a kind of terminal 400 that the embodiment of the present invention provides.Such as, terminal 400 can be mobile Phone, computer or panel computer etc..
With reference to Fig. 4, terminal 400 can include following one or more assembly: processes assembly 402, memorizer 404, power supply Assembly 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of input/output (I/O), sensor cluster 414, and Communications component 416.
Process assembly 402 and generally control the integrated operation of terminal 400, such as with display, call, data communication, phase The operation that machine operation and record operation are associated.Process assembly 402 and can include that one or more processor 420 performs to refer to Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 402 can include one or more module, just Mutual in process between assembly 402 and other assemblies.Such as, process assembly 402 and can include multi-media module, many to facilitate Media component 408 and process between assembly 402 mutual.
Memorizer 404 is configured to store various types of data to support the operation in terminal 400.Showing of these data Example includes any application program for operation in terminal 400 or the instruction of method, contact data, telephone book data, disappears Breath, picture, video etc..Memorizer 404 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable compile Journey read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash Device, disk or CD.
The various assemblies that power supply module 406 is terminal 400 provide power supply.Power supply module 406 can include power management system System, one or more power supplys, and other generate, manage and distribute, with for terminal 400, the assembly that power supply is associated.
The screen of one output interface of offer that multimedia groupware 408 is included between described terminal 400 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensing Device is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sense touch or sliding action Border, but also detect the persistent period relevant to described touch or slide and pressure.In certain embodiments, many matchmakers Body assembly 408 includes a front-facing camera and/or post-positioned pick-up head.When terminal 400 is in operator scheme, such as screening-mode or During video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each front-facing camera and Post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 410 is configured to output and/or input audio signal.Such as, audio-frequency assembly 410 includes a Mike Wind (MIC), when terminal 400 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike is joined It is set to receive external audio signal.The audio signal received can be further stored at memorizer 404 or via communication set Part 416 sends.In certain embodiments, audio-frequency assembly 410 also includes a speaker, is used for exporting audio signal.
I/O interface 412 provides interface for processing between assembly 402 and peripheral interface module, above-mentioned peripheral interface module can To be keyboard, put striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and lock Set button.
Sensor cluster 414 includes one or more sensor, for providing the state of various aspects to comment for terminal 400 Estimate.Such as, what sensor cluster 414 can detect terminal 400 opens/closed mode, the relative localization of assembly, such as described Assembly is display and the keypad of terminal 400, and sensor cluster 414 can also detect terminal 400 or 400 1 assemblies of terminal Position change, the presence or absence that user contacts with terminal 400, terminal 400 orientation or acceleration/deceleration and terminal 400 Variations in temperature.Sensor cluster 414 can include proximity transducer, is configured to when not having any physical contact detect The existence of neighbouring object.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, is used for becoming Use as in application.In certain embodiments, this sensor cluster 414 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 416 is configured to facilitate the communication of wired or wireless mode between terminal 400 and other equipment.Terminal 400 can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.An exemplary enforcement In example, communication component 416 receives the broadcast singal from external broadcasting management system or broadcast related information via broadcast channel. In one exemplary embodiment, described communications component 416 also includes near-field communication (NFC) module, to promote junction service.Example As, can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, Bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, terminal 400 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realize, be used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction, example are additionally provided As included the memorizer 404 of instruction, above-mentioned instruction can have been performed said method by the processor 420 of terminal 400.Such as, Described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is by the process of terminal 400 When device performs so that terminal 400 is able to carry out the threedimensional model metrical information mask method of above-described embodiment, and it implemented Journey refers to said method embodiment, repeats no more here.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;To the greatest extent The present invention has been described in detail by pipe with reference to foregoing embodiments, it will be understood by those within the art that: it depends on So the technical scheme described in foregoing embodiments can be modified, or the most some or all of technical characteristic is entered Row equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology The scope of scheme.

Claims (10)

1. the mask method of a threedimensional model metrical information, it is characterised in that described method includes:
Determine the first specified point of currently displaying threedimensional model;
For the measurement graticule of described threedimensional model, based on described first specified point, the second specified point of described measurement graticule and First preset length determines the first lead-in wire end points, and described first preset length is more than described first specified point and described threedimensional model Border between greatest length;
With described second specified point as starting point, with described first lead-in wire end points as terminal, generate one-level lead-in wire;
Go between based on described one-level, mark the metrical information that described measurement graticule is corresponding.
Method the most according to claim 1, it is characterised in that described based on described first specified point, described measurement graticule The second specified point and the first preset length with described first specified point as starting point determine the first lead-in wire end points, including:
With described first specified point as zero, set up plane right-angle coordinate;
Determine the second specified point of described measurement graticule subpoint in described plane right-angle coordinate;
Based on described subpoint coordinate in described plane right-angle coordinate, determine described zero and described subpoint it Between line and the X-axis positive direction of described plane right-angle coordinate between the first angle;
Based on described first angle and described first preset length, determine described first lead-in wire end points.
Method the most according to claim 1 and 2, it is characterised in that described go between based on described one-level, marks described measurement The metrical information that graticule is corresponding, including:
The abscissa of the point that the distance in the positive axis of described X-axis and between described zero is the second preset length is determined It is the first abscissa, is described second preset length by the distance on the negative semiaxis of described X-axis and between described zero The abscissa of point is defined as the second abscissa, and described second preset length is more than described first preset length;
Based on described first lead-in wire end points, from described first abscissa and described second abscissa, choose an abscissa;
Indicated by selected abscissa and described first lead-in wire end points vertical coordinate in described plane right-angle coordinate Point is defined as the second lead-in wire end points;
With described first lead-in wire end points as starting point, with described second lead-in wire end points as terminal, generate two grades of lead-in wires;
According to described two grades of lead-in wires, mark the metrical information that described measurement graticule is corresponding.
Method the most according to claim 3, it is characterised in that described based on described first lead-in wire end points, from described first Abscissa and described second abscissa choose an abscissa, including:
Determine described first lead-in wire end points abscissa in described plane right-angle coordinate;
When described first lead-in wire end points abscissa in described plane right-angle coordinate is timing, choose described first horizontal seat Mark;
When described first goes between end points abscissa in described plane right-angle coordinate for, time negative, choosing described second horizontal seat Mark.
Method the most according to claim 3, it is characterised in that described based on described first lead-in wire end points, from described first Abscissa and described second abscissa choose an abscissa, including:
Based on described first lead-in wire end points abscissa in described plane right-angle coordinate and vertical coordinate, determine described first folder Cosine of an angle value;
When described cosine value is timing, choose described first abscissa;
When described cosine value is for, time negative, choosing described second abscissa.
6. the annotation equipment of a threedimensional model metrical information, it is characterised in that described device includes:
First determines module, for determining the first specified point of currently displaying threedimensional model;
Second determines module, for the measurement graticule for described threedimensional model, based on described first specified point, described measurement mark Second specified point of line and the first preset length determine the first lead-in wire end points, and described first preset length is specified more than described first Greatest length between point and the border of described threedimensional model;
Generation module, for described second specified point as starting point, with described first lead-in wire end points as terminal, generates one-level and draws Line;
Labeling module, for going between based on described one-level, marks the metrical information that described measurement graticule is corresponding.
Device the most according to claim 6, it is characterised in that described second determines that module includes:
Set up unit, for described first specified point as zero, set up plane right-angle coordinate;
First determines unit, is used for the second specified point determining described measurement graticule projection in described plane right-angle coordinate Point;
Second determines unit, for based on described subpoint coordinate in described plane right-angle coordinate, determining described coordinate The first angle between line and the X-axis positive direction of described plane right-angle coordinate between initial point and described subpoint;
3rd determines unit, for based on described first angle and described first preset length, determines described first lead-in wire end points.
8. according to the device described in claim 6 or 7, it is characterised in that described labeling module includes:
4th determines unit, and being used for the distance in the positive axis of described X-axis and between described zero is the second default length The abscissa of the point of degree is defined as the first abscissa, by the distance on the negative semiaxis of described X-axis and between described zero is The abscissa of the point of described second preset length is defined as the second abscissa, and described second preset length is preset more than described first Length;
Choose unit, for based on described first lead-in wire end points, choosing from described first abscissa and described second abscissa One abscissa;
5th determines unit, for selected abscissa and described first are gone between end points in described plane right-angle coordinate The point indicated by vertical coordinate be defined as the second lead-in wire end points;
Signal generating unit, for described first lead-in wire end points as starting point, with described second lead-in wire end points as terminal, generates two grades and draws Line;
Mark unit, for according to described two grades of lead-in wires, marks the metrical information that described measurement graticule is corresponding.
Device the most according to claim 8, it is characterised in that described in choose unit for:
Determine described first lead-in wire end points abscissa in described plane right-angle coordinate;
When described first lead-in wire end points abscissa in described plane right-angle coordinate is timing, choose described first horizontal seat Mark;
When described first goes between end points abscissa in described plane right-angle coordinate for, time negative, choosing described second horizontal seat Mark.
Device the most according to claim 8, it is characterised in that described in choose unit for:
Based on described first lead-in wire end points abscissa in described plane right-angle coordinate and vertical coordinate, determine described first folder Cosine of an angle value;
When described cosine value is timing, choose described first abscissa;
When described cosine value is for, time negative, choosing described second abscissa.
CN201610389487.6A 2016-06-03 2016-06-03 Method and device for labeling three-dimensional model measurement information Active CN106097428B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610389487.6A CN106097428B (en) 2016-06-03 2016-06-03 Method and device for labeling three-dimensional model measurement information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610389487.6A CN106097428B (en) 2016-06-03 2016-06-03 Method and device for labeling three-dimensional model measurement information

Publications (2)

Publication Number Publication Date
CN106097428A true CN106097428A (en) 2016-11-09
CN106097428B CN106097428B (en) 2022-07-12

Family

ID=57447400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610389487.6A Active CN106097428B (en) 2016-06-03 2016-06-03 Method and device for labeling three-dimensional model measurement information

Country Status (1)

Country Link
CN (1) CN106097428B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106814855A (en) * 2017-01-13 2017-06-09 山东师范大学 A kind of 3-D view based on gesture identification checks method and system
CN108121863A (en) * 2017-12-13 2018-06-05 机械工业第六设计研究院有限公司 Creation method, device, equipment and the computer readable storage medium of pipeline label
CN110750613A (en) * 2019-10-28 2020-02-04 高晓雷 Map marking method for marking position and positioning in all-digital form by taking city as center
CN112506499A (en) * 2020-12-04 2021-03-16 合肥工业大学 Method for automatically arranging measurement software labels
CN112836302A (en) * 2021-03-04 2021-05-25 江南造船(集团)有限责任公司 Three-dimensional labeling method and system for ship wood cabin model based on 3DEXP platform

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080137927A1 (en) * 2006-12-08 2008-06-12 Andres Claudio Altmann Coloring electroanatomical maps to indicate ultrasound data acquisition
CN101561831A (en) * 2008-04-16 2009-10-21 鸿富锦精密工业(深圳)有限公司 Spare part outside measurement computing system and method
CN102982238A (en) * 2012-11-13 2013-03-20 深圳市环球博洋机电科技有限公司 Three-dimensional kidney neoplasm surgery simulation method and platform based on computed tomography (CT) film
CN103093045A (en) * 2013-01-10 2013-05-08 浙江工业大学 Interactive product configuration platform
US8473256B2 (en) * 2008-11-04 2013-06-25 Airbus Operations Gmbh System and method for providing a digital three-dimensional data model
CN103310489A (en) * 2013-06-24 2013-09-18 中南大学 Three-dimensional model interactive method based on dynamitic depth hierarchy structure
CN103473274A (en) * 2013-08-22 2013-12-25 中国电子科技集团公司第三十八研究所 Method of constructing machining three-dimensional technological process card
CN103678847A (en) * 2012-09-24 2014-03-26 邵雁 Skin soft tissue expanding auxiliary system
CN103838933A (en) * 2014-03-18 2014-06-04 湖南大学 Three-dimensional model integrating and labeling method based on digital technology
CN105303604A (en) * 2015-10-19 2016-02-03 中国科学院软件研究所 Measuring method and system for single-side osteal damage of human body

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080137927A1 (en) * 2006-12-08 2008-06-12 Andres Claudio Altmann Coloring electroanatomical maps to indicate ultrasound data acquisition
CN101561831A (en) * 2008-04-16 2009-10-21 鸿富锦精密工业(深圳)有限公司 Spare part outside measurement computing system and method
US8473256B2 (en) * 2008-11-04 2013-06-25 Airbus Operations Gmbh System and method for providing a digital three-dimensional data model
CN103678847A (en) * 2012-09-24 2014-03-26 邵雁 Skin soft tissue expanding auxiliary system
CN102982238A (en) * 2012-11-13 2013-03-20 深圳市环球博洋机电科技有限公司 Three-dimensional kidney neoplasm surgery simulation method and platform based on computed tomography (CT) film
CN103093045A (en) * 2013-01-10 2013-05-08 浙江工业大学 Interactive product configuration platform
CN103310489A (en) * 2013-06-24 2013-09-18 中南大学 Three-dimensional model interactive method based on dynamitic depth hierarchy structure
CN103473274A (en) * 2013-08-22 2013-12-25 中国电子科技集团公司第三十八研究所 Method of constructing machining three-dimensional technological process card
CN103838933A (en) * 2014-03-18 2014-06-04 湖南大学 Three-dimensional model integrating and labeling method based on digital technology
CN105303604A (en) * 2015-10-19 2016-02-03 中国科学院软件研究所 Measuring method and system for single-side osteal damage of human body

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周秋忠等: "基于三维标注技术的数字化产品定义方法", 《机械设计》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106814855A (en) * 2017-01-13 2017-06-09 山东师范大学 A kind of 3-D view based on gesture identification checks method and system
CN108121863A (en) * 2017-12-13 2018-06-05 机械工业第六设计研究院有限公司 Creation method, device, equipment and the computer readable storage medium of pipeline label
CN108121863B (en) * 2017-12-13 2021-03-12 机械工业第六设计研究院有限公司 Method, device and equipment for creating pipeline label and computer readable storage medium
CN110750613A (en) * 2019-10-28 2020-02-04 高晓雷 Map marking method for marking position and positioning in all-digital form by taking city as center
CN110750613B (en) * 2019-10-28 2021-05-04 高晓雷 Map marking method for marking position and positioning in all-digital form by taking city as center
CN112506499A (en) * 2020-12-04 2021-03-16 合肥工业大学 Method for automatically arranging measurement software labels
CN112506499B (en) * 2020-12-04 2022-09-30 合肥工业大学 Method for automatically arranging measurement software tags
CN112836302A (en) * 2021-03-04 2021-05-25 江南造船(集团)有限责任公司 Three-dimensional labeling method and system for ship wood cabin model based on 3DEXP platform
CN112836302B (en) * 2021-03-04 2022-11-15 江南造船(集团)有限责任公司 Three-dimensional labeling method and system for ship wood cabin model based on 3DEXP platform

Also Published As

Publication number Publication date
CN106097428B (en) 2022-07-12

Similar Documents

Publication Publication Date Title
CN106097428A (en) The mask method of threedimensional model metrical information and device
US11231845B2 (en) Display adaptation method and apparatus for application, and storage medium
US10969949B2 (en) Information display device, information display method and information display program
EP3163401A1 (en) Mobile terminal and control method thereof
KR101657234B1 (en) Method, device, program and storage medium for displaying picture
CN105447462B (en) Face pose estimation and device
CN106325521B (en) Test virtual reality head shows the method and device of device software
US20130342483A1 (en) Apparatus including a touch screen and screen change method thereof
CN107576321A (en) Determine the method, device and mobile terminal of magnetic azimuth
CN114125320B (en) Method and device for generating special effects of image
CN109285126A (en) Image processing method and device, electronic equipment and storage medium
CN107656666A (en) Mobile terminal and rolling speed determine method
CN109544458B (en) Fisheye image correction method, device and storage medium thereof
CN105513137A (en) Three dimensional model and scene creating method and apparatus based on mobile intelligent terminal
CN109496293A (en) Extend content display method, device, system and storage medium
CN111914693A (en) Face posture adjusting method, system, device, equipment and medium
CN106095300A (en) Playing progress rate method of adjustment and device
CN104063053B (en) Method for displaying image, device and electronic equipment
GB2553939B (en) Systems and methods for determining an angle of rotation of an asymmetric lens
CN107007999A (en) A kind of method and device for obtaining motion state
CN109521938A (en) Determination method, apparatus, electronic equipment and the storage medium of data evaluation information
CN106289161A (en) Height measurement method and device
CN102918797B (en) There is information communication device and the identification display method of this equipment execution of mark display function
CN106791391A (en) The control method of rotatable camera, device and mobile terminal
CN116112744A (en) Video processing method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant