Summary of the invention
The embodiment of the present disclosure provides a kind of model treatment method, apparatus, control client and storage medium.The technical side
Case is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of model treatment method is provided, comprising:
Receive the target instruction target word of user's input;
When the target instruction target word is to carry direction of rotation and when can be manually rotated instruction of angle of rotation, control is being shown
The structural model of the first object and the navigation model of the second object all revolved by the direction of rotation and the rotation angle
Turn;
Wherein, the navigation model of second object includes the skeleton pattern and first object of second object
Skeleton pattern, first object are the building blocks of second object;The skeleton pattern of first object is by described the
The practical structures of one object and second object are arranged in the skeleton pattern of second object.
Optionally, the method also includes:
The first rotation results are sent to display client;In order to which the display client is shown according to the first rotation results
Postrotational structural model and postrotational navigation model.
Optionally, before the target instruction target word for receiving user's input, the method also includes:
Receive the idsplay order that the display client is sent;The idsplay order carries the mark of the first object;
The corresponding navigation model of the mark and the structural model are inquired from model library;
The navigation model and the structural model are sent to the display client, in order to which the display client exists
First window shows the structural model, shows the navigation model in the second window.
Optionally, it is described send the navigation model and the structural model to the display client after, the side
Method further include:
Receive the target instruction target word that the display client is sent;
When the target instruction target word is other control instructions for changing the structural model, the structural model is held
The corresponding control operation of row;
Control result is sent to display client;In order to the display client according to control result display control after
Structural model.
Optionally, after the target instruction target word for receiving the display client transmission, the method also includes:
When the target instruction target word is automatic play instruction, the structural model and the navigation model are controlled along default
Direction is rotated according to default angular speed;Or, obtaining animated video, the animated video includes display in same angle
The multiple image of the structural model and the navigation model;Wherein, angle described in each frame image is different;
The second rotation results or the animated video are sent to display client.
According to the second aspect of an embodiment of the present disclosure, a kind of model treatment device is provided, comprising:
Receiving module, for receiving the target instruction target word of user's input;
Rotary module, for being to carry direction of rotation and rotate angle to can be manually rotated instruction when the target instruction target word
When, the navigation model of the structural model of the first object and the second object that are showing is controlled all by the direction of rotation and described
Rotation angle is rotated;
Wherein, the navigation model of second object includes the skeleton pattern and first object of second object
Skeleton pattern, first object are the building blocks of second object;The skeleton pattern of first object is by described the
The practical structures of one object and second object are arranged in the skeleton pattern of second object.
Optionally, described device further include:
Sending module, for sending the first rotation results to display client;In order to which the display client is according to
One rotation results show postrotational structural model and postrotational navigation model.
Optionally, described device further include:
The receiving module is also used to: receiving the idsplay order that the display client is sent;The idsplay order carries
There is the mark of the first object;
Enquiry module, for inquiring the corresponding navigation model of the mark and the structure mould from model library
Type;
The sending module is also used to: the navigation model and the structural model are sent to the display client, with
The structural model is shown in first window convenient for the display client, shows the navigation model in the second window.
According to the third aspect of an embodiment of the present disclosure, a kind of control client is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive the target instruction target word of user's input;
When the target instruction target word is to carry direction of rotation and when can be manually rotated instruction of angle of rotation, control is being shown
The structural model of the first object and the navigation model of the second object all revolved by the direction of rotation and the rotation angle
Turn;
Wherein, the navigation model of second object includes the skeleton pattern and first object of second object
Skeleton pattern, first object are the building blocks of second object;The skeleton pattern of first object is by described the
The practical structures of one object and second object are arranged in the skeleton pattern of second object.
According to a fourth aspect of embodiments of the present disclosure, a kind of computer-readable storage medium is provided, meter is stored thereon with
Calculation machine program, when which is executed by processor the step of any one of realization first aspect the method.
The technical scheme provided by this disclosed embodiment can include the following benefits: can be to the structural model of display
It is rotated with navigation model, to realize human-computer interaction, increases model and the interaction of people.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of model treatment method shown according to an exemplary embodiment, as shown in Figure 1, model
Processing method is in model treatment device, which to be applied to control client, this approach includes the following steps 101-102:
Step 101, the target instruction target word for receiving user's input.
The target instruction target word is to show the target instruction target word of the received user's input of client.The target instruction target word can be by keyboard key
Enter, realized by mouse click and screen touch.
Step 102, when target instruction target word be carry direction of rotation and rotation when can be manually rotated instruction of angle, control
The structural model of first object of display and the navigation model of the second object are all rotated by direction of rotation and rotation angle.
Wherein, the navigation model of the second object includes the skeleton pattern of the second object and the skeleton pattern of the first object, and
One object is the building block of the second object;The skeleton pattern of first object is set by the practical structures of the first object and the second object
It sets in the skeleton pattern of the second object.
Here, coordinate where rotation is coordinate system and navigation model where the structural model carry out certain angle inclination or
What offset was realized.It is all according under the second object original state that the first object and navigation model that structural model is shown are shown
What the preset standard of one object was shown.
It is exemplary, it is assumed that the first object is heart, and the second object is human body.Navigation model include human body skeleton pattern and
The skeleton pattern of the skeleton pattern of heart, heart is arranged in the skeleton pattern of human body, and the relative position of the two meets human body
With the relative position of heart.Skeleton pattern is the model for only showing profile.Structural model is the model for showing internal structure.
The present embodiment can rotate the structural model and navigation model of display, to realize human-computer interaction, increase
The interaction of model and people.
Optionally, as shown in Fig. 2, this method further include:
Step 103 sends the first rotation results to display client.
First rotation results are structural model and navigation model all by the result after direction of rotation and rotation angle rotation.
Optionally, as shown in figure 3, before step 101, this method further include:
Step 104 receives the idsplay order that display client is sent;The idsplay order carries the mark of the first object.
Step 105 inquires the corresponding navigation model of mark and structural model from model library.
The model there are many object is stored in model library, each object has a mark, and there are one for the mark and model
A corresponding relationship, in order to interrogation model.
Step 106 sends navigation model and structural model to display client.
In addition to the method for above-mentioned searching model, this method can also include:
Device receives the preference pattern instruction that display client is sent;Obtain and to display client transmission pattern library Zhong Shu
Plotting table sets the classification of plotting table display model;Display client shows the tree plotting table, receives user and acts on mesh
Mark the selection instruction of classification;Display client sends the selection instruction to the device, and device obtains and according to selection instruction to aobvious
Show that client sends the model reference figure for belonging to the target category;The model reference figure is the flat image of object;Show client
End display belongs to the model reference figure of the target category, and receive user's input acts on again selection of the object module with reference to figure
Instruction;Display client sends the selection instruction again to the device, and device obtains object module ginseng according to selection instruction again
The corresponding object module of figure is examined as the structural model;According to structural model enquiry navigation model;Device is sent out to display client
Send navigation model and structural model.
Optionally, after step 106, this method further include:
Receive the target instruction target word that display client is sent;When target instruction target word is referred to for changing other controls of structural model
When enabling, corresponding control operation is executed to structural model;Control result is sent to display client;In order to show client root
According to the structural model after control result display control.
Here other control instructions include scaling instruction, for showing that the details of a certain specific structure of the first object is shown
Instruction etc..Here, details idsplay order is that user acts on instruction caused by a details of structural model.For example, first
Object is heart, when user acts on the blood vessel of the heart of structural model displaying, then, the details display model is for hiding
The structural model of heart shows the structural model of blood vessel.
The state modulator model of the present embodiment Controlling model, here, control parameter include the position of video camera and threedimensional model
It sets, angle, focal length etc., three-dimensional rendering engine carries out real-time rendering for picture of the control parameter to model or animated video.
Optionally, after receiving the target instruction target word that display client is sent, method further include:
When target instruction target word is automatic play instruction, control structure model and navigation model are along preset direction according to default
Angular speed is rotated, or, obtaining animated video, animated video includes structural model and navigation mould of the display in same angle
The multiple image of type;Wherein, angle is different in each frame image;The second rotation results or animation view are sent to display client
Frequently.
In the present embodiment, when controlling animated video pause, the structure mould of same angle in that frame image at pause
Type and navigation model can also serve as structural model and navigation model in step 102.
Display client can show above-mentioned model in the form of ppt, therefore, need before stating model in realization to ppt
It is edited, that is, imports above-mentioned model.
Fig. 4 is a kind of flow chart of model treatment method shown according to an exemplary embodiment, as shown in figure 4, model
Processing method is in model treatment system, which to include control client and display client, this method include the following:
Step 201, display client receive the idsplay order of user's input.
Here, idsplay order carries the mark of the first object.
Step 202, display client send idsplay order to control client.
Step 203, control client inquire the corresponding navigation model of mark and structural model from model library.
Step 204, control client send navigation model and structural model to display client.
The first object that structural model is shown is different, then the skeleton pattern of the first object in navigation model is not yet
Together.
Step 205, display client show structural model in first window, show navigation model in the second window.
The navigation model of second object includes the skeleton pattern of the second object and the skeleton pattern of the first object, the first object
It is the building block of the second object;The skeleton pattern of first object is by the practical structures setting of the first object and the second object the
In the skeleton pattern of two objects.
Step 206, display client receive the target instruction target word of user's input.
Step 207, display client send target instruction target word to control client.
Step 208, control client determine which kind of instruction target instruction target word is.
Step 209, when target instruction target word be carry direction of rotation and rotation when can be manually rotated instruction of angle, control client
The structural model for the first object that end control is being shown and the navigation model of the second object are all by direction of rotation and rotation angle
It is rotated.
Step 210, control client send the first rotation results to display client.
Step 211, display client show postrotational structural model and postrotational navigation according to the first rotation results
Model.
The present embodiment can show the structural model and navigation model of display, be rotated, thus realize human-computer interaction,
Increase model and the interaction of people.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.
Fig. 5 is a kind of block diagram of model treatment device shown according to an exemplary embodiment, which can be by soft
Being implemented in combination with for part, hardware or both becomes some or all of of control client.As shown in figure 5, the model treatment fills
It sets and includes:
Receiving module 301, for receiving the target instruction target word of user's input;
Rotary module 302, for being to carry direction of rotation and rotate angle to can be manually rotated finger when the target instruction target word
When enabling, the structural model of the first object shown and the navigation model of the second object are controlled all by the direction of rotation and institute
Rotation angle is stated to be rotated;
Wherein, the navigation model of second object includes the skeleton pattern and first object of second object
Skeleton pattern, first object are the building blocks of second object;The skeleton pattern of first object is by described the
The practical structures of one object and second object are arranged in the skeleton pattern of second object.
The present embodiment can rotate the structural model and navigation model of display, to realize human-computer interaction, increase
The interaction of model and people.
In one embodiment, as shown in fig. 6, described device further include:
Sending module 303, for sending the first rotation results to display client;In order to the display client according to
First rotation results show postrotational structural model and postrotational navigation model.
In one embodiment, as shown in fig. 7, described device further include:
The receiving module 301 is also used to: receiving the idsplay order that the display client is sent;The idsplay order is taken
Mark with the first object;
Enquiry module 304, for inquiring the corresponding navigation model of the mark and the structure from model library
Model;
The sending module 303, for sending the navigation model and the structural model to the display client, with
The structural model is shown in first window convenient for the display client, shows the navigation model in the second window.
In one embodiment, as shown in figure 8, described device further include:
The receiving module 301 is also used to: receiving the target instruction target word that the display client is sent;
Control module 305, for when the target instruction target word is other control instructions for changing the structural model,
Corresponding control operation is executed to the structural model;
The sending module 303 is also used to: sending control result to display client;In order to the display client root
According to the structural model after control result display control.
In one embodiment, as shown in figure 9, described device further include:
The control module is also used to: when the target instruction target word is automatic play instruction, control the structural model and
The navigation model is rotated along preset direction according to default angular speed;
Module 306 is obtained, for obtaining animated video, the animation when the target instruction target word is automatic play instruction
Video includes the multiple image of the structural model and the navigation model of the display in same angle;Wherein, each frame figure
The angle as described in is different;
The sending module 303 is also used to: sending the second rotation results or the animated video to display client.
According to a fourth aspect of embodiments of the present disclosure, a kind of model treatment device is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, processor is configured as:
Receive the target instruction target word of user's input;
When the target instruction target word is to carry direction of rotation and when can be manually rotated instruction of angle of rotation, control is being shown
The structural model of the first object and the navigation model of the second object all revolved by the direction of rotation and the rotation angle
Turn;
Wherein, the navigation model of second object includes the skeleton pattern and first object of second object
Skeleton pattern, first object are the building blocks of second object;The skeleton pattern of first object is by described the
The practical structures of one object and second object are arranged in the skeleton pattern of second object.
Above-mentioned processor is also configured to:
The method also includes:
The first rotation results are sent to display client;In order to which the display client is shown according to the first rotation results
Postrotational structural model and postrotational navigation model.
Before the target instruction target word for receiving user's input, the method also includes:
Receive the idsplay order that the display client is sent;The idsplay order carries the mark of the first object;
The corresponding navigation model of the mark and the structural model are inquired from model library;
The navigation model and the structural model are sent to the display client, in order to which the display client exists
First window shows the structural model, shows the navigation model in the second window.
It is described send the navigation model and the structural model to the display client after, the method is also wrapped
It includes:
Receive the target instruction target word that the display client is sent;
When the target instruction target word is other control instructions for changing the structural model, the structural model is held
The corresponding control operation of row;
Control result is sent to display client;In order to the display client according to control result display control after
Structural model.
After the target instruction target word for receiving the display client transmission, the method also includes:
When the target instruction target word is automatic play instruction, the structural model and the navigation model are controlled along default
Direction is rotated according to default angular speed;Or, obtaining animated video, the animated video includes display in same angle
The multiple image of the structural model and the navigation model;Wherein, angle described in each frame image is different;
The second rotation results or the animated video are sent to display client.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
Figure 10 be it is shown according to an exemplary embodiment a kind of for controlling the block diagram of client, the device be suitable for eventually
End equipment.For example, control client 1700 can be mobile phone, computer, digital broadcasting terminal, messaging device, trip
Play console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Controlling client 1700 may include following one or more components: processing component 1702, memory 1704, power supply
Component 1706, multimedia component 1708, audio component 1710, input/output (I/O) interface 1712, sensor module 1714, with
And communication component 1716.
The integrated operation of the usually control client 1700 of processing component 1702, such as with display, call, data are logical
Letter, camera operation and record operate associated operation.Processing component 1702 may include one or more processors 1720
It executes instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1702 may include one or more
Module, convenient for the interaction between processing component 1702 and other assemblies.For example, processing component 1702 may include multimedia mould
Block, to facilitate the interaction between multimedia component 1708 and processing component 1702.
Memory 1704 is configured as storing various types of data to support the operation in control client 1700.These
The example of data includes the instruction of any application or method for operating in control client 1700, contacts number
According to, telephone book data, message, picture, video etc..Memory 1704 can be by any kind of volatibility or non-volatile memories
Equipment or their combination are realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory
(EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory
(ROM), magnetic memory, flash memory, disk or CD.
Power supply module 1706 provides electric power to control the various assemblies of client 1700.Power supply module 1706 may include electricity
Management system, one or more power supplys and other with for control client 1700, to generate, manage, and distribute electric power associated
Component.
Multimedia component 1708 includes one output interface of offer between the control client 1700 and user
Screen.In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touching
Panel is touched, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more
Touch sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or
The boundary of sliding action, but also detect duration and pressure associated with the touch or slide operation.In some implementations
In example, multimedia component 1708 includes a front camera and/or rear camera.When control client 1700 is in operation
Mode, such as in a shooting mode or a video mode, front camera and/or rear camera can receive external multimedia number
According to.Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom
Ability.
Audio component 1710 is configured as output and/or input audio signal.For example, audio component 1710 includes a wheat
Gram wind (MIC), when control client 1700 is in operation mode, when such as call mode, recording mode, and voice recognition mode, wheat
Gram wind is configured as receiving external audio signal.The received audio signal can be further stored in memory 1704 or warp
It is sent by communication component 1716.In some embodiments, audio component 1710 further includes a loudspeaker, for exporting audio letter
Number.
I/O interface 1712 provides interface, above-mentioned peripheral interface module between processing component 1702 and peripheral interface module
It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and
Locking press button.
Sensor module 1714 includes one or more sensors, for providing various aspects for control client 1700
Status assessment.For example, sensor module 1714, which can detecte control client 1700, opens/closes state, the phase of component
To positioning, such as the component is the display and keypad for controlling client 1700, and sensor module 1714 can also detect
It controls client 1700 or controls the position change of 1,700 1 components of client, user deposits with what control client 1700 contacted
Or be not present, control the temperature change of 1700 orientation of client or acceleration/deceleration and control client 1700.Sensor module
1714 may include proximity sensor, be configured to detect the presence of nearby objects without any physical contact.It passes
Sensor component 1714 can also include optical sensor, such as CMOS or ccd image sensor, for using in imaging applications.?
In some embodiments, which can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure
Force snesor or temperature sensor.
Communication component 1716 is configured to facilitate wired or wireless way between control client 1700 and other equipment
Communication.Control client 1700 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.
In one exemplary embodiment, communication component 1716 receives the broadcast from external broadcasting management system via broadcast channel and believes
Number or broadcast related information.In one exemplary embodiment, the communication component 1716 further includes near-field communication (NFC) mould
Block, to promote short range communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) skill can be based in NFC module
Art, ultra wide band (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, control client 1700 can be by one or more application specific integrated circuit
(ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), scene can
It programs gate array (FPGA), controller, microcontroller, microprocessor or other electronic building bricks to realize, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 1704 of instruction, above-metioned instruction can be executed by the processor 1720 of control client 1700 to complete above-mentioned side
Method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic
Band, floppy disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by control client 1700
Processor execute when so that control client 1700 be able to carry out above-mentioned model treatment method, which comprises
Receive the target instruction target word of user's input;
When the target instruction target word is to carry direction of rotation and when can be manually rotated instruction of angle of rotation, control is being shown
The structural model of the first object and the navigation model of the second object all revolved by the direction of rotation and the rotation angle
Turn;
Wherein, the navigation model of second object includes the skeleton pattern and first object of second object
Skeleton pattern, first object are the building blocks of second object;The skeleton pattern of first object is by described the
The practical structures of one object and second object are arranged in the skeleton pattern of second object.
The method also includes:
The first rotation results are sent to display client;In order to which the display client is shown according to the first rotation results
Postrotational structural model and postrotational navigation model.
Before the target instruction target word for receiving user's input, the method also includes:
Receive the idsplay order that the display client is sent;The idsplay order carries the mark of the first object;
The corresponding navigation model of the mark and the structural model are inquired from model library;
The navigation model and the structural model are sent to the display client, in order to which the display client exists
First window shows the structural model, shows the navigation model in the second window.
It is described send the navigation model and the structural model to the display client after, the method is also wrapped
It includes:
Receive the target instruction target word that the display client is sent;
When the target instruction target word is other control instructions for changing the structural model, the structural model is held
The corresponding control operation of row;
Control result is sent to display client;In order to the display client according to control result display control after
Structural model.
After the target instruction target word for receiving the display client transmission, the method also includes:
When the target instruction target word is automatic play instruction, the structural model and the navigation model are controlled along default
Direction is rotated according to default angular speed;Or, obtaining animated video, the animated video includes display in same angle
The multiple image of the structural model and the navigation model;Wherein, angle described in each frame image is different;
The second rotation results or the animated video are sent to display client.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.