This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2016-053160, filed on Mar. 16, 2016, the entire contents of which are incorporated herein by reference.
The embodiment discussed herein is related to a three-dimensional measurement system and a three-dimensional measurement method.
Techniques have been available to visualize an object created through three-dimensional computer aided design (CAD). For example, two methods have been used to measure the length of a visualized object. In a first method, a measurement point is specified by moving a pointer to a location of a virtual object for measurement using a device, such as a mouse, a distance across the virtual object is calculated, and then measurement results are displayed. In a second method, a measurement device, such as a tape measure is overlaid on a visualized virtual object to check the scale of the tape measure.
Japanese Laid-open Patent Publication No. 11-25290 discloses a visualization technique. According to the disclosure, a human model is displayed in a three-dimensional simulation space, and a distance between any two points in the simulation space is measured by moving the human model. Along with the motion of the human model, an expandable measure is displayed on a real-time basis.
Japanese Laid-open Patent Publication No. 10-170227 discloses a technique of combining multiple images that are output from a stereo camera. The images are captured from different points of view by the stereo camera and have an overlapping field of vision. More specifically, according to the disclosure, a magnification and parallax of a measure serving as a reference in measuring an object are calculated in response to parallax between multiple corresponding points on captured multiple images in an object region, multiple measure images are generated in accordance with the calculated magnification and parallax, and the measure images and captured multiple images are combined.
Japanese Laid-open Patent Publication No. 6-241754 discloses another visualization technique. According to the disclosure, a real object is photographed using a three-dimensional camera that switches between left and right lens systems with a predetermined period, and a reproduced image of the object is observed through glasses that have left and right liquid-crystal shutters that are switched in synchronization with the switching period of the three-dimensional camera. More specifically, position coordinates of each location in a virtual object presented in a virtual space are detected by specifying each location in the virtual object, and detected position coordinate data and an imaging magnification are input to calculate dimensions of the real object.
Japanese Laid-open Patent Publication No. 8-179883 discloses a technique of specifying a direction of depth using a three-dimensional mouse. Japanese Laid-open Patent Publication No. 8-211979 discloses a hand-gesture input device that inputs information by inputting a hand trajectory. In the disclosed hand-gesture input device, a charge-coupled device (CCD) camera inputs information of a hand motion therein, position coordinates of the hand are detected from the input information, a change in the shape of the hand is determined from the input information, and detected input position coordinates are thus input in an input mode responsive to the determination results.
According to an aspect of the invention, a computer-readable non-transitory recording medium storing a program that causes a computer to execute a procedure, the procedure includes: storing, on a memory, information for representing a correspondence between a reference position of a real first measurement device that is present in a predetermined space, and a reference position of a virtual second measurement device that is three-dimensionally visualized in the predetermined space and is able to measure a virtual object that is three-dimensionally visualized in the predetermined space; calculating two end positions of the virtual second measurement device corresponding to two end positions of the real first measurement device applied to the virtual object, by referencing the information stored on the memory; calculating a distance between the two ends of the virtual second measurement device, based on the two end positions of the virtual second measurement device calculated; and displaying, on a predetermined device, the distance calculated.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed.
In the related art, intuitively specifying a measurement point on a visualized measurement target is difficult because an operation to move a pointer of a device, such as a mouse, in the direction of depth is difficult.
A technique of an embodiment that enables a distance between two points on a measurement target to be measured by an intuitive operation is described in detail with reference to the attached drawings.
The predetermined space is a real space, and is defined in the three-dimensional orthogonal coordinate system having X, Y, and Z axes. The object 103 may be a product, a component, a prototype of the product, a prototype of the component, or a mockup of a building.
Two methods have been available to measure a visualized virtual object in the related art. In a first method, a measurement point is specified by moving a pointer to a location of a virtual object for measurement using a device, such as a mouse, a distance across the virtual object is calculated, and then measurement results are displayed. In a second method, a measurement device, such as a tape measure is overlaid on a visualized virtual object to check the scale of the tape measure.
In the first method, a user may intuitively move the pointer of the device, such as a mouse, in two directions, such as a vertical direction or a horizontal direction. However, the user has difficulty in moving the pointer in a direction of depth. The user has also difficulty in specifying the measurement point with respect to the object 103 that is a visualized measurement target. As described above, the method of specifying the direction of depth using a three-dimensional mouse is available in the related art. However, since a particular operation to specify the direction of depth is to be used, it is difficult for the user to intuitively and quickly specify the measurement point.
The second method allows the user to intuitively and quickly measure. However, when the user specifies the position of a surface, a specified point may pass through a shape of the surface because of the virtual object. The user has thus difficulty in specifying accurately a desired measurement location. With reference to
In the embodiment, a distance is measured between two points of a virtual tape measure corresponding to two points of a real tape measure applied to a virtual object, in accordance with the correspondence relationship between the initial positions of the real tape measure and the virtual tape measure. In this way, the distance between the two points is measured in an intuitive operation, and the measurement accuracy is increased.
As described in operation (1) of
The information indicating the correspondence relationship between the initial position of the first measurement device 101 and the initial position of the second measurement device 102 may be stored in coordinates of the two positions as illustrated in
In operation (2) of
The digital mockup device 100 calculates the coordinates of the base end position of the second measurement device 102 by adding, to the coordinates of the base end position of the first measurement device 101, difference values between the coordinates of the initial position of the first measurement device 101 and the coordinates of the initial position of the second measurement device 102. For example, the coordinates of the base end position of the second measurement device 102 are (350, 350, 350) which result from adding difference values (50, 50, 50) to (300, 300, 300). The coordinates of the leading end position of the second measurement device 102 are (500, 350, 350) which result from adding difference values (50, 50, 50) to (450, 300, 300).
As described in operation (3) of
As described in operation (4), the digital mockup device 100 displays the calculated distance. More specifically, the digital mockup device 100 transmits information indicating the calculated distance to the first measurement device 101, and the first measurement device 101 displays the distance indicated by the received information. In this way, the intuitive operation measures the distance between the two points at increased measurement accuracy.
The position detecting device 202 is a position detecting device that is based on motion capturing technique. The position detecting device 202 may be an optical position detecting device, a mechanical position detecting device, a magnetic position detecting device, or Kinect.
The display device 201 three-dimensionally displays an image. The display device 201 three-dimensionally displays the virtual tape measure 205, and the virtual object 203 in a simulation space. The virtual object 203 is an object that is produced on a computer using a 3D CAD or a digital mockup tool.
The real tape measure 204 is the first measurement device 101. The real tape measure 204 is a tape-like measuring device. The real tape measure 204 is a device that the user may actually touch with his or her hand. The virtual tape measure 205 is the second measurement device 102, for example. The virtual tape measure 205 is produced on a computer by the 3D CAD or the digital mockup tool.
The 3D glasses 206 three-dimensionally display an image. The 3D glasses 206 allow an image for the left eye and an image for the right eye to be concurrently viewed, thereby causing the image to three-dimensionally appear.
By causing the virtual tape measure 205 to be displayed in a manner to keep track of the real tape measure 204, each user determines that a desired position is measured on the three-dimensionally displayed object.
Hardware Configuration of Digital Mockup Device
The digital mockup device 100 includes a central processing unit (CPU) 401, a read-only memory (ROM) 402, and a random-access memory (RAM) 403. The digital mockup device 100 further includes a disk drive 404, a disk 405, an interface 406, a keyboard 407, a mouse 408, and a display 409. The CPU 401, the ROM 402, the RAM 403, the disk drive 404, the interface 406, the keyboard 407, the mouse 408, and the display 409 are interconnected to each other via a bus 400.
The CPU 401 generally controls the digital mockup device 100. The ROM 402 stores programs including a boot program, and a design support program. The RAM 403 is used as a work area for the CPU 401. The disk drive 404, controlled by the CPU 401, controls data reading from and data writing onto the disk 405. The disk 405 stores data that is written under the control of the disk drive 404. The disk 405 may store programs including the design support program (not illustrated), for example. The disk 405 may include a magnetic disk, or an optical disk. The CPU 401 reads the design support program stored on the ROM 402 or the disk 405, and performs a process coded in the design support program.
The Interface 406 is connected to a network 410 including a local area network (LAN), a wide area network (WAN), or the Internet via a communication line, and then connected to another device via the network 410. The interface 406 controls interfacing with the network 410, and also controls data receiving from and data outputting to the external device. The interface 406 may be a modem or a LAN adaptor.
The keyboard 407 and the mouse 408 are interfaces that are controlled by a user to receive a variety of data. The display 409 is an Interface that outputs data in response to a command from the CPU 401.
The digital mockup device 100 may further include, in addition to the above-described elements, an input device that captures an image or a moving image from a camera, and an input device that captures audio from a microphone. The digital mockup device 100 may further include an output device, such as a printer. The digital mockup device 100 may further include a solid state drive (SSD), and a semiconductor memory.
In accordance with the present embodiment, the hardware configuration of the digital mockup device 100 is a personal computer, for example. The digital mockup device 100 is not limited to the personal computer. The digital mockup device 100 may be a server. If the digital mockup device 100 is a server, a device or the display 409 that is operated by the user may be connected to the digital mockup device 100 via the network 410.
The hardware configuration of the real tape measure 204 is not illustrated. The real tape measure 204 may include a communication device that may perform wireless or wired communication, an output device, such as a display, and a memory that stores a variety of information.
Functional Configuration Example of Three-Dimensional Measurement System
The position detecting device 202 includes a position information receiving unit 521, and a position information transmitting unit 522. The real tape measure 204 includes a measurement command transmitting unit 531, a measurement information receiving unit 532, and a dimension displaying unit 533. The 3D glasses 206 include a measurement information receiving unit 541, and a dimension displaying unit 542.
The 3D video producing unit 501 is a computer that produces a three-dimensional video. The function of the 3D video producing unit 501 may be included in a display status output unit 515 of the digital mockup device 100 described below.
The digital mockup device 100 includes a 3D data acquisition unit 511, a position information receiving unit 512, a travel amount correcting unit 513, a placement unit 514, a display status output unit 515, a dimensional measurement unit 516, and a measurement information transmitting unit 517.
The process of each controller in the digital mockup device 100 is coded in the program that is stored on a storage device, such as the ROM 402, the RAM 403, or the disk 405, to be accessed by the CPU 401 of
The digital mockup device 100 receives a video size designation of the display device 201 that three-dimensionally displays 3D data. The video size is a video size of a video projected by a projector or a size of a display. The video size may be a predetermined value. The digital mockup device 100 acquires, as the video size, at least the vertical and horizontal lengths of the displayed video, or a screen aspect ratio, and a video screen size. The vertical length of the displayed video is 2020 mm, and the horizontal length of the displayed video is 3230 mm. The screen aspect ratio is 16:10. The video screen size is 150 inches, for example.
The 3D data acquisition unit 511 acquires the 3D data. The 3D data is information that represents an object presented in the simulation space, for example. The acquisition method of the 3D data is not limited to any particular method. The 3D data acquisition unit 511 may read the 3D data from the memory 111 or may acquire the 3D data from another device via the network 410.
Components of points included in the triangle are described in lines (4) through (6) of
The 3D video producing unit 501 produces a three-dimensional virtual object in accordance with the 3D data 600.
The display device 201 visualizes and displays the virtual object represented by the 3D data 600.
An optical position detection example is described below. The real tape measure 204 includes at the base end and the leading end thereof markers that reflect light. The position detecting device 202 detects the positions and postures of the markers by identifying the markers with at least two cameras from multiple optical cameras. The detected initial position of the real tape measure 204 is described as below.
The placement unit 514 stores on the memory 111 information indicating the correspondence relationship between the initial position of the real tape measure 204 and the initial position of the virtual shape, detected by the position detecting device 202. The video size may have a vertical height of 2020 mm, and a horizontal width of 3230 mm. The vertical direction may be a Y direction, and the horizontal direction may be an X direction. If the reference coordinates of the display device 201 is at the bottom right corner, the central position of the screen is described below.
The placement unit 514 calculates the central position of the screen on which the virtual object 203 is displayed. The placement unit 514 then calculates position coordinates of the virtual object 203. The position coordinates of the virtual object 203 are described below.
The placement unit 514 stores on the memory 111 information indicating the correspondence relationship between the Initial position of the real tape measure 204 and the initial position of the virtual tape measure 205. More specifically, the placement unit 514 calculates a relative value between the initial position of the real tape measure 204 and the initial position of the virtual tape measure 205. The placement unit 514 stores the calculated relative values on the memory 111. The relative values are described below.
The display status output unit 515 causes the user to specify a display scale of the virtual object 203 to be displayed. The display status output unit 515 may set a parameter in advance so that scaling is adjustable in view of the size of the virtual object 203.
If the displaying is performed at a set size in the simulation space, the display status output unit 515 stores “1” as a scale value. The display status output unit 515 may receive the scale value of the virtual object 203 in response to the operation of an input device, such as the mouse 408, by the user.
If “1.2” is input, for example, the display status output unit 515 stores “1.2” as the scale value.
The display status output unit 515 changes the display scale of the virtual object 203 in response to the scale value. Although the display status output unit 515 expands or contracts a view during displaying, the display status output unit 515 may change the display scale by directly changing the size of the virtual object 203 in the simulation space.
The transmission intervals of the position information are not limited to any particular values but depend on the function of the position detecting device 202. The coordinates representing the positions and angles representing the postures are described below.
The position information receiving unit 512 receives from the position detecting device 202 information indicating the base end position, the base end angle, the leading end position, and the leading end angle.
More specifically, the placement unit 514 generates a shape corresponding to the scale portion of the virtual tape measure 205 so that the position represented by coordinates X=100 mm, Y=2000 mm, and Z=1000 mm is connected to the position represented by coordinates X=1800 mm, Y=1500 mm, and Z=1100 mm. It is assumed herein that the shape of the scale portion of the virtual tape measure 205 is set as described below.
The placement unit 514 places the shape of the leading end of the virtual tape measure 205 that is produced in advance at the position of X=1800 mm, Y=1500 mm, and Z=1100 mm to adjust the posture of the virtual tape measure 205. The leading end of the virtual tape measure 205 that is produced in advance refers to storing on the memory 111 the virtual tape measure 205 as the 3D data 600 in advance.
The placement unit 514 places the scale portion of the virtual tape measure 205 at the position of X=100 mm, Y=2000 mm, and Z=1100 mm to adjust the posture of the virtual tape measure 205.
The travel amount correcting unit 513 corrects at least one of the two end positions of the virtual tape measure 205 corresponding to the two end positions of the real tape measure 204 applied to the virtual object 203 so that at least one of the two end positions is at a position of a specified shape of the virtual object 203. The position of the specified shape includes at least one of a position of one of surfaces of the virtual object 203, a center position of one of the surfaces of the virtual object 203, a position on a boundary between surfaces of the virtual object 203, a position of an end point of the boundary between the surfaces of the virtual object, and a position of an apex of the virtual object 203.
The position of one of the surfaces of the virtual object 203 is also referred to as an on-surface position. The center position of one of the surfaces of the virtual object 203 is also referred to as a center of the surface. The position on the boundary between the surfaces of the virtual object 203 is also referred to as an on-edge position. The position of the end point of the boundary between the surfaces is also referred to as an end point of an edge. The position of the apex of the virtual object 203 is also simply referred to as an apex.
The travel amount correcting unit 513 receives a command as to whether to change the measurement location in response to a shape attribute. For example, the travel amount correcting unit 513 receives a designation of the shape attribute of the base end and the leading end of the virtual tape measure 205 in response to a user operation.
The travel amount correcting unit 513 changes the base end position and the leading end position of the body of the virtual tape measure 205 in response to the specified shape attribute.
If a shape attribute is specified, the travel amount correcting unit 513 moves the base end position and the leading end position of the body of the virtual tape measure 205 to a point of a shape closest thereto. The travel amount correcting unit 513 produces a sphere centered at coordinates of the base end or the leading end of the body of the virtual tape measure 205, and expands the sphere. A point where the sphere meets the shape in the course of expansion is set to be the location to which the base end or the leading end of the body is moved.
The travel amount correcting unit 513 moves the base end position of the virtual tape measure 205 to a point above the edge.
The placement unit 514 disposes at a changed position a rectangular parallelepiped that connects the base end to the leading end of the virtual tape measure 205. More specifically, the placement unit 514 produces the rectangular parallelepiped corresponding to the scale of the virtual tape measure 205 so that the position of X=0 mm, Y=2000 mm, and Z=1100 mm is connected to the position of X=1800 mm, Y=1500 mm, and Z=1100 mm.
The placement unit 514 places the base end of the pre-produced virtual tape measure 205 at the position of X=0 mm, Y=2000 mm, and Z=1100 mm, to adjust the posture of the virtual tape measure 205. The placement unit 514 places the leading end of the pre-produced virtual tape measure 205 at the position of X=1800 mm, Y=1500 mm, and Z=1100 mm to adjust the posture of the virtual tape measure 205. The placement unit 514 further places the scale portion of the pre-produced virtual tape measure 205 at the position of X=0 mm, Y=2000 mm, and Z=1100 mm to adjust the posture of the scale portion.
If a point is specified between a first end portion and a second end portion of the virtual tape measure 205, the dimensional measurement unit 516 calculates the distance extending from the first end portion to the second end portion via the specified point. The specified point is also referred to as a point of passage. The first end portion is the base end of the virtual tape measure 205, for example. The second end portion is the leading end of the virtual tape measure 205, for example.
More specifically, the travel amount correcting unit 513 instructs whether the user is to specify the point of passage between the base end and the leading end of the virtual tape measure 205.
In the following example, the point of passage is specified using the real tape measure 204. The position information receiving unit 521 detects the position of the real tape measure 204. For example, the position of the real tape measure 204 is as follows:
The position information transmitting unit 522 transmits to the digital mockup device 100 position information indicating the position of the real tape measure 204. The position information receiving unit 512 receives the position information indicating the position of the real tape measure 204. The travel amount correcting unit 513 calculates the position of the point of passage on the virtual object 203 in accordance with the position indicated by the position information received by the position information receiving unit 512.
The travel amount correcting unit 513 produces on the virtual object 203 a rectangular parallelepiped that connects the base end, the point of passage, and the leading end of the body of the virtual tape measure 205. For example, the travel amount correcting unit 513 produces the shape corresponding to the scale of the virtual tape measure 205 such that the position of X=0 mm, Y=2000 mm, and Z=1100 mm is connected to the point of passage of X=1800 mm, Y=2000 mm, and Z=1100 mm.
The travel amount correcting unit 513 also produces the shape corresponding to the scale of the virtual tape measure 205 such that the position of X=1800 mm, Y=2000 mm, and Z=1100 mm is connected to the point of passage of X=1800 mm, Y=2000 mm, and Z=1100 mm as listed below.
The shape of the scale portion is divided into two rectangular parallelepipeds. Alternatively, the scale portion may be represented by a single rectangular parallelepiped.
The placement unit 514 places the base end of the pre-produced virtual tape measure 205 at the position of X=0 mm, Y=2000 mm, and Z=1100 mm, to adjust the posture of the virtual tape measure 205. The placement unit 514 places the leading end of the pre-produced virtual tape measure 205 at the position of X=1800 mm, Y=1500 mm, and Z=1100 mm to adjust the posture of the virtual tape measure 205. The placement unit 514 further places the scale portion of the pre-produced virtual tape measure 205.
The placement unit 514 calculates the two end positions of the second measurement device 102 corresponding to the two end positions of the first measurement device 101 applied to the object 103. The dimensional measurement unit 516 calculates the distance between the two end positions of the second measurement device 102.
The dimensional measurement unit 516 may calculate the distance between the two end positions by calculating the total length of the shapes of the scale portions.
Alternatively, the dimensional measurement unit 516 may calculate the distance by coordinates.
The measurement information transmitting unit 517 transmits the measurement results to the real tape measure 204. The transmission method includes, but is not limited to, wired transmission or wireless transmission.
The user then specifies to the real tape measure 204 whether scale marks are displayed on the scale portion of the real tape measure 204.
The dimension displaying unit 533 acquires a predefined interval between scale marks and the number of scale marks. The scale mark interval is 10 mm, for example. The number of scale marks is 70, for example.
The dimension displaying unit 533 may define the scale mark interval in response to the measurement results, and dynamically change the scale mark interval in response to the measurement results. For example, the number of scale marks may be defined in view of the size of the virtual tape measure 205, and dynamically changed. Alternatively, the user may directly specify the scale mark interval and the number of scale marks to the real tape measure 204.
The dimension displaying unit 533 sets the information related to the real tape measure 204 to be 70 scale marks at scale mark intervals of 10 mm at a size of 2300 mm.
The measurement information receiving unit 541 in the 3D glasses 206 receives the measurement results. The dimension displaying unit 542 in the 3D glasses 206 displays the measurement results.
Measurement Process Example by Three-Dimensional Measurement System
The digital mockup device 100 displays the designated 3D data 600 (operation S2003). The digital mockup device 100 receives an initial position designation of the real tape measure 204 (operation S2004). The digital mockup device 100 stores the position of the real tape measure 204 and the position of the virtual tape measure 205 in association with each other (operation S2005).
The digital mockup device 100 determines whether the virtual object 203 is to be displayed in life size (operation S2006). If the virtual object 203 is determined to be displayed in life size (yes branch from operation S2006), the digital mockup device 100 stores the scale value of the virtual object 203 (operation S2007), and then proceeds to operation S2101. The scale value is the magnitude of scale expansion or scale contraction. The scale value in operation S2007 is “1”.
If the virtual object 203 is not displayed in life size (no branch from operation S2006), the digital mockup device 100 receives a size designation of the virtual object 203 (operation S2008). The digital mockup device 100 extracts the scale value of the virtual object 203 (operation S2009). The digital mockup device 100 stores the scale value of the virtual object 203 (operation S2010), and then proceeds to step S2101. The scale value in operation S2010 is n.
The display device 201 modifies the size of the virtual object 203 to meet the scale value (operation S2101). The position detecting device 202 detects the base end position and the leading end position of the real tape measure 204 that has been moved to the measurement location (operation S2102).
The digital mockup device 100 calculates the position of the virtual tape measure 205 in accordance with the detected base end position and leading end position of the real tape measure 204, the correspondence relationship with respect to the initial positions, and the scale value (operation S2103). The digital mockup device 100 produces the shape of the scale portion of the virtual tape measure 205 (operation S2104).
The digital mockup device 100 displays the virtual tape measure 205 on the virtual object 203 visualized in a predetermined space (operation S2105). The digital mockup device 100 determines whether a command to measure has been received (operation S2106). If it is determined that the command to measure has not been received (no branch from operation S2106), the digital mockup device 100 returns to operation S2102.
If it is determined that the command to measure has been received (yes branch from operation S2106), the digital mockup device 100 determines whether the position is to be changed in response to the shape attribute (operation S2201). If it is determined that the position is not to be changed in response to the shape attribute (no branch from operation S2201), the digital mockup device 100 proceeds to operation S2206.
If it is determined that the position is to be changed in response to the shape attribute (yes branch from operation S2201), the digital mockup device 100 receives a shape attribute designation (operation S2202). The digital mockup device 100 changes the base end position and the leading end position of the virtual tape measure 205 in response to the shape attribute (operation S2203). The digital mockup device 100 re-produces the shape of the scale portion of the virtual tape measure 205 (operation S2204).
The display device 201 re-displays the virtual tape measure 205 on the virtual object 203 (operation S2205). The digital mockup device 100 determines whether to specify the point of passage (step S2206). If it is determined that the point of passage is not to be specified (no branch from operation S2206), the digital mockup device 100 proceeds to operation S2301.
If it is determined that the point of passage is to be specified (yes branch from operation S2206), the digital mockup device 100 receives the point of passage designation on the virtual object 203 (operation S2207). The digital mockup device 100 extracts the position of the point of passage (operation S2208). The digital mockup device 100 re-produces the shape of the scale portion that extends from the leading end of the virtual tape measure 205 to the point of passage to the base end of the virtual tape measure 205 (operation S2209). The digital mockup device 100 re-displays the virtual tape measure 205 on the virtual object 203 (operation S2210).
The digital mockup device 100 measures the length of the shape of the scale portion of the virtual tape measure 205 (operation S2301). The digital mockup device 100 transfers the measurement results to the real tape measure 204 (operation S2302). The digital mockup device 100 determines whether to display the scale marks (operation S2303). If it is determined that the scale marks are not to be displayed (no branch from operation S2303), the real tape measure 204 sets the measurement results in display information (operation S2306).
If it is determined that the scale marks are to be displayed (yes branch from operation S2303), the real tape measure 204 sets the interval between the scale marks (operation S2304). The real tape measure 204 sets the scale marks and the measurement results in the display information (operation S2305). The real tape measure 204 displays the display information on the real tape measure 204 (operation S2307).
The digital mockup device 100 determines whether to display the measurement results on the 3D glasses 206 (operation S2308). If the digital mockup device 100 determines not to display the measurement results on the 3D glasses 206 (no branch from operation S2308), the digital mockup device 100 completes the series of operations. If the digital mockup device 100 determines to display the measurement results on the 3D glasses 206 (yes branch from operation S2308), the digital mockup device 100 transfers the measurement results to the 3D glasses 206 (operation S2309). The 3D glasses 206 displays the measurement results thereon (operation S2310). The digital mockup device 100 completes the series of operations.
As described above, the digital mockup device 100 measures the distance between the two end positions of the virtual tape measure 205 corresponding to the two end positions of the real tape measure 204 applied to the virtual object 203, based the correspondence relationship between the initial position of the real tape measure 204 and the initial position of the virtual tape measure 205. In this way, the distance is measured intuitively and accurately. When multiple persons share information in a product review while observing the virtual object, an operation that is applicable to a real object is possible on a virtual object. The product review using the virtual object may be performed in a sense similar to the sense in which the real object is operated.
The virtual tape measure 205 may select whether to visualization is three-dimensionally performed in a predetermined space. Switching between displaying the virtual tape measure 205 or not displaying the virtual tape measure 205 is performed depending on the measurement operation situation, for example, depending on whether a single person or multiple persons perform measurement. User-friendliness is thus improved.
The digital mockup device 100 displays the calculated distance on the real tape measure 204. In this way, the measurement results are easily recognized using the real tape measure 204 held by the user.
The digital mockup device 100 displays the calculated distance on the 3D glasses 206. The measurement results are easily recognized when the product review is performed by multiple persons.
When the virtual object 203 is three-dimensionally visualized in a predetermined space, the digital mockup device 100 visualizes the virtual object 203 at a specified magnification, and calculates the two end positions of the virtual tape measure 205 at the specified magnification. If the virtual object 203 is visualized with the scale value varied for scale expansion or contraction, the distance responsive to the scale value results.
The digital mockup device 100 corrects the position of the virtual tape measure 205 in response to the specified shape attribute. The position of the specified shape includes at least one of a position of one of surfaces of the virtual object 203, a center position of one of the surfaces of the virtual object 203, a position on a boundary between surfaces of the virtual object 203, a position of an end point of the boundary between the surfaces of the virtual object, and a position of an apex of the virtual object 203. In this way, even if the user is unable to align the real tape measure 204 with the virtual object, the target position is corrected. Measurement accuracy of the distance is thus increased.
The digital mockup device 100 calculates the distance that extends from the base end of the virtual tape measure 205 to the leading end of the virtual tape measure 205 via the specified point. The virtual object is thus measured as if the real object is measured.
The digital mockup device 100 produces the scale when the virtual tape measure 205 is displayed. This causes the measurement to look like a real object is measured using a real tape measure. The distance is thus intuitively measured.
The three-dimensional measurement method described with reference to the embodiment is performed by causing a computer, such as a personal computer or a workstation, to execute a three-dimensional measurement program prepared in advance. The three-dimensional measurement program is stored on computer readable recording media, including a magnetic disk, an optical disk, and a universal serial bus (USB) flash memory, and is read by the computer to be executed. The three-dimensional measurement program may be distributed via a network, such as the Internet.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the Invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiment of the present invention has been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2016-053160 | Mar 2016 | JP | national |