CN104715452A - Regular prism plane display method and device - Google Patents
Regular prism plane display method and device Download PDFInfo
- Publication number
- CN104715452A CN104715452A CN201310681420.6A CN201310681420A CN104715452A CN 104715452 A CN104715452 A CN 104715452A CN 201310681420 A CN201310681420 A CN 201310681420A CN 104715452 A CN104715452 A CN 104715452A
- Authority
- CN
- China
- Prior art keywords
- regular prism
- planar graph
- summit
- limit
- prism planar
- 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
Links
Landscapes
- Optical Elements Other Than Lenses (AREA)
- Image Generation (AREA)
Abstract
The invention discloses a regular prism plane display method. The method comprises steps: an instruction of displaying a plane graph of a regular prism at any initial state is received; plane coordinates of each vertex of the bottom surface are obtained; two bottom surface vertexes with the maximal absolute value of X coordinate differences are obtained via calculation, and the bottom surface vertexes serve as reference vertexes; all bottom surface vertexes whose Y vertex values are greater than those of the two reference vertexes are obtained via calculation, and the bottom surface vertexes serve as virtual vertexes; the edge of a regular prism at the initial state with at least one of all virtual vertexes to be one of end points is displayed to be a virtual line; a graph rotation instruction is received; and according to the graph rotation instruction, a regular prism plane graph after rotating around the axis for a certain angle is displayed. The invention also provides a regular prism plane display device. According to the regular prism plane display method and the device, a function of carrying out further transformation operation on the regular prism plane graph can be realized, a teaching process by a teacher is better assisted, and user experience is enhanced.
Description
Technical field
The present invention relates to figure display and control technology field, refer to a kind of regular prism plane display method and device especially.
Background technology
Nowadays, teaching white board software becomes main flow teaching tool gradually.In classroom instruction instrument, comprise the contents such as Chinese language, English, mathematics, physics, chemistry, biology, geography, music with account classification; Wherein, mathematics used tool comprises drafting point, line, surface, solid geometry figure etc.; In common whiteboarding software, the plane of solid geometry figure shows the planar graph of mainly solid line and dotted line composition, and this figure, after completing, can not make any change or conversion to it, only can play displaying effect, the further explanation for teacher does not then have booster action.The function of obvious this educational aid is comparatively single, can not well promote Consumer's Experience likability.
Summary of the invention
In view of this, the object of the invention is to propose a kind of regular prism plane display method and device, it can realize the function of regular prism planar graph being carried out to further map function, and the teaching process of auxiliary teacher, improves Consumer's Experience better.
Based on above-mentioned purpose a kind of regular prism plane display method provided by the invention, comprising:
The instruction of receiving plane display arbitrary initial state regular prism planar graph;
Obtain the planimetric coordinates on Zhong Ge summit, described original state regular prism planar graph bottom surface;
Calculate the summit, two bottom surfaces of the maximum absolute value of the difference of the x coordinate figure on summit, any two bottom surfaces, using the summit, bottom surface that this calculates as reference vertex;
Calculate the summit, all bottom surfaces that y coordinate figure is greater than the y coordinate figure of described two reference vertex, using the summit, bottom surface that this calculates as empty summit;
The limit being the described original state regular prism planar graph of one of its end points with at least one in all described empty summits is shown as dotted line, and remaining limit is shown as solid line;
Receive figure rotate instruction;
According to the regular prism planar graph of described figure rotate instruction display after its axis rotates to an angle.
In some embodiments, described rotate to an angle according to the display of described figure rotate instruction after described regular prism step after also comprise:
Obtain the new planimetric coordinates on Zhong Ge summit, described postrotational regular prism planar graph bottom surface;
Calculate the summit, two bottom surfaces of the maximum absolute value of the difference of the new x coordinate figure on summit, described any two bottom surfaces, using the summit, bottom surface that this calculates as new reference vertex;
Calculate the summit, all bottom surfaces that y coordinate figure is greater than the new y coordinate figure of described new reference vertex, using the summit, bottom surface that this calculates as new empty summit;
The limit being the described postrotational regular prism planar graph of one of its end points with at least one in all described empty summits is newly shown as dotted line, and other limits are shown as solid line.
In some embodiments, comprise before the step of described reception figure rotate instruction: one of them of summit, described regular prism planar graph bottom surface is set to and rotates reference mark;
The step of described reception figure rotate instruction comprises:
Obtain the sliding path at described rotation reference mark;
Sense of rotation and the anglec of rotation of described regular prism planar graph is calculated according to described rotation reference mark sliding path.
In some embodiments, described calculate the sense of rotation of described regular prism planar graph and the step of the anglec of rotation according to described rotation reference mark sliding path after also comprise:
The new planimetric coordinates at described rotation reference mark is calculated according to the sense of rotation of the described regular prism planar graph obtained and the anglec of rotation;
New planimetric coordinates according to described rotation reference mark repaints regular prism planar graph;
Obtain described postrotational regular prism planar graph.
In some embodiments, described by being the described original state regular prism planar graph of one of its end points with at least one in all described empty summits, limit is shown as dotted line, and remaining limit also comprises after being shown as the step of solid line:
Described original state regular prism planar graph is shown as the color treatments on the limit of dotted line for mark look.
In some embodiments, described by being the described postrotational regular prism planar graph of one of its end points with at least one in all described empty summits newly, limit is shown as dotted line, and other limits also comprise after being shown as the step of solid line:
According to described rotation reference mark sliding path calculate limit that described original state regular prism planar graph is shown as dotted line rotate to an angle after reposition, and be described mark look by its color treatments.
In some embodiments, described by being the described original state regular prism planar graph of one of its end points with at least one in all described empty summits, limit is shown as dotted line, and remaining limit also comprises after being shown as the step of solid line:
Flicker effect process is carried out to the limit that described original state regular prism planar graph is shown as dotted line.
In some embodiments, described by being the described postrotational regular prism planar graph of one of its end points with at least one in all described empty summits newly, limit is shown as dotted line, and other limits also comprise after being shown as the step of solid line:
Flicker effect process is carried out to the limit that described postrotational regular prism planar graph is shown as dotted line.
In some embodiments, described regular prism plane display method also comprises:
For regular prism planar graph distributes at least one shape control point;
Obtain the sliding path of described shape control point;
The deformation vectors of described regular prism planar graph is calculated according to described shape control point sliding path;
Described regular prism planar graph is repainted according to described deformation vectors.
In some embodiments, the number on the limit of described regular prism bottom surface is more than or equal to 4.
Present invention also offers a kind of regular prism flat display apparatus, comprising:
Receiver module, for instruction and the reception figure rotate instruction of receiving plane display arbitrary initial state regular prism planar graph;
Computing module, for calculating the summit, two bottom surfaces of the maximum absolute value of the difference of the x coordinate figure on summit, any two bottom surfaces, using the summit, bottom surface that this calculates as reference vertex; And, calculate the summit, all bottom surfaces that y coordinate figure is greater than the y coordinate figure of described two reference vertex, using the summit, bottom surface that this calculates as empty summit;
Processing module, for obtaining the planimetric coordinates on Zhong Ge summit, described original state regular prism planar graph bottom surface according to the instruction of receiving plane display arbitrary initial state regular prism planar graph; Obtaining take at least one in all described empty summits as the position on the limit of the described original state regular prism planar graph of one of its end points; And the anglec of rotation of original state regular prism planar graph is calculated according to described figure rotate instruction;
Display module, for the limit being the described original state regular prism planar graph of one of its end points with at least one in all described empty summits is shown as dotted line, remaining limit is shown as solid line; And, show the regular prism planar graph after its axis rotates to an angle.
In some embodiments, described processing module is also for obtaining the new planimetric coordinates on Zhong Ge summit, described postrotational regular prism planar graph bottom surface according to figure rotate instruction; And obtaining take at least one in all described empty summits newly as the position on the limit of the described postrotational regular prism planar graph of one of its end points;
Described computing module also for calculating the summit, two bottom surfaces of the maximum absolute value of the difference of the new x coordinate figure on summit, described any two bottom surfaces, using the summit, bottom surface that this calculates as new reference vertex; And, calculate the summit, all bottom surfaces that y coordinate figure is greater than the new y coordinate figure of described new reference vertex, using the summit, bottom surface that this calculates as new empty summit;
Described display module is also for being shown as dotted line by the limit being the described postrotational regular prism planar graph of one of its end points with at least one in all described empty summits newly, and other limits are shown as solid line.
In some embodiments, described processing module also rotates reference mark for one of them of summit, described regular prism planar graph bottom surface being set to; Described display module is also for being shown in the relevant position of described regular prism planar graph by described rotation reference mark correspondence;
Described receiver module is also for obtaining the sliding path at described rotation reference mark;
Described computing module is also for calculating sense of rotation and the anglec of rotation of described regular prism planar graph according to described rotation reference mark sliding path.
In some embodiments, described computing module is also for calculating the new planimetric coordinates at described rotation reference mark according to the sense of rotation of described regular prism planar graph obtained and the anglec of rotation; Described processing module is also for repainting regular prism planar graph according to the new planimetric coordinates at described rotation reference mark and obtaining described postrotational regular prism planar graph.
In some embodiments, described processing module is also for being shown as the color treatments on the limit of dotted line for mark look by described original state regular prism planar graph.
In some embodiments, the reposition after the limit that described computing module is also shown as dotted line for calculating described original state regular prism planar graph according to described rotation reference mark sliding path rotates to an angle; The color treatments of described processing module also for the described original state regular prism planar graph of described new position is shown as the limit of dotted line is described mark look.
In some embodiments, flicker effect process is carried out on the limit of described processing module also for being shown as dotted line to described original state regular prism planar graph.
In some embodiments, flicker effect process is carried out on the limit of described processing module also for being shown as dotted line to described postrotational regular prism planar graph.
In some embodiments, described receiver module is also for obtaining the sliding path of described shape control point;
Described computing module is also for calculating the deformation vectors of described regular prism planar graph according to described shape control point sliding path;
Described processing module is also for distributing at least one shape control point for regular prism planar graph; And, repaint described regular prism planar graph according to described deformation vectors.
In some embodiments, the number on the limit of described regular prism bottom surface is more than or equal to 4.
As can be seen from above, regular prism plane display method provided by the invention and device, contrasted the planimetric coordinates on summit, bottom surface in the regular prism planar graph of plane display, achieve the display of regular prism planar graph by mode cleverly; Further, rotating the sliding path at reference mark according to judging, calculating and contrasting the planimetric coordinates on summit, bottom surface in postrotational regular prism planar graph, thus achieving the display of postrotational regular prism planar graph; And ensure that the limit can not seen in postrotational regular prism planar graph is shown as dotted line all the time, can more vivo coordinate teaching process to show regular prism planar graph.
Further, by carrying out flicker process to dotted line, can also strengthen reminding effect, thus attract the notice of student; Preferably, also by the dotted line limit in the regular prism planar graph of original state being passed through the process of mark look, and in follow-up postrotational regular prism planar graph, calculate its postrotational position and proceed signal coloration process (now this dotted line limit possibility or dotted line after rotating, also solid line may be become), with play show the limit that is blocked at the beginning of regular prism after rotation or effect after not being blocked, play the effect of aided education explanation better.
Optionally, also realizing carrying out regular prism planar graph the deformation operation of vertical and horizontal by arranging shape control point, making the content of courses abundanter.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of an embodiment of regular prism plane display method provided by the invention;
Fig. 2 is the schematic flow sheet of another embodiment of regular prism plane display method provided by the invention;
Fig. 3 a is the original state quadrangular planar graph in regular prism plane display method embodiment provided by the invention and the quadrangular planar graph after rotating to an angle;
Fig. 3 b is original state quadrangular planar graph in regular prism plane display method embodiment provided by the invention and rotates to an angle and quadrangular planar graph after longitudinal deformation;
Fig. 3 c be original state quadrangular planar graph in regular prism plane display method embodiment provided by the invention and rotate to an angle, longitudinal deformation quadrangular planar graph after transverse deformation;
Fig. 4 is the structural representation of an embodiment of regular prism flat display apparatus provided by the invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with specific embodiment, and with reference to accompanying drawing, the present invention is described in more detail.
With reference to accompanying drawing 1, it is the schematic flow sheet of an embodiment of regular prism plane display method provided by the invention;
Described regular prism plane display method, comprising:
Step 101: the instruction of receiving plane display arbitrary initial state regular prism planar graph;
Step 102: the planimetric coordinates obtaining Zhong Ge summit, described original state regular prism planar graph bottom surface;
Step 103: the summit, two bottom surfaces calculating the maximum absolute value of the difference of the x coordinate figure on summit, any two bottom surfaces, using the summit, bottom surface that this calculates as reference vertex;
Step 104: calculate the summit, all bottom surfaces that y coordinate figure is greater than the y coordinate figure of described two reference vertex, using the summit, bottom surface that this calculates as empty summit;
Step 105: the limit being the described original state regular prism planar graph of one of its end points with at least one in all described empty summits is shown as dotted line, and remaining limit is shown as solid line;
Step 106: receive figure rotate instruction;
Step 107: according to the regular prism planar graph of described figure rotate instruction display after its axis rotates to an angle.
Further, described rotate to an angle according to the display of described figure rotate instruction after described regular prism step after also comprise:
Obtain the new planimetric coordinates on Zhong Ge summit, described postrotational regular prism planar graph bottom surface;
Calculate the summit, two bottom surfaces of the maximum absolute value of the difference of the new x coordinate figure on summit, described any two bottom surfaces, using the summit, bottom surface that this calculates as new reference vertex;
Calculate the summit, all bottom surfaces that y coordinate figure is greater than the new y coordinate figure of described new reference vertex, using the summit, bottom surface that this calculates as new empty summit;
The limit being the described postrotational regular prism planar graph of one of its end points with at least one in all described empty summits is newly shown as dotted line, and other limits are shown as solid line.
Optionally, comprise before the step of described reception figure rotate instruction: one of them of summit, described regular prism planar graph bottom surface is set to and rotates reference mark;
The step of described reception figure rotate instruction then comprises:
Obtain the sliding path at described rotation reference mark;
Sense of rotation and the anglec of rotation of described regular prism planar graph is calculated according to described rotation reference mark sliding path.
Further, described calculate the sense of rotation of described regular prism planar graph and the step of the anglec of rotation according to described rotation reference mark sliding path after also comprise:
The new planimetric coordinates at described rotation reference mark is calculated according to the sense of rotation of the described regular prism planar graph obtained and the anglec of rotation;
New planimetric coordinates according to described rotation reference mark repaints regular prism planar graph;
Obtain described postrotational regular prism planar graph.
Preferably, described by being the described original state regular prism planar graph of one of its end points with at least one in all described empty summits, limit is shown as dotted line, and remaining limit also comprises after being shown as the step of solid line: described original state regular prism planar graph is shown as the color treatments on the limit of dotted line for mark look.
Further, it is described that by being the described postrotational regular prism planar graph of one of its end points with at least one in all described empty summits newly, limit is shown as dotted line, other limits also comprise after being shown as the step of solid line: according to described rotation reference mark sliding path calculate limit that described original state regular prism planar graph is shown as dotted line rotate to an angle after reposition, and be described mark look by its color treatments.
Optionally, described by being the described original state regular prism planar graph of one of its end points with at least one in all described empty summits, limit is shown as dotted line, and remaining limit also comprises after being shown as the step of solid line: carry out flicker effect process to the limit that described original state regular prism planar graph is shown as dotted line.
Further, described by being the described postrotational regular prism planar graph of one of its end points with at least one in all described empty summits newly, limit is shown as dotted line, and other limits also comprise after being shown as the step of solid line: carry out flicker effect process to the limit that described postrotational regular prism planar graph is shown as dotted line.
With reference to accompanying drawing 2, it is the schematic flow sheet of another embodiment of regular prism plane display method provided by the invention.
Described regular prism plane display method, comprising:
Step 201: the instruction of receiving plane display arbitrary initial state regular prism planar graph;
Step 202: the planimetric coordinates obtaining Zhong Ge summit, described original state regular prism planar graph bottom surface;
Step 203: the summit, two bottom surfaces calculating the maximum absolute value of the difference of the x coordinate figure on summit, any two bottom surfaces, using the summit, bottom surface that this calculates as reference vertex;
Step 204: calculate the summit, all bottom surfaces that y coordinate figure is greater than the y coordinate figure of described two reference vertex, using the summit, bottom surface that this calculates as empty summit;
Step 205: the limit being the described original state regular prism planar graph of one of its end points with at least one in all described empty summits is shown as dotted line, and remaining limit is shown as solid line;
Step 206: described original state regular prism planar graph is shown as the color treatments on the limit of dotted line for mark look;
Step 207: flicker effect process is carried out to the limit that described original state regular prism planar graph is shown as dotted line;
Step 208: one of them of summit, described regular prism planar graph bottom surface is set to and rotates reference mark;
Step 209: the sliding path obtaining described rotation reference mark;
Step 210: the sense of rotation and the anglec of rotation that calculate described regular prism planar graph according to described rotation reference mark sliding path;
Step 211: the new planimetric coordinates calculating described rotation reference mark according to the sense of rotation of the described regular prism planar graph obtained and the anglec of rotation;
Step 212: the new planimetric coordinates according to described rotation reference mark repaints regular prism planar graph;
Step 213: obtain described postrotational regular prism planar graph;
Step 214: according to described rotation reference mark sliding path calculate limit that described original state regular prism planar graph is shown as dotted line rotate to an angle after reposition, and be described mark look by its color treatments;
Step 215: according to the regular prism planar graph of described figure rotate instruction display after its axis rotates to an angle;
Step 216: the new planimetric coordinates obtaining Zhong Ge summit, described postrotational regular prism planar graph bottom surface;
Step 217: the summit, two bottom surfaces calculating the maximum absolute value of the difference of the new x coordinate figure on summit, described any two bottom surfaces, using the summit, bottom surface that this calculates as new reference vertex;
Step 218: calculate the summit, all bottom surfaces that y coordinate figure is greater than the new y coordinate figure of described new reference vertex, using the summit, bottom surface that this calculates as new empty summit;
Step 219: the limit being the described postrotational regular prism planar graph of one of its end points with at least one in all described empty summits is newly shown as dotted line, and other limits are shown as solid line;
Step 220: flicker effect process is carried out to the limit that described postrotational regular prism planar graph is shown as dotted line.
Wherein, a kind of Alternate embodiments rotating the acquisition of reference mark sliding path can be:
Obtain and rotate reference mark click or touch instruction;
The continuous planimetric coordinates obtaining the shift position rotating reference mark;
Obtain and rotate releasing order of reference mark;
Obtain rotating reference mark sliding path.
Reference accompanying drawing 3a is the original state quadrangular planar graph in regular prism plane display method embodiment provided by the invention and the quadrangular planar graph after rotating to an angle; Comprising rotation reference mark A, longitudinal deformation reference mark B and transverse deformation reference mark C.Perform above-mentioned steps 201 to step 220, the original state quadrangular in left side (namely bottom surface is foursquare rectangular parallelepiped) planar graph can be changed into the postrotational quadrangular planar graph on right side.
Optionally, described regular prism plane display method also comprises:
For regular prism planar graph distributes at least one shape control point;
Obtain the sliding path of described shape control point;
The deformation vectors of described regular prism planar graph is calculated according to described shape control point sliding path;
Described regular prism planar graph is repainted according to described deformation vectors.
Wherein, deformation vectors comprises longitudinal deformation vector sum transverse deformation vector.The acquisition of shape control point sliding path is similar to the acquisition rotating reference mark sliding path, does not repeat them here.
With reference to accompanying drawing 3b and accompanying drawing 3c, be respectively the original state quadrangular planar graph in regular prism plane display method embodiment provided by the invention and rotate to an angle and quadrangular planar graph after longitudinal deformation; And original state quadrangular planar graph and rotate to an angle, longitudinal deformation quadrangular planar graph after transverse deformation; Comprising rotation reference mark A, longitudinal deformation reference mark B and transverse deformation reference mark C.
After performing step 201 to the step of step 220 and above-mentioned optional regular prism plane display method, the original state quadrangular in left side (namely bottom surface is foursquare rectangular parallelepiped) planar graph can be changed into right side rotate to an angle and after longitudinal deformation with rotate to an angle, longitudinal deformation quadrangular planar graph after transverse deformation.
Preferably, the number on the limit of described regular prism bottom surface is more than or equal to 4.According to the quadrangular display packing in above-described embodiment, can estimate, the regular prisms such as pentagonal prism, six prisms all can adopt the method to realize plane display.
As can be seen from above-described embodiment, regular prism plane display method provided by the invention, is contrasted the planimetric coordinates on summit, bottom surface in the regular prism planar graph of plane display, achieves the display of regular prism planar graph by mode cleverly; Further, rotating the sliding path at reference mark according to judging, calculating and contrasting the planimetric coordinates on summit, bottom surface in postrotational regular prism planar graph, thus achieving the display of postrotational regular prism planar graph; And ensure that the limit can not seen in postrotational regular prism planar graph is shown as dotted line all the time, can more vivo coordinate teaching process to show regular prism planar graph.
Further, by carrying out flicker process to dotted line, can also strengthen reminding effect, thus attract the notice of student; Preferably, also by the dotted line limit in the regular prism planar graph of original state being passed through the process of mark look, and in follow-up postrotational regular prism planar graph, calculate its postrotational position and proceed signal coloration process (now this dotted line limit possibility or dotted line after rotating, also solid line may be become), with play show the limit that is blocked at the beginning of regular prism after rotation or effect after not being blocked, play the effect of aided education explanation better.
Optionally, also realizing carrying out regular prism planar graph the deformation operation of vertical and horizontal by arranging shape control point, making the content of courses abundanter.
It needs to be noted; each step in above-mentioned regular prism plane display method embodiment all mutually can intersect, replaces, increases, delete; therefore; these rational permutation and combination conversion also should belong to protection scope of the present invention in regular prism plane display method, and protection scope of the present invention should not to be confined on described embodiment.
Present invention also offers a kind of regular prism flat display apparatus, is the structural representation of an embodiment of regular prism flat display apparatus provided by the invention with reference to accompanying drawing 4.
Described regular prism flat display apparatus 400, comprising:
Receiver module 401, for instruction and the reception figure rotate instruction of receiving plane display arbitrary initial state regular prism planar graph;
Computing module 402, for calculating the summit, two bottom surfaces of the maximum absolute value of the difference of the x coordinate figure on summit, any two bottom surfaces, using the summit, bottom surface that this calculates as reference vertex; And, calculate the summit, all bottom surfaces that y coordinate figure is greater than the y coordinate figure of described two reference vertex, using the summit, bottom surface that this calculates as empty summit;
Processing module 403, for obtaining the planimetric coordinates on Zhong Ge summit, described original state regular prism planar graph bottom surface according to the instruction of receiving plane display arbitrary initial state regular prism planar graph; Obtaining take at least one in all described empty summits as the position on the limit of the described original state regular prism planar graph of one of its end points; And the anglec of rotation of original state regular prism planar graph is calculated according to described figure rotate instruction;
Display module 404, for the limit being the described original state regular prism planar graph of one of its end points with at least one in all described empty summits is shown as dotted line, remaining limit is shown as solid line; And, show the regular prism planar graph after its axis rotates to an angle.
Further, described processing module 403 is also for obtaining the new planimetric coordinates on Zhong Ge summit, described postrotational regular prism planar graph bottom surface according to figure rotate instruction; And obtaining take at least one in all described empty summits newly as the position on the limit of the described postrotational regular prism planar graph of one of its end points;
Described computing module 402 also for calculating the summit, two bottom surfaces of the maximum absolute value of the difference of the new x coordinate figure on summit, described any two bottom surfaces, using the summit, bottom surface that this calculates as new reference vertex; And, calculate the summit, all bottom surfaces that y coordinate figure is greater than the new y coordinate figure of described new reference vertex, using the summit, bottom surface that this calculates as new empty summit;
Described display module 404 is also for being shown as dotted line by the limit being the described postrotational regular prism planar graph of one of its end points with at least one in all described empty summits newly, and other limits are shown as solid line.
Optionally, described processing module 403 also rotates reference mark for one of them of summit, described regular prism planar graph bottom surface being set to; Described display module 404 is also for being shown in the relevant position of described regular prism planar graph by described rotation reference mark correspondence;
Described receiver module 401 is also for obtaining the sliding path at described rotation reference mark;
Described computing module 402 is also for calculating sense of rotation and the anglec of rotation of described regular prism planar graph according to described rotation reference mark sliding path.
Further, described computing module 402 is also for calculating the new planimetric coordinates at described rotation reference mark according to the sense of rotation of described regular prism planar graph obtained and the anglec of rotation; Described processing module 403 is also for repainting regular prism planar graph according to the new planimetric coordinates at described rotation reference mark and obtaining described postrotational regular prism planar graph.
Preferably, described processing module 403 is also for being shown as the color treatments on the limit of dotted line for mark look by described original state regular prism planar graph.
Further, the reposition after the limit that described computing module 402 is also shown as dotted line for calculating described original state regular prism planar graph according to described rotation reference mark sliding path rotates to an angle; The color treatments of described processing module 403 also for the described original state regular prism planar graph of described new position is shown as the limit of dotted line is described mark look.
Optionally, flicker effect process is carried out on the limit of described processing module 403 also for being shown as dotted line to described original state regular prism planar graph.Further, flicker effect process is carried out on the limit of described processing module 403 also for being shown as dotted line to described postrotational regular prism planar graph.
Preferably, described receiver module 401 is also for obtaining the sliding path of described shape control point;
Described computing module 402 is also for calculating the deformation vectors of described regular prism planar graph according to described shape control point sliding path;
Described processing module 403 is also for distributing at least one shape control point for regular prism planar graph; And, repaint described regular prism planar graph according to described deformation vectors.
Optionally, the number on the limit of described regular prism bottom surface is more than or equal to 4.
The course of work of another embodiment to described regular prism flat display apparatus 400 below in conjunction with above-mentioned regular prism plane display method is described in detail.
With reference to accompanying drawing 2, it is the schematic flow sheet of another embodiment of regular prism plane display method provided by the invention.
Described regular prism plane display method, comprising:
Step 201: the instruction of described receiver module 401 receiving plane display arbitrary initial state regular prism planar graph;
Step 202: described processing module 403 obtains the planimetric coordinates on Zhong Ge summit, described original state regular prism planar graph bottom surface according to the instruction of receiving plane display arbitrary initial state regular prism planar graph;
Step 203: described computing module 402 calculates the summit, two bottom surfaces of the maximum absolute value of the difference of the x coordinate figure on summit, any two bottom surfaces, using the summit, bottom surface that this calculates as reference vertex;
Step 204: described computing module 402 calculates the summit, all bottom surfaces that y coordinate figure is greater than the y coordinate figure of described two reference vertex, using the summit, bottom surface that this calculates as empty summit;
Step 205: the limit being the described original state regular prism planar graph of one of its end points with at least one in all described empty summits is shown as dotted line by described processing module 403, and remaining limit is shown as solid line;
Step 206: described original state regular prism planar graph is shown as the color treatments on the limit of dotted line for mark look by described processing module 403;
Step 207: described processing module 403 carries out flicker effect process to the limit that described original state regular prism planar graph is shown as dotted line;
Step 208: one of them of summit, described regular prism planar graph bottom surface is set to rotation reference mark by described processing module 403;
Step 209: described receiver module 401 obtains the sliding path at described rotation reference mark;
Step 210: described computing module 402 calculates sense of rotation and the anglec of rotation of described regular prism planar graph according to described rotation reference mark sliding path;
Step 211: described computing module 402 calculates the new planimetric coordinates at described rotation reference mark according to the sense of rotation of the described regular prism planar graph obtained and the anglec of rotation;
Step 212: described processing module 403 repaints regular prism planar graph according to the new planimetric coordinates at described rotation reference mark;
Step 213: described processing module 403 obtains described postrotational regular prism planar graph;
Step 214: described computing module 402 according to described rotation reference mark sliding path calculate limit that described original state regular prism planar graph is shown as dotted line rotate to an angle after reposition, the color treatments that the described original state regular prism planar graph of described new position is shown as the limit of dotted line by described processing module 403 is described mark look;
Step 215: described display module 404 shows the regular prism planar graph after regular prism axis rotates to an angle;
Step 216: described processing module 403 obtains the new planimetric coordinates on Zhong Ge summit, described postrotational regular prism planar graph bottom surface;
Step 217: described computing module 402 calculates the summit, two bottom surfaces of the maximum absolute value of the difference of the new x coordinate figure on summit, described any two bottom surfaces, using the summit, bottom surface that this calculates as new reference vertex;
Step 218: described computing module 402 calculates the summit, all bottom surfaces that y coordinate figure is greater than the new y coordinate figure of described new reference vertex, using the summit, bottom surface that this calculates as new empty summit;
Step 219: the limit being the described postrotational regular prism planar graph of one of its end points with at least one in all described empty summits is newly shown as dotted line by described processing module 403, and other limits are shown as solid line;
Step 220: described processing module 403 carries out flicker effect process to the limit that described postrotational regular prism planar graph is shown as dotted line.
As can be seen from above-described embodiment, regular prism flat display apparatus provided by the invention, is contrasted the planimetric coordinates on summit, bottom surface in the regular prism planar graph of plane display, achieves the display of regular prism planar graph by mode cleverly; Further, rotating the sliding path at reference mark according to judging, calculating and contrasting the planimetric coordinates on summit, bottom surface in postrotational regular prism planar graph, thus achieving the display of postrotational regular prism planar graph; And ensure that the limit can not seen in postrotational regular prism planar graph is shown as dotted line all the time, can more vivo coordinate teaching process to show regular prism planar graph.
Further, by carrying out flicker process to dotted line, can also strengthen reminding effect, thus attract the notice of student; Preferably, also by the dotted line limit in the regular prism planar graph of original state being passed through the process of mark look, and in follow-up postrotational regular prism planar graph, calculate its postrotational position and proceed signal coloration process (now this dotted line limit possibility or dotted line after rotating, also solid line may be become), with play show the limit that is blocked at the beginning of regular prism after rotation or effect after not being blocked, play the effect of aided education explanation better.
Optionally, also realizing carrying out regular prism planar graph the deformation operation of vertical and horizontal by arranging shape control point, making the content of courses abundanter.
It needs to be noted, the embodiment of above-mentioned regular prism flat display apparatus use only the embodiment of described regular prism plane display method to illustrate the course of work of each module, those skilled in the art can be easy to expect, by these module application in other embodiments of described regular prism plane display method.Certainly; because each step in described regular prism plane display method embodiment all mutually can intersect, replaces, increases, delete; therefore; these rational permutation and combination conversion also should belong to protection scope of the present invention in described regular prism flat display apparatus, and protection scope of the present invention should not to be confined on described embodiment.
Those of ordinary skill in the field are to be understood that: the foregoing is only specific embodiments of the invention; be not limited to the present invention; within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (20)
1. a regular prism plane display method, is characterized in that, comprising:
The instruction of receiving plane display arbitrary initial state regular prism planar graph;
Obtain the planimetric coordinates on Zhong Ge summit, described original state regular prism planar graph bottom surface;
Calculate the summit, two bottom surfaces of the maximum absolute value of the difference of the x coordinate figure on summit, any two bottom surfaces, using the summit, bottom surface that this calculates as reference vertex;
Calculate the summit, all bottom surfaces that y coordinate figure is greater than the y coordinate figure of described two reference vertex, using the summit, bottom surface that this calculates as empty summit;
The limit being the described original state regular prism planar graph of one of its end points with at least one in all described empty summits is shown as dotted line, and remaining limit is shown as solid line;
Receive figure rotate instruction;
According to the regular prism planar graph of described figure rotate instruction display after its axis rotates to an angle.
2. method according to claim 1, is characterized in that, described rotate to an angle according to the display of described figure rotate instruction after described regular prism step after also comprise:
Obtain the new planimetric coordinates on Zhong Ge summit, described postrotational regular prism planar graph bottom surface;
Calculate the summit, two bottom surfaces of the maximum absolute value of the difference of the new x coordinate figure on summit, described any two bottom surfaces, using the summit, bottom surface that this calculates as new reference vertex;
Calculate the summit, all bottom surfaces that y coordinate figure is greater than the new y coordinate figure of described new reference vertex, using the summit, bottom surface that this calculates as new empty summit;
The limit being the described postrotational regular prism planar graph of one of its end points with at least one in all described empty summits is newly shown as dotted line, and other limits are shown as solid line.
3. method according to claim 2, is characterized in that, comprises before the step of described reception figure rotate instruction: one of them of summit, described regular prism planar graph bottom surface be set to and rotate reference mark;
The step of described reception figure rotate instruction comprises:
Obtain the sliding path at described rotation reference mark;
Sense of rotation and the anglec of rotation of described regular prism planar graph is calculated according to described rotation reference mark sliding path.
4. method according to claim 3, is characterized in that, described calculate the sense of rotation of described regular prism planar graph and the step of the anglec of rotation according to described rotation reference mark sliding path after also comprise:
The new planimetric coordinates at described rotation reference mark is calculated according to the sense of rotation of the described regular prism planar graph obtained and the anglec of rotation;
New planimetric coordinates according to described rotation reference mark repaints regular prism planar graph;
Obtain described postrotational regular prism planar graph.
5. method according to claim 4, it is characterized in that, described by being the described original state regular prism planar graph of one of its end points with at least one in all described empty summits, limit is shown as dotted line, and remaining limit also comprises after being shown as the step of solid line:
Described original state regular prism planar graph is shown as the color treatments on the limit of dotted line for mark look.
6. method according to claim 5, it is characterized in that, described by being the described postrotational regular prism planar graph of one of its end points with at least one in all described empty summits newly, limit is shown as dotted line, and other limits also comprise after being shown as the step of solid line:
According to described rotation reference mark sliding path calculate limit that described original state regular prism planar graph is shown as dotted line rotate to an angle after reposition, and be described mark look by its color treatments.
7. method according to claim 6, it is characterized in that, described by being the described original state regular prism planar graph of one of its end points with at least one in all described empty summits, limit is shown as dotted line, and remaining limit also comprises after being shown as the step of solid line:
Flicker effect process is carried out to the limit that described original state regular prism planar graph is shown as dotted line.
8. method according to claim 7, it is characterized in that, described by being the described postrotational regular prism planar graph of one of its end points with at least one in all described empty summits newly, limit is shown as dotted line, and other limits also comprise after being shown as the step of solid line:
Flicker effect process is carried out to the limit that described postrotational regular prism planar graph is shown as dotted line.
9. the method according to claim 1-8 any one, is characterized in that, described regular prism plane display method also comprises:
For regular prism planar graph distributes at least one shape control point;
Obtain the sliding path of described shape control point;
The deformation vectors of described regular prism planar graph is calculated according to described shape control point sliding path;
Described regular prism planar graph is repainted according to described deformation vectors.
10. the method according to claim 1-8 any one, is characterized in that, the number on the limit of described regular prism bottom surface is more than or equal to 4.
11. 1 kinds of regular prism flat display apparatus, is characterized in that, comprising:
Receiver module, for instruction and the reception figure rotate instruction of receiving plane display arbitrary initial state regular prism planar graph;
Computing module, for calculating the summit, two bottom surfaces of the maximum absolute value of the difference of the x coordinate figure on summit, any two bottom surfaces, using the summit, bottom surface that this calculates as reference vertex; And, calculate the summit, all bottom surfaces that y coordinate figure is greater than the y coordinate figure of described two reference vertex, using the summit, bottom surface that this calculates as empty summit;
Processing module, for obtaining the planimetric coordinates on Zhong Ge summit, described original state regular prism planar graph bottom surface according to the instruction of receiving plane display arbitrary initial state regular prism planar graph; Obtaining take at least one in all described empty summits as the position on the limit of the described original state regular prism planar graph of one of its end points; And the anglec of rotation of original state regular prism planar graph is calculated according to described figure rotate instruction;
Display module, for the limit being the described original state regular prism planar graph of one of its end points with at least one in all described empty summits is shown as dotted line, remaining limit is shown as solid line; And, show the regular prism planar graph after its axis rotates to an angle.
12. devices according to claim 11, is characterized in that, described processing module is also for obtaining the new planimetric coordinates on Zhong Ge summit, described postrotational regular prism planar graph bottom surface according to figure rotate instruction; And obtaining take at least one in all described empty summits newly as the position on the limit of the described postrotational regular prism planar graph of one of its end points;
Described computing module also for calculating the summit, two bottom surfaces of the maximum absolute value of the difference of the new x coordinate figure on summit, described any two bottom surfaces, using the summit, bottom surface that this calculates as new reference vertex; And, calculate the summit, all bottom surfaces that y coordinate figure is greater than the new y coordinate figure of described new reference vertex, using the summit, bottom surface that this calculates as new empty summit;
Described display module is also for being shown as dotted line by the limit being the described postrotational regular prism planar graph of one of its end points with at least one in all described empty summits newly, and other limits are shown as solid line.
13. devices according to claim 12, is characterized in that, described processing module also rotates reference mark for one of them of summit, described regular prism planar graph bottom surface being set to; Described display module is also for being shown in the relevant position of described regular prism planar graph by described rotation reference mark correspondence;
Described receiver module is also for obtaining the sliding path at described rotation reference mark;
Described computing module is also for calculating sense of rotation and the anglec of rotation of described regular prism planar graph according to described rotation reference mark sliding path.
14. devices according to claim 13, is characterized in that, described computing module is also for calculating the new planimetric coordinates at described rotation reference mark according to the sense of rotation of described regular prism planar graph obtained and the anglec of rotation; Described processing module is also for repainting regular prism planar graph according to the new planimetric coordinates at described rotation reference mark and obtaining described postrotational regular prism planar graph.
15. devices according to claim 14, is characterized in that, described processing module is also for being shown as the color treatments on the limit of dotted line for mark look by described original state regular prism planar graph.
16. devices according to claim 15, is characterized in that, the reposition after the limit that described computing module is also shown as dotted line for calculating described original state regular prism planar graph according to described rotation reference mark sliding path rotates to an angle; The color treatments of described processing module also for the described original state regular prism planar graph of described new position is shown as the limit of dotted line is described mark look.
17. devices according to claim 16, is characterized in that, flicker effect process is carried out on the limit of described processing module also for being shown as dotted line to described original state regular prism planar graph.
18. devices according to claim 17, is characterized in that, flicker effect process is carried out on the limit of described processing module also for being shown as dotted line to described postrotational regular prism planar graph.
19. devices according to claim 11-18 any one, is characterized in that,
Described receiver module is also for obtaining the sliding path of described shape control point;
Described computing module is also for calculating the deformation vectors of described regular prism planar graph according to described shape control point sliding path;
Described processing module is also for distributing at least one shape control point for regular prism planar graph; And, repaint described regular prism planar graph according to described deformation vectors.
20. devices according to claim 11-18 any one, it is characterized in that, the number on the limit of described regular prism bottom surface is more than or equal to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310681420.6A CN104715452B (en) | 2013-12-12 | 2013-12-12 | Regular prism plane display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310681420.6A CN104715452B (en) | 2013-12-12 | 2013-12-12 | Regular prism plane display method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104715452A true CN104715452A (en) | 2015-06-17 |
CN104715452B CN104715452B (en) | 2017-12-15 |
Family
ID=53414747
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310681420.6A Active CN104715452B (en) | 2013-12-12 | 2013-12-12 | Regular prism plane display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104715452B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107239187A (en) * | 2017-05-04 | 2017-10-10 | 广州视源电子科技股份有限公司 | Method, device and equipment for displaying three-dimensional graph |
CN107422952A (en) * | 2017-05-04 | 2017-12-01 | 广州视源电子科技股份有限公司 | Method, device and equipment for displaying three-dimensional graph |
CN107526563A (en) * | 2017-08-24 | 2017-12-29 | 广州视源电子科技股份有限公司 | Three-dimensional graph display method, device, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6292197B1 (en) * | 1998-03-04 | 2001-09-18 | J. Willem R. Langelaan | Computer graphics system for modeling objects that include segments of an intersection of a modular matrix of rectangles and an elliptic, a lenticular or a rhombic segment |
US20100002936A1 (en) * | 2003-09-26 | 2010-01-07 | Khomo Malome T | Spatial character recognition technique and chirographic text character reader |
CN101625765A (en) * | 2009-08-18 | 2010-01-13 | 上海可鲁系统软件有限公司 | Method for drawing rotating elliptical arc |
CN101719057A (en) * | 2009-11-27 | 2010-06-02 | 广东威创视讯科技股份有限公司 | Method and device for drawing geometric figures |
CN102663805A (en) * | 2012-04-18 | 2012-09-12 | 东华大学 | Projection-based view frustum cutting method |
CN103136767A (en) * | 2011-11-24 | 2013-06-05 | 北京图盟科技有限公司 | Vector diagram drawing method and device |
-
2013
- 2013-12-12 CN CN201310681420.6A patent/CN104715452B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6292197B1 (en) * | 1998-03-04 | 2001-09-18 | J. Willem R. Langelaan | Computer graphics system for modeling objects that include segments of an intersection of a modular matrix of rectangles and an elliptic, a lenticular or a rhombic segment |
US20100002936A1 (en) * | 2003-09-26 | 2010-01-07 | Khomo Malome T | Spatial character recognition technique and chirographic text character reader |
CN101625765A (en) * | 2009-08-18 | 2010-01-13 | 上海可鲁系统软件有限公司 | Method for drawing rotating elliptical arc |
CN101719057A (en) * | 2009-11-27 | 2010-06-02 | 广东威创视讯科技股份有限公司 | Method and device for drawing geometric figures |
CN103136767A (en) * | 2011-11-24 | 2013-06-05 | 北京图盟科技有限公司 | Vector diagram drawing method and device |
CN102663805A (en) * | 2012-04-18 | 2012-09-12 | 东华大学 | Projection-based view frustum cutting method |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107239187A (en) * | 2017-05-04 | 2017-10-10 | 广州视源电子科技股份有限公司 | Method, device and equipment for displaying three-dimensional graph |
CN107422952A (en) * | 2017-05-04 | 2017-12-01 | 广州视源电子科技股份有限公司 | Method, device and equipment for displaying three-dimensional graph |
WO2018201663A1 (en) * | 2017-05-04 | 2018-11-08 | 广州视源电子科技股份有限公司 | Solid figure display method, device and equipment |
WO2018201664A1 (en) * | 2017-05-04 | 2018-11-08 | 广州视源电子科技股份有限公司 | Stereoscopic graphic display method, apparatus and equipment |
CN107239187B (en) * | 2017-05-04 | 2020-02-21 | 广州视源电子科技股份有限公司 | Method, device and equipment for displaying three-dimensional graph |
CN107526563A (en) * | 2017-08-24 | 2017-12-29 | 广州视源电子科技股份有限公司 | Three-dimensional graph display method, device, equipment and storage medium |
CN107526563B (en) * | 2017-08-24 | 2021-04-06 | 广州视源电子科技股份有限公司 | Three-dimensional graph display method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104715452B (en) | 2017-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Thornton et al. | Augmented reality as a visual and spatial learning tool in technology education. | |
CN102968809B (en) | The method of virtual information mark and drafting marking line is realized in augmented reality field | |
ATE308086T1 (en) | GRAPHIC USER INTERFACE FOR A FLIGHT SIMULATOR BASED ON A CLIENT-SERVER ARCHITECTURE | |
CN103021262A (en) | Method and system for processing drawing of map labels | |
CN105278685A (en) | Assistant instructing system and assistant instructing system method based on EON | |
CN104715452A (en) | Regular prism plane display method and device | |
Dorribo-Camba et al. | Incorporating augmented reality content in Engineering Design Graphics materials | |
CN104461690A (en) | Power equipment operation simulation system | |
CN103617282A (en) | Interest point attribute displaying method based on regular polygon tessellation | |
KR20160025106A (en) | Architectural integration 3D modeling system using building information modeling | |
Haas et al. | Can you create? Visualising and modelling real-world mathematics with technologies in STEAM educational settings | |
CN101281688A (en) | Portable learning equipment as well as dynamic geometric construction method thereof | |
CN103177474B (en) | The neighborhood point coordinate defining method of three-dimensional model and device, construction method and device | |
CN104932858A (en) | Method for realizing overlapping display of background map supporting accurate matching and real-time roaming | |
CN205621333U (en) | Show shelf of primary school's mathematical education | |
CN108053492B (en) | Method, device and equipment for presenting expansion process of three-dimensional graph and storage medium | |
KR20160059963A (en) | Education Card Unit of Mathematics | |
CN106909239A (en) | A kind of student uses construction with ruler and compasses device on computers | |
CN205058991U (en) | Many function combination teaching aid that teaching was used | |
CN203490864U (en) | Function image demonstrating instrument | |
Jenkins et al. | Shifting sands and turning tides: Using 3D visualization technology to shape the environment for undergraduate students | |
CN203894976U (en) | Novel armored equipment information terminal simulator | |
Marchese | Teaching computer graphics with spreadsheets | |
CN102375325A (en) | True three-dimensional simulation angle description and direct projection display method | |
CN203311677U (en) | Teaching tool for computer binary system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: C1104 room 100085 Beijing city Haidian District Third Street No. 9 C Patentee after: Hitevision Polytron Technologies Inc Address before: C1104 room 100085 Beijing city Haidian District Third Street No. 9 C Patentee before: HONGHE TECHNOLOGY CO., LTD. |
|
CP01 | Change in the name or title of a patent holder |