Summary of the invention
Because the above-mentioned defective of prior art, the embodiment of the invention provides the display packing in a kind of interactive system, to solve prior art problems.
A kind of in interactive system the method for display object, it is characterized in that:
Step 1: alternative also enters the pattern of dragging;
Step 2: make described object drag a distance with certain orientation;
Step 3: make described object stop to continue to move, keep described object to be in the pattern of dragging, pick up counting simultaneously by described direction;
Step 4: detect the time of experiencing from the moment that picks up counting, if the time of described experience is promptly withdrawed from the pattern of dragging less than the preset time threshold value, then stop timing,, then stop timing and make described object enter rolling mode if described elapsed-time standards is more than the preset time threshold value.
Preferably, display reminding information in described picking up counting.
Preferably, described information is to be superimposed upon image and/or the literal that shows on the described object.
Preferably, described information is carried out interim change for the display properties to described object.
Preferably, described display properties comprises one or more in brightness, contrast, foreground, background colour, line style, the filling.
Preferably, in described rolling mode, if the user is by predetermined roll forward operation, then described object continues to move along the direction that withdraws from described displacement when dragging pattern; If the user by and predetermined rolling operation just round about, then described object moves along the reverse direction that withdraws from described displacement when dragging pattern.
The present invention also provides a kind of interactive system, has wherein used the method for the above described display object of arbitrary technical scheme.
Embodiment
Fig. 1 is the system diagram of interactive electric whiteboard.Wherein 11 represent computing machine, it has a display, and 12 represent projector, and it is connected with computing machine 11 by communication link 15, and projector generally is fixed on the ceiling, or is placed in fixing position; 13 represent pen with means for holding it in right position, the demonstrator uses this pen with means for holding it in right position 13 contact electronic whiteboards 14, electronic whiteboard 14 generally is fixed on the wall, it is connected with computing machine by communication link 16, the demonstrator uses pen with means for holding it in right position contact electronic whiteboard, and electronic whiteboard is responded to a position contacting that is positioned, and then this positional information is transmitted back to computing machine, computing machine is converted into cursor information with this positional information, then image is presented on the electronic curtain by projector; Image on the display of computing machine is consistent with the image of electronic whiteboard.
Below with the method for picture as the object description demonstration.
Step 201: the user uses pen with means for holding it in right position to move picture; Herein mobile comprises toward any direction of screen moves, can be for upwards, downwards, left, to the right, tiltedly on, oblique inferior any direction;
Step 202: make described picture drag a distance with certain orientation;
Step 203: continue the mobile viewing area that will cause picture to exceed screen, stop mobile picture and keep described picture to be in the pattern of dragging simultaneously this moment;
Step 204: the picture that will exceed on-screen display (osd) area is mapped to the other parts of screen, simultaneously display reminding information;
Step 205: detect from showing described information time of experience constantly, if the time of described experience is less than the preset time threshold value, then make this picture withdraw from the pattern of dragging,, then make this picture enter rolling mode if described elapsed-time standards reaches more than the preset time threshold value.
Described information can be literal, the figure that is superimposed upon on the former display message, also can be that the attributes such as brightness, contrast, color, filling to the picture that moves carry out interim change.
Described time threshold can be chosen as the 500-1000 millisecond, is preferably the 600-800 millisecond.
Fig. 2 is the picture that moves up, and the height of establishing the electronic whiteboard screen herein is L, and wide is W, summit, lower left with electronic whiteboard is true origin (0,0), so for the arbitrary position (x in the picture, y), when to the mobile picture in screen top, y constantly increases, when y>L, picture exceeds the screen display scope, for original system, these parts that exceed will no longer show, and in the present invention, for the point of y>L, system is mapped in second zone of electronic whiteboard screen with it; Promptly (x, y-L); Can see that so off-limits picture enters screen below screen, and can not disappear on the screen.When picture was dragged out above-mentioned indication range, the user no longer continued mobile picture but still keeps the operation of pen with means for holding it in right position is kept the pattern that drags, and this moment, picture showed to emphasize pattern, and a timer is activated simultaneously.If the user stopped the operation to electronic pen before reaching the preset time threshold value, then picture stops emphasizing that pattern shows, withdraws from the pattern of dragging simultaneously.If the user still keeps the operation to electronic pen after reaching the preset time threshold value, then picture enters rolling mode, and picture stops emphasizing that pattern shows simultaneously.
In rolling mode, the user can be with electronic pen with predetermined direction, and for example clockwise direction moves in a circle, and this picture continues to move along the direction that withdraws from described displacement when dragging pattern simultaneously.If the user operate electronic pen by with predetermined rolling operation just round about, then this picture moves along the reverse direction that withdraws from described displacement when dragging pattern.The mass motion track of electronic pen from the pattern of dragging to rolling mode is shown in Fig. 5 A.
For the picture that moves down, the picture of y<0 position is mapped in the first half of picture, be about to (x, y) be mapped in (x, position y+L), like this, when the user moves down picture, the picture that exceeds screen area will be presented at the first half of screen, and the effect of roll display appears in picture.
Fig. 3 is toward moving right picture, when picture moves to the right half part border of screen, continue toward moving right picture, at this moment the part of picture exceeds the viewing area of screen, is (x, y) a bit for coordinate in the picture, when x>W, think that then this point has exceeded the indication range of screen, this point is mapped to (x-W, y); Then picture enters from the left-half of screen again.
When moving left picture, when x<0, think that then this point exceeds the indication range of screen, this point is mapped to (x+W, y); Picture enters from the right half part of screen again.
Correspondingly, when the user when picture moves the indication range border, can stop to move and remaining on the pattern of dragging to picture equally, after reaching the preset time threshold value, still keep operation to electronic pen, then picture enters rolling mode, and picture stops emphasizing that pattern shows simultaneously.
In rolling mode, the user can be with electronic pen with predetermined direction, and for example clockwise direction moves in a circle, and this picture continues to move along direction to the right simultaneously.If the user operates electronic pen by the counter clockwise direction rolling operation, then this picture edge direction left moves.The mass motion track of electronic pen from the pattern of dragging to rolling mode is shown in Fig. 5 B.
Fig. 4 A and 4B are oblique mobile pictures.When toward the screen oblique upper when moving picture, picture will exceed indication range, in the picture a bit (x y) has three kinds of situations: 1, have only the y direction to go beyond the scope, i.e. x<W, y>L; 2, have only the x direction to go beyond the scope, i.e. x>W, y<L; 3, x, all super scope of y direction, i.e. x>W, y>L; The present invention is only shone upon situation 3, and ignores the picture of situation 1 and situation 2, system with the point in the situation 3 (x, y) be mapped as (x-W, y-L); Picture will enter from the lower left of screen so;
Equally, for the picture that moves toward the screen lower left, only to x<0, the point of y<0 (x y) shines upon, it is mapped as (x+W, y+L); The picture that exceeds the viewing area will appear at the upper right side of screen.For the picture that moves toward the screen lower right; Only to x>W, the point of y<0 (x y) shines upon, it is mapped as (x-W, y+L), picture enters from the upper left side of screen like this; Picture for moving toward the screen upper left side has only x<0, and (x y) shines upon the point of y>L, it is mapped as (x+W, y-L), picture enters from the lower right of screen like this.
Certainly, the user can switch to rolling mode equally by the way when not reaching the indication range border, thereby operation makes object picture move in a big way in more among a small circle.
The above only is several specific embodiment of the present invention, and above embodiment only is used for technical scheme of the present invention and inventive concept are done explanation and unrestricted claim scope of the present invention.All technician in the art in conjunction with prior art, by the available other technologies scheme of logic analysis, reasoning or limited experiment, also should be considered to drop within the claim protection domain of the present invention on the inventive concept basis of this patent.