CN102508994A - Virtual experiment teaching oriented dynamic component visualization method - Google Patents

Virtual experiment teaching oriented dynamic component visualization method Download PDF

Info

Publication number
CN102508994A
CN102508994A CN2011103019171A CN201110301917A CN102508994A CN 102508994 A CN102508994 A CN 102508994A CN 2011103019171 A CN2011103019171 A CN 2011103019171A CN 201110301917 A CN201110301917 A CN 201110301917A CN 102508994 A CN102508994 A CN 102508994A
Authority
CN
China
Prior art keywords
dynamic component
attribute
result
dynamic
modeling
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
CN2011103019171A
Other languages
Chinese (zh)
Other versions
CN102508994B (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.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CN201110301917.1A priority Critical patent/CN102508994B/en
Publication of CN102508994A publication Critical patent/CN102508994A/en
Application granted granted Critical
Publication of CN102508994B publication Critical patent/CN102508994B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a virtual experiment teaching oriented dynamic component visualization method which aims to realize the modeling and visualization of an experiment component with dynamically-changing appearance and strong interaction in the virtual experiment teaching process. The method mainly comprises the following steps of: (1) modeling the dynamic component in a virtual experiment teaching environment, specifically comprising the steps of obtaining the image information describing the dynamic component by use of image division, and obtaining the graphic information describing the dynamic component by use of interactive geometric configuration and the like to finish the modeling of the dynamic component; and (2) visualizing the dynamic component in the virtual experiment teaching environment, specifically comprising the steps of drawing the dynamic component according to the appearance attributes in the virtual experiment teaching scene and the like to visualize the experiment result to the user and dynamically respond to an interaction event and update the visualization result. The method provided by the invention can be widely applied to the fields of virtual experiment teaching, distance education and training and the like, and realizes visualization of the dynamic experiment component in the virtual experiment teaching.

Description

A kind of method for visualizing of the dynamic component towards virtual experimental teaching
Technical field
The present invention relates to Flame Image Process, computer graphics and virtual reality field, specifically a kind of method for visualizing of the dynamic component towards virtual experimental teaching.
Background technology
Virtual reality is core with the computer technology; In conjunction with the related science technology; Generate with the certain limit true environment at the digitizing environment of looking, listening, height is similar to aspect the sense organ such as sense of touch; The user carries out reciprocation, influences each other by equipment of necessity and the object in the digitizing environment, can produce the impression and the experience of coming to corresponding true environment personally.In recent years, the increasing education sector that is applied in of virtual reality technology, wherein, the virtual experimental teaching environment is typical case's representative.The virtual experimental teaching environment can provide an environment that carries out virtual experimental for vast student and other interest persons.Compare with the traditional experiment teaching, virtual experimental teaching has three big advantages: the constraint of no place, safety, low cost.The constraint of no place, promptly carrying out virtual experimental does not need fixed-sites such as laboratory, does not receive the restriction in place, and any have the place of computing machine and network can carry out virtual experimental.Safety carries out promptly that the experimenter does not contact hazardous environments such as high pressure, toxic chemical substance in the virtual experimental process.Low cost is promptly carried out virtual experimental and need do not bought expensive experimental equipment.
The virtual experimental teaching environment effectively replenishes as a kind of of traditional experiment teaching; Become the important means of strengthening practical teaching, improving the quality of teaching; Can not only solve the problem that experimental teaching can't be implemented in problems that traditional experiment teaching exists, the long-distance education well; Improve the present situation of experimental teaching resource critical shortage and skewness effectively; And can take into full account the needs of new century talents cultivating mode, and help improving innovation ability of students, manipulative ability and overall qualities, have good social benefit.The virtual experimental teaching environment can satisfy the active demand of vast college teaching work to experimental resources, for country, society and school save a large amount of education fund inputs, produces good economic benefit.And; More than 1000 of total at present gerneral institutes of higher education of China and higher education schools for adults; The very shortage of most of school eduaction resource; The widespread use in the schools of various levels and categories of universities, middle and primary schools, adult education, long-distance education and vocational training of virtual experimental teaching environment and The visual design thereof not only can be saved a large amount of education fund inputs, and had enormous and latent market.
Present domestic and international research and application facet at the virtual experimental teaching environment obtained some progress, but except that the Virtual Instrument Development software of NI company, ripe commercial podium also seldom, does not have general development platform basically.Calendar year 2001, the people such as Ceng Huanwen of Taiwan normal university designed and Implemented the interactive virtual laboratory of a cover based on expert system, but this system only is applicable to motor experiment.The people such as Jiang Huixian of Fujian Normal University in 2009 have integrated all kinds of geography mesorelief resource constructions geographical terrain virtual experimental teaching environment.The people such as Zhang Yanli of Zhengzhou University in 2010 have developed the virtual experimental teaching platform of a cover chemical experiment.The people such as Fan Xiufang of Shanghai Communications University in 2011 have designed and Implemented one and have overlapped the virtual experimental teaching system that makes things convenient for the students understand mechanical motion.
These current virtual experimental teaching environment mostly are also to develop to a certain special subject even some special experimental design, temporarily none multidisciplinary general virtual experimental platform and corresponding standard standard.The realization that all will design again and encode of virtual experimental of every exploitation causes the cost of development of virtual experimental very big, and the reusability of virtual experimental is low.The people such as Joanna K.Crosier of Univ Nottingham UK in 2002 have studied and have integrated some key issues that virtual environment need solve in the experimental teaching of middle school.Yet their target is just integrated the virtual experimental in the secondary curriculum, compares with the experiment in the college course, and these experiments are simple relatively, does not have complicated experimental principle and meticulous experimental apparatus.
Current virtual experimental teaching environment is that least unit designs and develops with single experiment mostly, and reusing of the member that can not experimentize limited the development efficiency of virtual experimental teaching scene.In order unified integration to have virtual experimental now, improve Simulation Experiments Development efficient, China has formulated corresponding national standards and standard to the virtual experimental teaching environmental standard.This cover standard to describe the concrete concept of the experiment member in the virtual experimental teaching environment, experiment scene, experimental result etc., and formulated corresponding data format specifications.We have analyzed the actual functional capability and the interactive features of experiment member on the basis of this cover standard criterion, further will test member and be divided into two types of stationary member and dynamic components.Stationary member is meant the experiment member of the fixing no dynamic change of outward appearance in the virtual experimental teaching process, comprises domain attribute and appearance attribute; Dynamic component is meant outward appearance dynamic change in the virtual experimental teaching process, the experiment member that interaction is strong, not only comprises domain attribute and appearance attribute, also comprises mutual attribute.
Dynamic component should upgrade effect of visualization according to experimental result and user interactions request dynamic in the virtual experimental teaching environment, can improve the user experience of virtual experimental teaching environment greatly.Therefore, to the modeling of dynamic component with visually in the virtual experimental teaching environment, account for critical role.Existing technology all only to the appearance attribute modeling of experiment member and visual, when relating to the interactive function of testing member, all is included in experiment scene modeling and visual.Because do not have the notion and the characteristics of clear and definite dynamic component, prior art can't be carried out modeling and visual by dynamic component.Therefore, it is a principal object of the present invention to provide a kind of modeling and method for visualizing of dynamic component for the virtual experimental teaching environment.
Summary of the invention
According to the actual requirements and key issue; The objective of the invention is to: propose a kind of method for visualizing of the dynamic component towards virtual experimental teaching, realize the modeling of outward appearance dynamic change in the virtual experimental teaching scene of National standard, experiment member that interaction is strong and visual.This method is based on the actual situation combination technology, adopts image information and graphic fusion method to come the dynamic component appearance attribute is carried out modeling, and according to the experimental result display mode and the actual functional capability of dynamic component, and the mutual attribute of dynamic component is carried out modeling; In the virtual experimental teaching scene, resolve dynamic component, its appearance attribute is carried out visual playing up; Utilize its mutual attribute, can be according to the renewal effect of visualization of virtual experimental backstage result of calculation and user interactions request dynamic.
For accomplishing goal of the invention, the technical scheme that the present invention adopts is:
A kind of method for visualizing of the dynamic component towards virtual experimental teaching comprises following steps:
Step 1, in the virtual experimental teaching environment to the modeling of dynamic component, be specially:
Step a1 utilizes image segmentation to obtain describing the image information of dynamic component; Simultaneously, utilize interactive geometrical configuration to obtain describing the graphical information of dynamic component;
Step a2, composite image information and graphical information and between position, size, relation such as block, make up the dynamic component appearance attribute that actual situation merges;
Step a3, display mode modeling as a result, the display mode as a result of definition dynamic component is added the appearance attribute that script realizes the experimental calculation result is converted into dynamic component;
Step a4 through analyzing experiment component interactive function, adds interaction scripts, makes up the mutual attribute of dynamic component, accomplishes the modeling of dynamic component.
Wherein, the modeling of the dynamic component in the step 1 is based on the actual situation combination technology, has merged image information and graphical information, and not only the appearance attribute to dynamic component carries out modeling, also the mutual attribute of dynamic component is carried out modeling simultaneously, and concrete steps are:
Step c1 carries out prospect and background sampling in the image of true experiment member, according to sampling set image pixel is classified, and the edge of cutting apart the back prospect is carried out smoothing processing, obtains describing the image information of dynamic component;
Select basic geometric configuration simultaneously, attributes such as the locus through user interactions adjustment geometric configuration, size, the different geometric shape is combined into complex figure each other, obtains describing the graphical information of dynamic component;
Step c2 superposes image information and graphical information, between the two position, size of adjustment, relation such as blocks, and accomplishes the actual situation fusion treatment, makes up the dynamic component appearance attribute that actual situation merges;
Step c3, through analyzing the display mode as a result of experiment member, the display mode as a result of definition dynamic component is added script and is realized the experimental calculation result is converted into the dynamic component appearance attribute, accomplishes display mode modeling as a result;
Step c4 through analyzing the actual functional capability and the interactive features of experiment member, adds the interactive function that script is realized dynamic component, makes up the mutual attribute of dynamic component.
Further; In the dynamic component appearance attribute process that structure actual situation described in the step c2 merges; Position relation between image information and graphical information is meant the relative position of both coordinate origins; Magnitude relationship is meant unit length proportionate relationship in both coordinate systems, and hiding relation is meant from both priority hierarchical sequences of user perspective.If spatial relationship is unreasonable between image information and the graphical information, inharmonious, the mutual hiding relation of relative size ratio is untrue, syncretizing effect all can produce defective.
Further; Experimental result display mode described in the step c3 belongs to the mutual attribute of dynamic component; Experimental result influences the appearance attribute of dynamic component; Display mode has determined to influence details as a result, and script has realized experimental result is converted into the detailed process of appearance attribute, and main display mode comprises: light pilot lamp, flashing indicator light, rotary indicator, object of which movement, change field color, display text, the digital font numerical value of demonstration, curve plotting etc.
Further; Interactive function described in the step c4 belongs to the mutual attribute of dynamic component; Parameters such as the position of geometric configuration, size, color in the script modification graphical information of adding, and then the appearance attribute of modification dynamic component, continuous quick variation produces animation effect.
Step 2, visual to dynamic component in the virtual experimental teaching environment are specially:
Step b1 resolves the dynamic component in the virtual experimental teaching scene, according to appearance attribute, obtains image information and graphical information, and the outward appearance of dynamic component is played up;
Step b2 utilizes the mutual attribute of dynamic component, according to virtual experimental backstage result of calculation, calculates and upgrades appearance attribute, and repaint dynamic component, gives the user with experimental result is visual;
Step b3, monitoring users behavior in the virtual experimental teaching scene according to user's interactive request, is called corresponding mutual attribute, and the dynamic response alternative events are upgraded visualization result.
Wherein, the visual of the dynamic component in the step 2 not only drawn according to appearance attribute, can also upgrade the rendering effect of testing member, following steps according to mutual attribute and user interactions request dynamic:
Steps d 1 is resolved the dynamic component in the virtual experimental teaching scene, obtain describing dynamic component image information and graphical information and between position, size, relation such as block, the appearance attribute of dynamic component is played up;
Steps d 2 is utilized the display mode as a result of dynamic component, according to virtual experimental backstage result of calculation, carries out associated script and calculates and upgrade appearance attribute, and repaint dynamic component, gives the user with experimental result is visual;
Steps d 3, monitoring users behavior in the virtual experimental teaching scene according to user's interactive request, is called corresponding mutual attribute, carries out corresponding script, upgrades visualization result, accomplishes the user interactions request responding.
For further understanding the present invention, the Action Specification of existing principle and correlation step with technique scheme is following:
The dynamic component modeling mainly comprises four parts: image information acquisition and the graphical information of carrying out are simultaneously obtained, actual situation fusion treatment, display mode modeling and interactive function modeling.The effect of image information acquisition is to utilize image segmentation to obtain describing the image information of dynamic component, for dynamic component provides outward appearance part true to nature.At first in the image of true experiment member, carry out prospect and background sampling, according to sampling set image pixel is carried out the prospect background classification then, and the edge of foreground data is carried out smoothing processing, obtain describing the image information of dynamic component.
The effect that graphical information is obtained is to utilize interactive geometrical configuration to obtain describing the graphical information of dynamic component, for dynamic component provides controlled outward appearance part.At first select basic geometric configuration, attributes such as the locus through user interactions adjustment geometric configuration, size, the different geometric shape is combined into complex figure each other, be converted into unified descriptor format after, obtain describing the graphical information of dynamic component.
The effect of actual situation fusion treatment module be composite image information and graphical information and between position, size, relation such as block, make up the dynamic component appearance attribute that actual situation merges.Position relation between image information and graphical information is meant the relative position of both coordinate origins, and magnitude relationship is meant unit length proportionate relationship in both coordinate systems, and hiding relation is meant from both priority hierarchical sequences of user perspective.Image information and graphical information and between position, size, the relation of blocking etc. influence effect that actual situation merges all, so need in the actual situation fusion treatment process to adjust these three factors, to obtain good syncretizing effect.
The effect of display mode modeling is the display mode as a result of definition dynamic component, adds the appearance attribute that script realizes the experimental calculation result is converted into dynamic component.How the experimental result display mode upgrades appearance attribute according to experimental result if having defined, the main results display mode comprises: light pilot lamp, flashing indicator light, rotary indicator, object of which movement, change field color, display text, the digital font numerical value of demonstration, curve plotting etc.
The effect of interactive function modeling is through analyzing experimental result display mode and component interactive function, add interaction scripts, making up the mutual attribute of dynamic component.The dynamic interaction function has realized revising the parameters such as position, size, color of geometric configuration in the graphical information through the script that adds, and then revises the appearance attribute of dynamic component, and continuous quick variation produces animation effect.
Visual three parts that mainly comprise of dynamic component: outward appearance is visual, experimental result is visual and the user interactions response.The visual effect of outward appearance is an appearance attribute of in the virtual experimental teaching scene, drawing dynamic component.At first resolve the dynamic component in the virtual experimental teaching scene, obtain wherein image information and graphical information; Then image information and graphical information are handled respectively, obtained its detail parameters; At last, according to the hierarchical sequence between image information and the graphical information, successively drawing image information or graphical information.
The visual effect of experimental result is to carry out visual to the experimental result of dynamic component in the virtual experimental teaching environment.At first, from result of calculation, filter out the attribute that needs demonstration; Then, display mode as a result and the corresponding scripts according to dynamic component changes into the experimental result value appearance attributes such as angle, position, color; At last, draw dynamic component according to the appearance attribute that newly calculates, experimental result is visual to the user.Because experimental result real-time update, the outward appearance of dynamic component have also produced animation effect with regard to constantly changing, refreshing fast.
The effect of user interactions response is the user interactions request in the response virtual experimental teaching environment.At first, the user behavior in the monitoring virtual experimental teaching environment; When receiving user's interactive request, call corresponding mutual attribute, carry out corresponding script; At last, upgrade the drafting effect of dynamic component, user's request is provided response.Main user behavior comprises: mouse is pressed, mouse up, and click, right mouse button, mouse drag, keyboard is pressed, and keyboard unclamps, network event etc.
The present invention compared with prior art; Its beneficial feature is: 1, the present invention is according to the actual functional capability and the interactive features of experiment member; It is divided into two types of stationary member and dynamic components, has proposed a kind of dynamic component method for visualizing towards virtual experimental teaching.Adopt the actual situation combination technology that the appearance attribute of experiment member is carried out modeling when 2, the present invention is to the dynamic component modeling, merged image information and graphical information, make the appearance attribute of dynamic component not only have high fidelity but also be easy to revise.Not only appearance attribute is carried out modeling when 3, the present invention is to the dynamic component modeling; Simultaneously also mutual attribute is carried out modeling; Dynamic component being utilized the exchange attribute when visual, according to experimental result and user interactions request, the appearance attribute of ability real-time update dynamic component; And repaint dynamic component, for the user has brought the favorable experience sense.4, modeling and visual dynamic component National standard and standard among the present invention; And described modeling and method for visualizing have versatility; Can carry out modeling and visual to various complicated dynamic components; Do not receive the restriction of subject, be applicable to multi-disciplinary virtual experimentals such as physics, chemistry, electrotechnical, electronic, control automatically, computing machine subject.
Description of drawings:
Fig. 1 is an overall procedure synoptic diagram of the present invention;
Fig. 2 is dynamic component of the present invention and stationary member comparison diagram;
Fig. 3 is a dynamic component modeling process flow diagram of the present invention;
Fig. 4 is a dynamic component voltage table modeling synoptic diagram of the present invention;
Fig. 5 is dynamic component visible process figure of the present invention;
Fig. 6 is the visual synoptic diagram of dynamic component voltage table of the present invention.
Embodiment:
The present invention is a kind of method for visualizing of the dynamic component towards virtual experimental teaching, below in conjunction with accompanying drawing the present invention is elaborated.
Consult Fig. 1 general illustration of the present invention, the present invention is divided into modelling phase and visual stage.Modelling phase comprises four parts: (1) image information acquisition, and utilize image segmentation to obtain describing the image information of dynamic component; Carry out graphical information simultaneously and obtain, utilize interactive geometrical configuration to obtain describing the graphical information of dynamic component; (2) actual situation fusion treatment, composite image information and graphical information and between position, size, relation such as block, make up the dynamic component appearance attribute that actual situation merges; (3) display mode modeling as a result, the display mode as a result of definition dynamic component is added the appearance attribute that script realizes the experimental calculation result is converted into dynamic component; (4) dynamic interaction function modeling through analyzing the actual functional capability and the interactive features of experiment member, adds the interactive function that script is realized dynamic component.The visual stage comprises three parts: (1) outward appearance is visual; Resolve the dynamic experiment member in the virtual experimental teaching scene; Obtain describing dynamic component image information and graphical information and between position, size, relation such as block, the outward appearance of dynamic component is played up; (2) experimental result is visual, utilizes the display mode as a result of dynamic component, according to virtual experimental backstage result of calculation, carries out associated script calculating and upgrades appearance attribute, and repaint dynamic component, and experimental result is visual to the user; (3) user interactions response, monitoring users behavior in the virtual experimental teaching scene according to user's interactive request, is called corresponding mutual attribute, carries out corresponding script, upgrades the drafting effect of dynamic component, and user's request is provided response.
Consult Fig. 2 dynamic component of the present invention and stationary member comparison diagram, stationary member is meant the experiment member of the fixing no dynamic change of outward appearance in the virtual experimental teaching process, comprises domain attribute and appearance attribute; Dynamic component is meant outward appearance dynamic change in the virtual experimental teaching process, the experiment member that interaction is strong, not only comprises domain attribute and appearance attribute, also comprises mutual attribute.Wherein, the domain attribute of experiment member is all defined by the expert of association area.With battery in the middle school physical experiment and voltage table is example, and the domain attribute of battery comprises voltage and internal resistance, and appearance attribute need not show experimental result and response user's interactive request shown in figure; Voltage table also needs and can show experimental result through the pointer rotation except domain attributes such as voltage and range, appearance attribute, and the interactive request that the user is changed range in time provides response.
Consult Fig. 3 dynamic component modeling of the present invention process flow diagram, the dynamic component modeling may further comprise the steps:
Step a1: image information acquisition, utilize image segmentation to obtain describing the image information of dynamic component, for dynamic component provides outward appearance part true to nature.This step is at first carried out prospect and background sampling in the image of true experiment member, according to sampling set image pixel is carried out the prospect background classification then, and the edge of foreground data is carried out smoothing processing, obtains describing the image information of dynamic component.This module can extract the image information of describing dynamic component fast and accurately from complex image.Image information remains transplantable network image form, comprises four Color Channels of RGB α, and wherein the α passage is represented transparency.
Carry out graphical information simultaneously and obtain, utilize interactive geometrical configuration to obtain describing the graphical information of dynamic component, for dynamic component provides controlled outward appearance part.This step is at first selected basic geometric configuration; Attributes such as the locus through user interactions adjustment geometric configuration, size; The different geometric shape is combined into complex figure each other, be converted into unified descriptor format after, obtain describing the graphical information of dynamic component.Graphical information saves as the figure of scalable vector format, and all geometric configuratioies use extend markup language to describe.
Though image information has very high degree true to nature, image information all is an individual pixels, and it is edited and control expends bigger accurately.In contrast, the graphical information of describing dynamic component is to use basic geometric configuration to make up foundation each other, revises the appearance attribute of dynamic component easily through the parameters such as position, size and color of revising geometric configuration.
Step a2: the actual situation fusion treatment, composite image information and graphical information and between position, size, relation such as block, make up the dynamic component appearance attribute that actual situation merges.Make up in the dynamic component appearance attribute process of actual situation fusion; If spatial relationship is unreasonable between image information and the graphical information, inharmonious, the mutual hiding relation of relative size ratio is untrue; Syncretizing effect all can produce defective, therefore needs to consider spatial relation, size and the hiding relation between image information and the graphical information comprehensively.
Because different dynamic components, image information concerns numerous and diverse different with graphical information.This module provides certain function that image information and graphical information are edited, and guarantees that spatial relationship is reasonable, size is coordinated, hiding relation is true between the two.Main editting function comprises: the scaled of the position editor of image information position editor, graphical information, the scaled of image information, graphical information, the level editor of image information and the level editor of graphical information etc.
Step a3: display mode modeling as a result, the experimental result display mode of dynamic component is carried out modeling.This step at first defines the display mode as a result of dynamic component, adds the detailed process that script realizes calculating according to experimental result appearance attribute then.The main results display mode comprises: light pilot lamp, flashing indicator light, rotary indicator, object of which movement, change field color, display text, the digital font numerical value of demonstration, curve plotting etc.
Step a4: the dynamic interaction function modeling, carry out modeling to the interactive function of dynamic component.This step is added the interactive function that script is realized dynamic component through analyzing the actual functional capability and the interactive features of experiment member.Interaction scripts can be divided into the script of revising the member appearance attribute and the script of revising the member domain attribute by function.The script of revising the member appearance attribute mainly is through property values such as the position of revising the geometric configuration of forming graphical information, size, colors, and then revises the appearance attribute of dynamic component, and continuous quick variation produces animation effect.The script of revising the member domain attribute mainly is a property value of revising dynamic component, and can the property value that upgrade be sent the backstage, is used to calculate the experimental result of virtual experimental.
Consult Fig. 4 dynamic component voltage table of the present invention modeling synoptic diagram, at first, cross image Segmentation Technology is extracted voltage table from the image of true experiment member image informations such as dial plate; Through manually setting up the pointer figures information of voltage table alternately, comprise the pointer initial angle θ when the definition magnitude of voltage is zero simultaneously 0, current range V Min→ V MaxCorresponding rotating range θ Min→ θ MaxEtc. information; Then, image information and graphical information are merged, adjust dial plate size, adjustment pointer position, adjust the overall appearance that both hiding relations generate a voltage table; Add afterwards shown in the following formula of transformational relation of script definition measuring voltage V and pointer angle θ:
θ = θ 0 + V ( θ max - θ min ) V max - V min
It is the appearance attribute angle that this formula is used for the experimental result voltage transitions; At last, need the request of compile script response user switching range, promptly revise the V in the above-mentioned formula through script Max, V MinChanging is new value, and recomputates the anglec of rotation of pointer.
Consult Fig. 5 dynamic component visible process of the present invention figure, the present invention may further comprise the steps in the visual stage:
Step b1: outward appearance is visual, in the virtual experimental teaching scene, draws the appearance attribute of dynamic component.This step is at first resolved the dynamic component in the virtual experimental teaching scene, extracts wherein image information and graphical information and processing respectively.To image information need the width of further analysis diagram picture, highly, information such as resolution, position and level, recover view data; Need further parse the parameter such as basic geometric configuration and size thereof, position, color of each ingredient to graphical information, recover corresponding graphic data; At last, according to the hierarchical sequence between image information and the image information, successively drawing image information or graphical information.
Step b2: experimental result is visual, carries out visual to the experimental result of dynamic component in the virtual experimental teaching environment.This step at first filters out the attribute that needs demonstration from result of calculation; Display mode as a result and corresponding scripts according to dynamic component changes into the experimental result value appearance attributes such as angle, position, color then; And repaint dynamic component, experimental result is visual to the user.Because experimental result real-time update, the outward appearance of dynamic component have also produced animation effect with regard to constantly changing, refreshing fast.
Step b3: user interactions response, the user interactions request in the response virtual experimental teaching environment.This step is monitored the user behavior in virtual experimental teaching environment, when receiving user's interactive request, calls corresponding mutual attribute, carries out corresponding script, upgrades the drafting effect of dynamic component, and user's request is provided response.Main user behavior comprises: mouse is pressed, mouse up, and click, right mouse button, mouse drag, keyboard is pressed, and keyboard unclamps, network event etc.Because the difference of response script, the user can revise the domain attribute and the appearance attribute of dynamic component through interactive operation.
Consult the visual synoptic diagram of Fig. 6 dynamic component voltage table of the present invention; At first; In the virtual experimental teaching scene, resolve the dynamic component voltage table, extract image information and graphical information and between relation, draw dial plate earlier according to hierarchical sequence; Draw pointer again, the pointer initial position points to 0.0V; After the virtual experimental teaching scene brings into operation, in result of calculation, filter out the magnitude of voltage of voltage table, and be converted into the pointer angle according to the formula that has defined, repaint the voltage table pointer with this; When receiving the user interactions behavior when wanting the range of switched voltage table, move predefined script, according to new V Max, V MinRecomputate the pointer angle and draw pointer.
The present invention is divided into two types of stationary member and dynamic components according to the actual functional capability and the interactive features of experiment member with it, has proposed a kind of dynamic component method for visualizing towards virtual experimental teaching.And the modelling phase of the present invention adopts the actual situation combination technology that the appearance attribute of experiment member is carried out modeling, has merged image information and graphical information, makes the appearance attribute of dynamic component not only have high fidelity but also be easy to revise.
Modelling phase of the present invention is not only carried out modeling to the appearance attribute of dynamic component; While is also carried out modeling to the mutual attribute of dynamic component; At the mutual attribute of the utilization in visual stage, according to experimental result and user interactions request, the appearance attribute of ability real-time update dynamic component; And repaint dynamic component, for the user has brought the favorable experience sense.In addition; Modeling and visual dynamic component National standard and standard among the present invention; And described modeling and method for visualizing have versatility; Can carry out modeling and visual to various complicated dynamic components, not receive the restriction of subject, be applicable to multi-disciplinary virtual experimentals such as physics, chemistry, electrotechnical, electronic, control automatically, computing machine subject.
The above is merely basic explanations more of the present invention, and any equivalent transformation according to technical scheme of the present invention is done all should belong to protection scope of the present invention.

Claims (7)

1. method for visualizing towards the dynamic component of virtual experimental teaching is characterized in that may further comprise the steps:
Step 1, in the virtual experimental teaching environment to the modeling of dynamic component, be specially:
Step a1 utilizes image segmentation to obtain describing the image information of dynamic component; Simultaneously, utilize interactive geometrical configuration to obtain describing the graphical information of dynamic component;
Step a2, composite image information and graphical information and between position, size, hiding relation, make up the dynamic component appearance attribute that actual situation merges;
Step a3, display mode modeling as a result, through analyzing the experimental result display mode, the display mode as a result of definition dynamic component is added the appearance attribute that script realizes the experimental calculation result is converted into dynamic component;
Step a4 through analyzing the experiment member function, adds interaction scripts, makes up the mutual attribute of dynamic component, accomplishes the modeling of dynamic component;
Step 2, visual to dynamic component in the virtual experimental teaching environment are specially:
Step b1 resolves the dynamic component in the virtual experimental teaching scene, according to appearance attribute, obtains image information and graphical information, and the outward appearance of dynamic component is played up;
Step b2 utilizes the mutual attribute of dynamic component, according to virtual experimental backstage result of calculation, calculates and upgrades appearance attribute, and repaint dynamic component, gives the user with experimental result is visual;
Step b3, monitoring users behavior in the virtual experimental teaching scene according to user's interactive request, is called corresponding mutual attribute, and the dynamic response alternative events are upgraded visualization result.
2. the method for visualizing of the dynamic component towards virtual experimental teaching according to claim 1, it is characterized in that: described dynamic component is meant outward appearance dynamic change in the virtual experimental teaching process, the experiment member that interaction is strong.
3. the method for visualizing of the dynamic component towards virtual experimental teaching according to claim 1; It is characterized in that: the modeling of the dynamic component in the step 1 is based on the actual situation combination technology; Image information and graphical information have been merged; Not only the appearance attribute to dynamic component carries out modeling, also the mutual attribute of dynamic component is carried out modeling simultaneously, and concrete steps are:
Step c1 carries out prospect and background sampling in the image of true experiment member, according to sampling set image pixel is classified, and the edge of cutting apart the back prospect is carried out smoothing processing, obtains describing the image information of dynamic component;
Select basic geometric configuration simultaneously, through locus, the size attribute of user interactions adjustment geometric configuration, the different geometric shape is combined into complex figure each other, obtains describing the graphical information of dynamic component;
Step c2 superposes image information and graphical information, between the two position, size of adjustment, relation such as blocks, and accomplishes the actual situation fusion treatment, makes up the dynamic component appearance attribute that actual situation merges;
Step c3, through analyzing the display mode as a result of experiment member, the display mode as a result of definition dynamic component is added script and is realized the experimental calculation result is converted into the dynamic component appearance attribute, accomplishes display mode modeling as a result;
Step c4 through analyzing the actual functional capability and the interactive features of experiment member, adds the interactive function that script is realized dynamic component, makes up the mutual attribute of dynamic component.
4. the method for visualizing of the dynamic component towards virtual experimental teaching according to claim 3; It is characterized in that: in the dynamic component appearance attribute process that the structure actual situation described in the step c2 merges; Position relation between image information and graphical information is meant the relative position of both coordinate origins; Magnitude relationship is meant unit length proportionate relationship in both coordinate systems, and hiding relation is meant from both priority hierarchical sequences of user perspective; If spatial relationship is unreasonable between image information and the graphical information, inharmonious, the mutual hiding relation of relative size ratio is untrue, syncretizing effect all can produce defective.
5. the method for visualizing of the dynamic component towards virtual experimental teaching according to claim 3; It is characterized in that: the experimental result display mode described in the step c3 belongs to the mutual attribute of dynamic component; Experimental result influences the appearance attribute of dynamic component; Display mode has determined to influence details as a result; Script has realized experimental result is converted into the detailed process of appearance attribute, and main display mode comprises: light pilot lamp, flashing indicator light, rotary indicator, object of which movement, change field color, display text, the digital font numerical value of demonstration, curve plotting etc.
6. the dynamic component method for visualizing towards virtual experimental teaching according to claim 3; It is characterized in that: the interactive function described in the step c4 belongs to the mutual attribute of dynamic component; The script that adds is revised position, size, the color parameter of geometric configuration in the graphical information; And then the appearance attribute of modification dynamic component, continuous quick variation produces animation effect.
7. the method for visualizing of the dynamic component towards virtual experimental teaching according to claim 1; It is characterized in that: the visual of the dynamic component in the step 2 not only drawn according to appearance attribute; Can also upgrade the rendering effect of testing member, following steps according to mutual attribute and user interactions request dynamic:
Steps d 1 is resolved the dynamic component in the virtual experimental teaching scene, obtain describing dynamic component image information and graphical information and between position, size, relation such as block, the appearance attribute of dynamic component is played up;
Steps d 2 is utilized the display mode as a result of dynamic component, according to virtual experimental backstage result of calculation, carries out associated script and calculates and upgrade appearance attribute, and repaint dynamic component, gives the user with experimental result is visual;
Steps d 3, monitoring users behavior in the virtual experimental teaching scene according to user's interactive request, is called corresponding mutual attribute, carries out corresponding script, upgrades visualization result, accomplishes the user interactions request responding.
CN201110301917.1A 2011-09-30 2011-09-30 Virtual experiment teaching oriented dynamic component visualization method Active CN102508994B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110301917.1A CN102508994B (en) 2011-09-30 2011-09-30 Virtual experiment teaching oriented dynamic component visualization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110301917.1A CN102508994B (en) 2011-09-30 2011-09-30 Virtual experiment teaching oriented dynamic component visualization method

Publications (2)

Publication Number Publication Date
CN102508994A true CN102508994A (en) 2012-06-20
CN102508994B CN102508994B (en) 2014-06-25

Family

ID=46221079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110301917.1A Active CN102508994B (en) 2011-09-30 2011-09-30 Virtual experiment teaching oriented dynamic component visualization method

Country Status (1)

Country Link
CN (1) CN102508994B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945313A (en) * 2012-10-18 2013-02-27 北京航空航天大学 Method for constructing and demonstrating teaching content of open type virtual experiment
CN103785174A (en) * 2014-02-26 2014-05-14 北京智明星通科技有限公司 Method and system for displaying tens of thousands of people on same screen of game
CN104077316A (en) * 2013-03-29 2014-10-01 江苏北极光科技发展有限公司 Visualization technique
CN104765899A (en) * 2014-01-02 2015-07-08 航天信息股份有限公司 Computer graphic representation method and device for grain circulation facility
CN105913493A (en) * 2016-04-25 2016-08-31 北京航空航天大学 Interaction property and three-dimensional model combined construction method based on single image
CN106355630A (en) * 2015-07-21 2017-01-25 鸿合科技有限公司 Device and method for dynamic entity generation on basis of characteristics
CN107957862A (en) * 2017-12-06 2018-04-24 杭州同立方软件有限公司 A kind of requirement analysis method for building industry science class virtual emulation practice-training teaching software
CN109598999A (en) * 2018-12-18 2019-04-09 济南大学 A kind of virtual experimental container that behavior can be toppled over Intellisense user
CN110631708A (en) * 2018-06-22 2019-12-31 杭州阿尔法红外检测技术有限公司 Analysis configuration device and analysis configuration method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110349469A (en) * 2019-07-21 2019-10-18 李力 A kind of boss bolt pretightning force controlled training system of HWIL simulation

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030066026A1 (en) * 2001-08-13 2003-04-03 David Jaffe System and method for simulating a laboratory experiment
CN101894489A (en) * 2010-07-30 2010-11-24 山东大学 Method for virtual experiment apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030066026A1 (en) * 2001-08-13 2003-04-03 David Jaffe System and method for simulating a laboratory experiment
CN101894489A (en) * 2010-07-30 2010-11-24 山东大学 Method for virtual experiment apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
于兴彬等: "基于SVG的虚拟实验器件元数据模型", 《中国科技论文在线精品论文》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945313A (en) * 2012-10-18 2013-02-27 北京航空航天大学 Method for constructing and demonstrating teaching content of open type virtual experiment
CN104077316A (en) * 2013-03-29 2014-10-01 江苏北极光科技发展有限公司 Visualization technique
CN104765899A (en) * 2014-01-02 2015-07-08 航天信息股份有限公司 Computer graphic representation method and device for grain circulation facility
CN104765899B (en) * 2014-01-02 2019-01-29 航天信息股份有限公司 The computer graphical representation method and apparatus of grain circulation facility
CN103785174A (en) * 2014-02-26 2014-05-14 北京智明星通科技有限公司 Method and system for displaying tens of thousands of people on same screen of game
CN103785174B (en) * 2014-02-26 2016-08-17 北京智明星通科技有限公司 A kind of same screen of playing shows the method and system of ten thousand people
CN106355630A (en) * 2015-07-21 2017-01-25 鸿合科技有限公司 Device and method for dynamic entity generation on basis of characteristics
CN106355630B (en) * 2015-07-21 2021-06-29 鸿合科技股份有限公司 Feature-based dynamic entity generation method and device
CN105913493A (en) * 2016-04-25 2016-08-31 北京航空航天大学 Interaction property and three-dimensional model combined construction method based on single image
CN105913493B (en) * 2016-04-25 2019-03-08 北京航空航天大学 A kind of interaction attributes based on single image and threedimensional model joint mapping method
CN107957862A (en) * 2017-12-06 2018-04-24 杭州同立方软件有限公司 A kind of requirement analysis method for building industry science class virtual emulation practice-training teaching software
CN110631708A (en) * 2018-06-22 2019-12-31 杭州阿尔法红外检测技术有限公司 Analysis configuration device and analysis configuration method
CN110631708B (en) * 2018-06-22 2022-05-17 杭州阿尔法红外检测技术有限公司 Analysis configuration device and analysis configuration method
CN109598999A (en) * 2018-12-18 2019-04-09 济南大学 A kind of virtual experimental container that behavior can be toppled over Intellisense user

Also Published As

Publication number Publication date
CN102508994B (en) 2014-06-25

Similar Documents

Publication Publication Date Title
CN102508994B (en) Virtual experiment teaching oriented dynamic component visualization method
Lv et al. Virtual reality geographical interactive scene semantics research for immersive geography learning
CN102945313A (en) Method for constructing and demonstrating teaching content of open type virtual experiment
CN106354760A (en) Deforming statistical map based multi-view spatio-temporal data visualization method and application
Liu et al. IFC-based integration tool for supporting information exchange from architectural model to structural model
CN102768308B (en) Method for carrying out visual simulation test on dielectric loss of current transformer
CN102073645B (en) Virtual city model machine and operation method thereof
Bai et al. Contextual adaptive knowledge visualization environments
Xu Three-dimensional visualization algorithm simulation of construction management based on GIS and VR technology
Jin et al. Application of VR technology in jewelry display
Xu et al. Design of yunnan province soil environmental quality monitoring and analysis platform based on webgis
Shi et al. Application research of virtual reality technology in ocean environmental art design
Wang et al. Advances in Cartography and Geographic Information Engineering
Zhao et al. Application of multimedia technology in water conservancy and hydropower engineering
Srivastav et al. Review and comparison of data visualization techniques used in building design and in building simulation
Liu et al. Application of virtual reality technology and traditional cultural elements in landscape regeneration design
CN112507549B (en) Modularized hydrologic simulation system
Shengyi et al. Research on integrated application of virtual reality technology based on BIM
Wang et al. Panoramic display and planning simulation of civil engineering project based on virtual reality technology
Li et al. Research on 3D international river visualization simulation based on human-computer interaction
Luo et al. The Application of Virtual Reality Technology in Environmental Art Design
Fricker et al. Digital Landscape Architecture Education–Where Do We Stand and Where Should We Go?
Xiong The Application of Computer Three-dimensional Modelling Technology in Environmental Art Design Major
Wang et al. Design and application of digital twin platform based smart Weihe River Basin
Bai Analysis And Visualization of Online Learning Data Based on Crowd Sensing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant