CN106204448A - Spacecraft stratification supplies stepless zooming display packing and the display system of the big figure of distribution - Google Patents
Spacecraft stratification supplies stepless zooming display packing and the display system of the big figure of distribution Download PDFInfo
- Publication number
- CN106204448A CN106204448A CN201610520588.2A CN201610520588A CN106204448A CN 106204448 A CN106204448 A CN 106204448A CN 201610520588 A CN201610520588 A CN 201610520588A CN 106204448 A CN106204448 A CN 106204448A
- Authority
- CN
- China
- Prior art keywords
- layer
- coordinate
- big
- distribution
- spacecraft
- 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
- 238000013517 stratification Methods 0.000 title claims abstract description 49
- 238000012856 packing Methods 0.000 title claims abstract description 14
- 230000004913 activation Effects 0.000 claims abstract description 58
- 238000000034 method Methods 0.000 claims abstract description 15
- 238000012545 processing Methods 0.000 claims description 21
- 238000010586 diagram Methods 0.000 claims description 4
- 230000003321 amplification Effects 0.000 abstract description 3
- 238000003199 nucleic acid amplification method Methods 0.000 abstract description 3
- 239000004020 conductor Substances 0.000 description 8
- 230000009885 systemic effect Effects 0.000 description 5
- 230000000712 assembly Effects 0.000 description 3
- 238000000429 assembly Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000012938 design process Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4084—Scaling of whole images or parts thereof, e.g. expanding or contracting in the transform domain, e.g. fast Fourier transform [FFT] domain scaling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
- G06T11/206—Drawing of charts or graphs
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Controls And Circuits For Display Device (AREA)
- Processing Or Creating Images (AREA)
Abstract
The present invention provides a kind of spacecraft stratification stepless zooming display packing for the big figure of distribution and display system, and described method includes: set up three-dimensional system of coordinate;Obtain spacecraft stratification and supply the different figure layers in the big figure of distribution, and according to figure layer DISPLAY ORDER, each show layers according to, order parallel with any two coordinate axes place plane and is spaced apart in three-dimensional system of coordinate;According to each figure layer the 3rd axial coordinate in three-dimensional system of coordinate, and top figure layer, the magnitude relationship of bottom figure layer, obtain activation threshold corresponding to each figure layer and scaling chi;According to the activation threshold that each figure layer of zoom factor comparison currently browsed is corresponding, obtain corresponding described each figure layer of scaling chi auto zoom.The present invention without manual debugging, can realize the amplification of each figure layer and reduce, and taking over seamlessly between each figure layer, substantially increases spacecraft stratification for the drawing efficiency of the big figure of distribution and quality.
Description
Technical field
The invention belongs to spacecraft power supply and distribution system design field, relate generally to a kind of spacecraft stratification for the big figure of distribution
Stepless zooming display packing and system.
Background technology
It is that reflection spacecraft is powered, distribution, electric signal are transmitted, the important carrier of equipment power supply interface for the big figure of distribution,
It it is the important content of electric component master-plan in spacecraft.
Along with in spacecraft, electric component is continuously increased, power distribution becomes increasingly complex, for apparent expression spacecraft
Confession power distribution information, be currently generally designed for the big figure of distribution according to the thinking of stratification;Under normal circumstances, by spacecraft for joining
TV university figure is divided into the different level such as systemic hierarchial, subsystem level, equipment level, the physical assemblies graph of a relation that each level shows
Granularity different.
Traditional stratification for the design of the big figure of distribution and display process show themselves in that mapping software (as Visio,
AutoCAD etc.) in different options card or different file, drafting different levels supplies distribution figure;When display browses, user passes through
Frequently click on mapping software tab, context menu or switch different files and check the different layers for the big figure of distribution
Secondary, to obtain and location related information.
This stratification needs to draw multiple varigrained drawings for the design process of the big figure of distribution, and repeated workload is relatively
Greatly, and it being shown navigation process, when different layers inter-stage switches, interface alternation is too many so that user is setting up different level
Between incidence relation time produce obstacle, cause browsing and to position information efficiency low.
Summary of the invention
It is an object of the invention to provide a kind of spacecraft stratification for the stepless zooming display packing of the big figure of distribution and to show
Show system.
In order to realize one of foregoing invention purpose, the spacecraft stratification of an embodiment of the present invention is for the nothing of the big figure of distribution
Level Zoom display method, said method comprising the steps of: set up three-dimensional system of coordinate;
Obtain spacecraft stratification and supply the different figure layers in the big figure of distribution, and according to figure layer DISPLAY ORDER, each is shown
Figure layer is according to, order parallel with any two coordinate axes place plane and is spaced apart in described three-dimensional system of coordinate;
According to each figure layer the 3rd axial coordinate in three-dimensional system of coordinate, and top figure layer, bottom figure layer
Magnitude relationship, obtain the respectively corresponding activation threshold of each figure layer and scaling chi;
During browsing the spacecraft stratification confession big figure of distribution, right according to each figure layer of the zoom factor comparison currently browsed
The activation threshold answered, obtains corresponding described each figure layer of scaling chi auto zoom.
As the further improvement of an embodiment of the present invention, " obtain spacecraft stratification for the difference in the big figure of distribution
Figure layer " specifically include:
Other figure layers in the big figure of distribution are supplied according to described bottom figure layer and abstract merging Rule;
Described abstract merging rule includes: cable merges rule and device block merges rule.
As the further improvement of an embodiment of the present invention, " the 3rd axle in three-dimensional system of coordinate according to each figure layer
The coordinate in direction, and top figure layer, the magnitude relationship of bottom figure layer, obtain the scaling that each figure layer is the most corresponding
Chi " specifically include:
The size adjusting bottom figure layer is the first pre-set zoom scale, and the size adjusting top figure layer is second pre-
If scaling chi;Described first pre-set zoom scale is more than described second pre-set zoom scale;
Obtain the axis of each figure layer, and be adjusted to overlapped;
Connect top figure layer and each end points of bottom figure layer respectively, form terrace with edge;
Scale each figure layer so that it is overlap or overlap with each tangent plane of described terrace with edge in default range of tolerable variance;
According to the figure layer after scaling and the area of bottom figure layer, determine the scaling chi that each figure layer is the most corresponding.
As the further improvement of an embodiment of the present invention, " the 3rd axle in three-dimensional system of coordinate according to each figure layer
The coordinate in direction, and top figure layer, the magnitude relationship of bottom figure layer, obtain the threshold of activation that each figure layer is the most corresponding
Value " specifically include:
Obtain each figure layer the 3rd axial coordinate in three-dimensional system of coordinate respectively, and discrete according to same ratio be each
The activation threshold that individual figure layer is corresponding.
As the further improvement of an embodiment of the present invention, " obtain each figure layer respectively in three-dimensional system of coordinate the 3rd
Axial coordinate, and according to the discrete activation threshold corresponding for each figure layer of same ratio " specifically include:
With bottom figure layer as basic point, the value of bottom figure layer being adjusted to 1, remaining coordinate figure is according to bottom figure layer
Coordinate figure is adjusted in proportion;
The coordinate figure that coordinate figure according to bottom figure layer is corresponding with each figure layer determines the activation threshold of each figure layer.
In order to realize one of foregoing invention purpose, an embodiment of the present invention provides a kind of spacecraft stratification big for distribution
The stepless zooming display system of figure, described display system includes: background model storehouse, and described background model storehouse is three-dimensional system of coordinate;
Data acquisition module, supplies the different figure layers in the big figure of distribution for obtaining spacecraft stratification, and shows according to figure layer
Show order, each show layers according to, order parallel with any two coordinate axes place plane and is spaced apart in described three
In dimension coordinate system;
Data processing module, for according to each figure layer the 3rd axial coordinate in three-dimensional system of coordinate, and pushes up most
Layer figure layer, the magnitude relationship of bottom figure layer, obtain activation threshold corresponding to each figure layer and scaling chi;
Perform module, for browsing spacecraft stratification for during the big figure of distribution, according to the scaling currently browsed because of
The activation threshold that each figure layer of sub-comparison is corresponding, obtains corresponding described each figure layer of scaling chi auto zoom.
As the further improvement of an embodiment of the present invention, described data processing module specifically for: according to described
Bottom figure layer and abstract merging Rule are for other figure layers in the big figure of distribution;
Described abstract merging rule includes: cable merges rule and device block merges rule.
As the further improvement of an embodiment of the present invention, described data processing module specifically for: adjust the bottom
The size of figure layer is the first pre-set zoom scale, and the size adjusting top figure layer is the second pre-set zoom scale;Described
First pre-set zoom scale is more than described second pre-set zoom scale;
Obtain the axis of each figure layer, and be adjusted to overlapped;
Connect top figure layer and each end points of bottom figure layer respectively, form terrace with edge;
Scale each figure layer so that it is overlap or overlap with each tangent plane of described terrace with edge in default range of tolerable variance;
According to the figure layer after scaling and the area of bottom figure layer, determine the scaling chi that each figure layer is the most corresponding.
As the further improvement of an embodiment of the present invention, described data processing module is additionally operable to: obtain each respectively
Figure layer the 3rd axial coordinate in three-dimensional system of coordinate, and according to the discrete threshold of activation corresponding for each figure layer of same ratio
Value.
As the further improvement of an embodiment of the present invention, described data processing module is additionally operable to:
With bottom figure layer as basic point, the value of bottom figure layer being adjusted to 1, remaining coordinate figure is according to bottom figure layer
Coordinate figure is adjusted in proportion;
The coordinate figure that coordinate figure according to bottom figure layer is corresponding with each figure layer determines the activation threshold of each figure layer.
Compared with prior art, the spacecraft stratification of the present invention supplies stepless zooming display packing and the display of the big figure of distribution
System, quotes three-dimensional system of coordinate and processes each figure layer, obtain corresponding activation threshold and scaling chi, browse boat
It device stratification is for during the big figure of distribution, according to the activation threshold that each figure layer of zoom factor comparison currently browsed is corresponding,
Obtain corresponding described each figure layer of scaling chi auto zoom.Without manual debugging, the amplification of each figure layer can be realized
With reduce, and taking over seamlessly between each figure layer, and can reach the effect of smooth switching level;Substantially increase spacecraft
Stratification supplies drawing efficiency and the quality of the big figure of distribution.
Accompanying drawing explanation
Fig. 1 is the flow process of the stepless zooming display packing that spacecraft stratification supplies the big figure of distribution in an embodiment of the present invention
Schematic diagram;
Fig. 2 A, 2B, 2C are the structural representations of each step in the concrete example of the present invention one;
Fig. 3 is the module of the stepless zooming display system that spacecraft stratification supplies the big figure of distribution in an embodiment of the present invention
Schematic diagram.
Detailed description of the invention
Describe the present invention below with reference to each embodiment shown in the drawings.But these embodiments are not
Limit the present invention, structure, method or the change functionally that those of ordinary skill in the art is made according to these embodiments
Change and be all contained in protection scope of the present invention.
As it is shown in figure 1, the spacecraft stratification that the present invention provides supplies the stepless zooming display packing of the big figure of distribution to include:
S1, set up three-dimensional system of coordinate;
Described three-dimensional system of coordinate is to increase third dimension coordinate (i.e. Z axis) according to the right-hand rule on the basis of two-dimensional coordinate system
And formed, it includes that X, Y, Z axis, any two axle form a plane, and the 3rd axle is perpendicular to the plane that other two axles are formed.
Certainly, in other embodiments of the present invention, it is also possible to select the coordinate system of other forms, set up three-dimensional coordinate
Purpose be only that offer one reference plane, below will be described in detail.
Further, described method also includes:
S2, acquisition spacecraft stratification supply the different figure layers in the big figure of distribution, and according to figure layer DISPLAY ORDER, each are shown
Diagram layer is according to, order parallel with any two coordinate axes place plane and is spaced apart in described three-dimensional system of coordinate;
Described spacecraft stratification generally can be divided into systemic hierarchial, subsystem level, equipment level etc. for the big figure of distribution
Different levels, each level is divided into again different figure layers, and the granularity of the physical assemblies graph of a relation that each figure layer shows is different,
It is not described in detail at this.
In the present invention one preferred implementation, big for distribution according to described bottom figure layer and abstract merging Rule
Other figure layers in figure;
During utilizing described abstract merging Rule for other figure layers in the big figure of distribution, by merging base map layers
Cable and device block, automatically set up higher level and scheme layer, abstract and reduce quantity of information, highlight user in this level is paid close attention to
Hold.
Described abstract merging rule includes: cable merges rule and device block merges rule.
Described cable merges rule and includes three kinds:
The first: in cable branch, all wires merge;
In this embodiment, it is judged that branch belonging to the wire of selection, all wires belonged in same branch are merged into
Cable;Then wire display object, display cable display object are hidden;The pin of connected for wire electric connector is merged simultaneously
Become a pin.
In the concrete example of the present invention, obtain first with the title of conductor signal and type are as the name of cable signal after merging
Claiming and type, hide all wires display object, redrawing is a root cable display object, and wire merges complete.
The second: the wire that in cable branch, signal name is identical merges;
In this embodiment, selected wire being divided into some groups, often in group, contained by wire, the title of signal is identical, by often group
A cable merged into by interior wire, then hides the display object of these wires, shows the display object of these cables, simultaneously
The pin often organizing the connected electric connector of wire is merged.
In the concrete example of the present invention, the selected wire of traversal, wire is divided into one or more groups, often the conductor signal name in group
Claiming identical, will often organize wire display Objects hide, redrawing is a root cable display object, and the entitled wire of sub-cable signal is believed
Number title, wire merges complete.
The third: the wire that in cable branch, signal type is identical merges;
In this embodiment, selected wire being divided into some groups, often the type of signal contained by group wire is identical, in often organizing
Wire merge into a cable, then hide the display object of these wires, show the display object of these cables, will simultaneously
Often the pin of group the connected electric connector of wire merges.
In the concrete example of the present invention, the selected wire of traversal, wire is divided into one or more groups, often the conductor signal class in group
Type is identical, will often organize wire display Objects hide, and redrawing is a root cable display object, and sub-cable signal type is wire letter
Number type, wire merges complete.
Described device block merges rule and includes two kinds:
The first: all component merged block in equipment;
In this embodiment, it is a device block by all component merged block in equipment.
The second: all devices merged block in subsystem;
In this embodiment, it is a subsystem block by all devices merged block in subsystem.
In the concrete example of the present invention one, the big figure of each level merges rule by specifying cable to merge rule with building-blocks, with
Based on template layer, it is achieved automatically generating of the big figure of this level;Such as: device level figure layer with interface circuit level figure layer as template,
Specify " all component merged block in equipment " rule and " in cable branch, all wires merge " rule, it is achieved device level figure layer
Automatically generate.
Shown in Fig. 2 A, the present invention includes node layer, mechanical floor with described spacecraft stratification for the big figure of distribution, point is
Concrete introduction is done as a example by system several different figure layers such as layer, system layer;Wherein, using node layer as bottom figure layer, will system
System layer is as top figure layer;In this embodiment, selected X, the plane at Y coordinate axle place are that any two coordinate axes place is put down
Face, selected Z axis is that the 3rd axle specifically describes.
In the preferred embodiment for the present invention, be basic point coordinate with (0,0,0), according to from bottom figure layer to top figure layer
Order each figure layer described is positioned in described three-dimensional system of coordinate according to same intervals;
Under normal circumstances, the size of each figure layer the most proportionally chi 1:1 shows, it may be assumed that the display chi of each figure layer
Very little size is identical.
Accordingly, the vertical coordinate of each figure layer can also obtain according to its Z axis coordinate being in three-dimensional system of coordinate.
Further, shown in Fig. 2 B, 2C, described method also includes:
S3, according to each figure layer the 3rd axial coordinate in three-dimensional system of coordinate, and top figure layer, bottom figure
The magnitude relationship of layer, obtains activation threshold corresponding to each figure layer and scaling chi.
In the preferred embodiment for the present invention, described step S3 " obtains the scaling chi that each figure layer is the most corresponding " and has
Body includes:
P1, the size adjusting bottom figure layer are the first pre-set zoom scale, and the size adjusting top figure layer is the
Two pre-set zoom scales;Described first pre-set zoom scale is more than described second pre-set zoom scale;
In the concrete example of the present invention one,
Described first pre-set zoom scale, described second pre-set zoom scale are a scale numerical value, and it is permissible
Specifically set according to user's request.
In this concrete example, selected first pre-set zoom scale is the scaling chi 1:1 of bottom figure layer, so,
Use the original dimension of bottom figure layer, it is not necessary to the size of bottom figure layer is adjusted, save resource;Retouch for convenience
Stating, when being 1:1 by selected scaling chi, the initial size of each figure layer is identical, represents with S;
Described second pre-set zoom scale is obtained with the calculating of display screen the ratio of width to height by top figure layer bounding box the ratio of width to height
, i.e. top figure layer bounding box is optimal in being completely shown to display screen;Describe for convenience, top figure layer is surrounded
The size that box can completely be shown in display screen represents with C, then, described second pre-set zoom scale C/S is second and presets
Scaling chi 1:N.
P2, obtain the axis of each figure layer, and be adjusted to overlapped;Connect top figure layer and bottom figure respectively
Each end points of layer, forms terrace with edge;
Under normal circumstances, each figure layer is tetragon, accordingly, connects top figure layer and bottom figure layer respectively
Truncated rectangular pyramids can be formed after each end points.
P3, scale each figure layer so that it is overlap or overlap with each tangent plane of described terrace with edge in default range of tolerable variance
In;
According to the figure layer after scaling and the area of bottom figure layer, determine the scaling chi that each figure layer is the most corresponding.
Described default tolerance is systemic presupposition threshold value, its can according to user need be automatically adjusted, its span be 0 to
Between 1.
In the present invention one preferred implementation, the scaling chi that each figure layer is corresponding be respectively as follows: through scaling after each
The long-pending ratio long-pending with bottom figure aspect of individual figure aspect.
Such as: after scaling, from bottom figure layer, the area to top figure layer is followed successively by: 1,1/2 ... 1/n, then
The scaling chi that each figure layer is corresponding is respectively as follows: 1,1/2 ... 1/n.
In the preferred embodiment for the present invention, described step S3 " obtains the activation threshold that each figure layer is the most corresponding " concrete
Including:
Obtain each figure layer the 3rd axial coordinate in three-dimensional system of coordinate respectively, and discrete according to same ratio be each
The activation threshold that individual figure layer is corresponding.
After each figure layer is positioned over described three-dimensional system of coordinate, each figure layer can be directly obtained at three-dimensional coordinate according to its position
3rd axial coordinate in system.
As it can be seen, corresponding n figure layer, obtain Z coordinate from bottom figure layer to top figure layer and be followed successively by: Z1,
Z2 ... Zn, further, according to the discrete activation threshold corresponding for each figure layer of same ratio;
In the present invention one preferred implementation,
M1, with bottom figure layer as basic point, the value of bottom figure layer is adjusted to 1, remaining coordinate figure is according to bottom figure
The coordinate figure of layer is adjusted in proportion;
Such as: the coordinate figure that one group of figure layer is corresponding is followed successively by: 2,3 ... 10;
Then: the coordinate figure that figure layer after adjustment is corresponding is followed successively by: 1,2 ... 9;
Further, M2, determine each figure layer according to the coordinate figure that the coordinate figure of bottom figure layer is corresponding with each figure layer
Activation threshold;
In the concrete example of the present invention, the activation threshold of each figure layer is right with each figure layer equal to the coordinate figure of bottom figure layer
The ratio of the coordinate figure answered;Continue above-mentioned example: the activation threshold obtaining each figure layer is respectively as follows:
1:1,1:2 ..., 1:9.
Further, described method also includes:
S4, browse spacecraft stratification for during the big figure of distribution, according to each figure of zoom factor comparison currently browsed
The activation threshold that layer is corresponding, obtains corresponding described each figure layer of scaling chi auto zoom.
Under normal circumstances, user can pass through external equipment, such as: the external equipment such as mouse, keyboard, browses spacecraft level
Change for the big figure of distribution.
In navigation process, the zoom factor that automatic acquisition currently browses, and by the zoom factor obtained and above-mentioned threshold of activation
Value is compared, it is judged which two activation threshold current zoom factor is between, and according to contracting corresponding to this activation threshold
Put scale activation and scheme layer accordingly.
In the detailed description of the invention of the present invention, the figure that activation threshold bigger in two activation thresholds is corresponding can be activated
Layer, it is also possible to activate less figure layer.
Accordingly, it is also possible to determine which figure of activation with the size of current zoom factor and the magnitude relationship of activation threshold
Layer;
Such as: current zoom ratio closer to which activation threshold then activates is schemed layer accordingly, detailed going to live in the household of one's in-laws on getting married is not done at this
State.
Shown in Fig. 3, the spacecraft stratification that the present invention provides includes for the stepless zooming display system of the big figure of distribution:
Background model storehouse 100, acquisition module 200, data processing module 300, execution module 400.
Background model storehouse 100 is three-dimensional system of coordinate;Described three-dimensional system of coordinate is according to the right side on the basis of two-dimensional coordinate system
Hand rule increases third dimension coordinate (i.e. Z axis) and is formed, and it includes that X, Y, Z axis, any two axle form a plane, the 3rd axle
It is perpendicular to the plane that other two axles are formed.
Certainly, in other embodiments of the present invention, it is also possible to select the coordinate system of other forms, set up three-dimensional coordinate
Purpose be only that offer one reference plane, below will be described in detail.
Data acquisition module 200 supplies the different figure layers in the big figure of distribution for obtaining spacecraft stratification, and according to figure layer
DISPLAY ORDER, and is spaced apart each show layers in described according to, order parallel with any two coordinate axes place plane
In three-dimensional system of coordinate;
Described spacecraft stratification generally can be divided into systemic hierarchial, subsystem level, equipment level etc. for the big figure of distribution
Different levels, each level is divided into again different figure layers, and the granularity of the physical assemblies graph of a relation that each figure layer shows is different,
It is not described in detail at this.
In the present invention one preferred implementation, data acquisition module 200 is according to described bottom figure layer and abstract merging
Rule is for other figure layers in the big figure of distribution;
During data acquisition module 200 utilizes described abstract merging Rule for other figure layers in the big figure of distribution,
By merging cable and the device block of base map layers, automatically set up higher level and scheme layer, abstract and minimizing quantity of information, highlight user
In the content that this level is paid close attention to.
Described abstract merging rule includes: cable merges rule and device block merges rule.
Described cable merges rule and includes three kinds:
The first: in cable branch, all wires merge;
In this embodiment, data acquisition module 200, for judging branch belonging to the wire selected, will belong to same branch
Interior all wires are merged into cable;Then wire display object, display cable display object are hidden;Simultaneously that wire is connected
The pin of electric connector is merged into a pin.
In the concrete example of the present invention, data acquisition module 200 obtains first with the title of conductor signal and type are as conjunction
The title of cable signal and type after and, hide all wires display object, and redrawing is a root cable display object, and wire closes
And it is complete.
The second: the wire that in cable branch, signal name is identical merges;
In this embodiment, data acquisition module 200 is for being divided into some groups by selected wire, and often in group, wire is contained believes
Number title identical, the wire in often group is merged into a cable, then hides the display object of these wires, show these
The display object of cable, merges the pin often organizing the connected electric connector of wire simultaneously.
In the concrete example of the present invention, data acquisition module 200 travels through selected wire, and wire is divided into one or more groups, often
Conductor signal title in group is identical, will often organize wire display Objects hide, and redrawing is a root cable display object, sub-cable
Signal name is conductor signal title, and wire merges complete.
The third: the wire that in cable branch, signal type is identical merges;
In this embodiment, data acquisition module 200, for selected wire is divided into some groups, often organizes signal contained by wire
Type identical, the wire in often group is merged into a cable, then hides the display object of these wires, show these electricity
The display object of cable, merges the pin often organizing the connected electric connector of wire simultaneously.
In the concrete example of the present invention, data acquisition module 200 travels through selected wire, and wire is divided into one or more groups, often
Conductor signal type in group is identical, will often organize wire display Objects hide, and redrawing is a root cable display object, sub-cable
Signal type is conductor signal type, and wire merges complete.
Described device block merges rule and includes two kinds:
The first: all component merged block in equipment;
In this embodiment, data acquisition module 200 is used for all component merged block in equipment being a device block.
The second: all devices merged block in subsystem;
In this embodiment, data acquisition module 200 is used for all devices merged block in subsystem being a subsystem
Block.
In the concrete example of the present invention one, the big figure of each level merges rule by specifying cable to merge rule with building-blocks, with
Based on template layer, it is achieved automatically generating of the big figure of this level;Such as: device level figure layer with interface circuit level figure layer as template,
Specify " all component merged block in equipment " rule and " in cable branch, all wires merge " rule, it is achieved device level figure layer
Automatically generate.
Shown in Fig. 2 A, the present invention includes node layer, mechanical floor with described spacecraft stratification for the big figure of distribution, point is
Concrete introduction is done as a example by system several different figure layers such as layer, system layer;Wherein, using node layer as bottom figure layer, will system
System layer is as top figure layer;In this embodiment, selected X, the plane at Y coordinate axle place are that any two coordinate axes place is put down
Face, selected Z axis is that the 3rd axle specifically describes.
In the preferred embodiment for the present invention, be basic point coordinate with (0,0,0), according to from bottom figure layer to top figure layer
Order each figure layer described is positioned in described three-dimensional system of coordinate according to same intervals;
Under normal circumstances, the size of each figure layer the most proportionally chi 1:1 shows, it may be assumed that the display chi of each figure layer
Very little size is identical.
Accordingly, the vertical coordinate of each figure layer can also obtain according to its Z axis coordinate being in three-dimensional system of coordinate.
Further, shown in Fig. 2 B, 2C, data processing module 300 is used for according to each figure layer at three-dimensional system of coordinate
In the 3rd axial coordinate, and top figure layer, the magnitude relationship of bottom figure layer, obtain each figure layer the most corresponding
Activation threshold and scaling chi.
In the preferred embodiment for the present invention, data processing module 300 obtains the scaling chi that each figure layer is the most corresponding
Specifically include:
It is the first pre-set zoom scale that data processing module 300 adjusts the size of bottom figure layer, adjusts top figure
The size of layer is the second pre-set zoom scale;Described first pre-set zoom scale is more than described second pre-set zoom ratio
Chi;
In the concrete example of the present invention one,
Described first pre-set zoom scale, described second pre-set zoom scale are a scale numerical value, and it is permissible
Specifically set according to user's request.
In this concrete example, selected first pre-set zoom scale is the scaling chi 1:1 of bottom figure layer, so,
Use the original dimension of bottom figure layer, it is not necessary to the size of bottom figure layer is adjusted, save resource;Retouch for convenience
Stating, when being 1:1 by selected scaling chi, the initial size of each figure layer is identical, represents with S;
Described second pre-set zoom scale is obtained with the calculating of display screen the ratio of width to height by top figure layer bounding box the ratio of width to height
, i.e. top figure layer bounding box is optimal in being completely shown to display screen;Describe for convenience, top figure layer is surrounded
The size that box can completely be shown in display screen represents with C, then, described second pre-set zoom scale C/S is second and presets
Scaling chi 1:N.
Further, data processing module 300 is additionally operable to obtain the axis of each figure layer, and is adjusted to overlapped;
Connect top figure layer and each end points of bottom figure layer respectively, form terrace with edge;
Under normal circumstances, each figure layer is tetragon, accordingly, connects top figure layer and bottom figure layer respectively
Truncated rectangular pyramids can be formed after each end points.
Further, data processing module 300 is additionally operable to scale each figure layer so that it is with each tangent plane phase of described terrace with edge
Overlap mutually or overlap in default range of tolerable variance;According to the figure layer after scaling and the area of bottom figure layer, determine each figure layer
The most corresponding scaling chi.
Described default tolerance is systemic presupposition threshold value, its can according to user need be automatically adjusted, its span be 0 to
Between 1.
In the present invention one preferred implementation, the scaling chi that each figure layer is corresponding be respectively as follows: through scaling after each
The long-pending ratio long-pending with bottom figure aspect of individual figure aspect.
Such as: after scaling, from bottom figure layer, the area to top figure layer is followed successively by: 1,1/2 ... 1/n, then
The scaling chi that each figure layer is corresponding is respectively as follows: 1,1/2 ... 1/n.
In the preferred embodiment for the present invention, data processing module 300 obtains the activation threshold tool that each figure layer is the most corresponding
Body includes:
Data processing module 300 obtains each figure layer the 3rd axial coordinate in three-dimensional system of coordinate respectively, and according to
The discrete activation threshold corresponding for each figure layer of same ratio.
After each figure layer is positioned over described three-dimensional system of coordinate, each figure layer can be directly obtained at three-dimensional coordinate according to its position
3rd axial coordinate in system.
As it can be seen, corresponding n figure layer, obtain Z coordinate from bottom figure layer to top figure layer and be followed successively by: Z1,
Z2 ... Zn, further, according to the discrete activation threshold corresponding for each figure layer of same ratio;
In the present invention one preferred implementation, data processing module 300 is with bottom figure layer as basic point, by bottom figure layer
Value be adjusted to 1, remaining coordinate figure is adjusted in proportion according to the coordinate figure of bottom figure layer;
Such as: the coordinate figure that one group of figure layer is corresponding is followed successively by: 2,3 ... 10;
Then: the coordinate figure that figure layer after adjustment is corresponding is followed successively by: 1,2 ... 9;
Further, data processing module 300 is according to the coordinate figure of the bottom figure layer coordinate figure corresponding with each figure layer
Determine the activation threshold of each figure layer;
In the concrete example of the present invention, the activation threshold of each figure layer is right with each figure layer equal to the coordinate figure of bottom figure layer
The ratio of the coordinate figure answered;Continue above-mentioned example: the activation threshold obtaining each figure layer is respectively as follows:
1:1,1:2 ..., 1:9.
Further, perform module 400 and be used for: during browsing the spacecraft stratification confession big figure of distribution, according to the most clear
The activation threshold that each figure layer of zoom factor comparison of looking at is corresponding, obtains corresponding described scaling each figure of chi auto zoom
Layer.
Under normal circumstances, user can pass through external equipment, such as: the external equipment such as mouse, keyboard, browses spacecraft level
Change for the big figure of distribution.
In navigation process, perform module 400 and automatically obtain the zoom factor currently browsed, and by the zoom factor that obtains with
Above-mentioned activation threshold is compared, it is judged which two activation threshold current zoom factor is between, and according to this threshold of activation
The scaling chi of value correspondence activates schemes layer accordingly.
In the detailed description of the invention of the present invention, perform module 400 and can activate threshold of activation bigger in two activation thresholds
The figure layer that value is corresponding, it is also possible to activate less figure layer.
Accordingly, perform module 400 to determine with the magnitude relationship of the size of current zoom factor with activation threshold
Activate which figure layer;Such as: current zoom ratio closer to which activation threshold then activates is schemed layer accordingly, does not does at this
It is described in detail.
In sum, the spacecraft stratification of the present invention supplies stepless zooming display packing and the display system of the big figure of distribution,
Quote three-dimensional system of coordinate each figure layer is processed, obtain corresponding activation threshold and scaling chi, browse spacecraft
Stratification is for during the big figure of distribution, according to the activation threshold that each figure layer of zoom factor comparison currently browsed is corresponding, obtains
Corresponding described each figure layer of scaling chi auto zoom.Without manual debugging, amplification and the contracting of each figure layer can be realized
Little, and taking over seamlessly between each figure layer, and can reach the effect of smooth switching level;Substantially increase spacecraft level
Change the drawing efficiency for the big figure of distribution and quality.
For convenience of description, it is divided into various module to be respectively described with function when describing apparatus above.Certainly, this is being implemented
The function of each module can be realized in same or multiple softwares and/or hardware during application.
As seen through the above description of the embodiments, those skilled in the art it can be understood that to the application can
The mode adding required general hardware platform by software realizes.Based on such understanding, the technical scheme essence of the application
On the part that in other words prior art contributed can embody with the form of software product, this software product can be protected
Exist and preserve in medium, such as ROM/RAM, magnetic disc, CD etc., use so that a computer equipment is (permissible including some instructions
It is personal computer, Information Push Server, or the network equipment etc.) perform each embodiment of the application or embodiment
The method described in some part.
Device embodiments described above is only schematically, the wherein said module illustrated as separating component
Can be or may not be physically separate, the parts shown as module can be or may not be physics mould
Block, i.e. may be located at a place, or can also be distributed on multiple mixed-media network modules mixed-media.Can be selected it according to the actual needs
In some or all of module realize the purpose of present embodiment scheme.Those of ordinary skill in the art are not paying creation
Property work in the case of, be i.e. appreciated that and implement.
The application can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes performing particular task or realizing the routine of particular abstract data type, program, object, group
Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these distributed computing environment, by
The remote processing devices connected by communication network performs task.In a distributed computing environment, program module is permissible
It is positioned at the local and remote computer include preservation equipment to preserve in medium.
It is to be understood that, although this specification is been described by according to embodiment, but the most each embodiment only comprises one
Individual independent technical scheme, this narrating mode of description is only that for clarity sake those skilled in the art should will say
Bright book is as an entirety, and the technical scheme in each embodiment can also be through appropriately combined, and forming those skilled in the art can
With other embodiments understood.
The a series of detailed description of those listed above is only for the feasibility embodiment of the present invention specifically
Bright, they also are not used to limit the scope of the invention, all equivalent implementations made without departing from skill of the present invention spirit
Or change should be included within the scope of the present invention.
Claims (10)
1. a spacecraft stratification is for the stepless zooming display packing of the big figure of distribution, it is characterised in that described method include with
Lower step:
Set up three-dimensional system of coordinate;
Obtain spacecraft stratification and supply the different figure layers in the big figure of distribution, and according to figure layer DISPLAY ORDER, by each show layers
According to parallel with any two coordinate axes place plane, order and be spaced apart in described three-dimensional system of coordinate;
According to each figure layer the 3rd axial coordinate in three-dimensional system of coordinate, and top figure layer, bottom figure layer is big
Little relation, obtains activation threshold corresponding to each figure layer and scaling chi;
During browsing the spacecraft stratification confession big figure of distribution, corresponding according to each figure layer of the zoom factor comparison currently browsed
Activation threshold, obtains corresponding described each figure layer of scaling chi auto zoom.
Spacecraft stratification the most according to claim 1 is for the stepless zooming display packing of the big figure of distribution, it is characterised in that
" obtain spacecraft stratification for the different figure layers in the big figure of distribution " to specifically include:
Other figure layers in the big figure of distribution are supplied according to described bottom figure layer and abstract merging Rule;
Described abstract merging rule includes: cable merges rule and device block merges rule.
Spacecraft stratification the most according to claim 1 is for the stepless zooming display packing of the big figure of distribution, it is characterised in that
" according to the 3rd axial coordinate in three-dimensional system of coordinate of each figure layer, and top figure layer, the size of bottom figure layer
Relation, obtains the scaling chi that each figure layer is the most corresponding " specifically include:
The size adjusting bottom figure layer is the first pre-set zoom scale, and the size adjusting top figure layer is the second default contracting
Put scale;Described first pre-set zoom scale is more than described second pre-set zoom scale;
Obtain the axis of each figure layer, and be adjusted to overlapped;
Connect top figure layer and each end points of bottom figure layer respectively, form terrace with edge;
Scale each figure layer so that it is overlap or overlap with each tangent plane of described terrace with edge in default range of tolerable variance;
According to the figure layer after scaling and the area of bottom figure layer, determine the scaling chi that each figure layer is the most corresponding.
Spacecraft stratification the most according to claim 1 is for the stepless zooming display packing of the big figure of distribution, it is characterised in that
" according to the 3rd axial coordinate in three-dimensional system of coordinate of each figure layer, and top figure layer, the size of bottom figure layer
Relation, obtains the activation threshold that each figure layer is the most corresponding " specifically include:
Obtain each figure layer the 3rd axial coordinate in three-dimensional system of coordinate respectively, and discrete for each figure according to same ratio
The activation threshold that layer is corresponding.
Spacecraft stratification the most according to claim 4 is for the stepless zooming display packing of the big figure of distribution, it is characterised in that
" obtain each figure layer the 3rd axial coordinate in three-dimensional system of coordinate respectively, and discrete for each figure layer according to same ratio
Corresponding activation threshold " specifically include:
With bottom figure layer as basic point, the value of bottom figure layer being adjusted to 1, remaining coordinate figure is according to the coordinate of bottom figure layer
Value is adjusted in proportion;
The coordinate figure that coordinate figure according to bottom figure layer is corresponding with each figure layer determines the activation threshold of each figure layer.
6. the stepless zooming display system of the spacecraft stratification confession big figure of distribution, it is characterised in that described system includes:
Background model storehouse, described background model storehouse is three-dimensional system of coordinate;
Data acquisition module, supplies the different figure layers in the big figure of distribution for obtaining spacecraft stratification, and shows suitable according to figure layer
Sequence, and is spaced apart each show layers in described three-dimensional seat according to, order parallel with any two coordinate axes place plane
In mark system;
Data processing module, is used for according to each figure layer the 3rd axial coordinate in three-dimensional system of coordinate, and top figure
Layer, the magnitude relationship of bottom figure layer, obtain activation threshold corresponding to each figure layer and scaling chi;
Perform module, for during browsing the spacecraft stratification confession big figure of distribution, according to the zoom factor ratio currently browsed
The activation threshold corresponding to each figure layer, obtains corresponding described each figure layer of scaling chi auto zoom.
Spacecraft stratification the most according to claim 6 is for the stepless zooming display system of the big figure of distribution, it is characterised in that
Described data processing module specifically for: according to described bottom figure layer and abstract merging Rule for the big figure of distribution
In other figure layers;
Described abstract merging rule includes: cable merges rule and device block merges rule.
Spacecraft stratification the most according to claim 6 is for the stepless zooming display system of the big figure of distribution, it is characterised in that
Described data processing module specifically for: the size adjusting bottom figure layer is the first pre-set zoom scale, adjusts
The size of top level diagram layer is the second pre-set zoom scale;Described first pre-set zoom scale is more than described second pre-set zoom
Scale;
Obtain the axis of each figure layer, and be adjusted to overlapped;
Connect top figure layer and each end points of bottom figure layer respectively, form terrace with edge;
Scale each figure layer so that it is overlap or overlap with each tangent plane of described terrace with edge in default range of tolerable variance;
According to the figure layer after scaling and the area of bottom figure layer, determine the scaling chi that each figure layer is the most corresponding.
Spacecraft stratification the most according to claim 8 is for the stepless zooming display system of the big figure of distribution, it is characterised in that
Described data processing module is additionally operable to: obtain each figure layer the 3rd axial coordinate in three-dimensional system of coordinate respectively, and
According to the discrete activation threshold corresponding for each figure layer of same ratio.
Spacecraft stratification the most according to claim 9 is for the stepless zooming display system of the big figure of distribution, and its feature exists
In,
Described data processing module is additionally operable to:
With bottom figure layer as basic point, the value of bottom figure layer being adjusted to 1, remaining coordinate figure is according to the coordinate of bottom figure layer
Value is adjusted in proportion;
The coordinate figure that coordinate figure according to bottom figure layer is corresponding with each figure layer determines the activation threshold of each figure layer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610520588.2A CN106204448B (en) | 2016-07-04 | 2016-07-04 | The stepless zooming display methods and display system of the big figure of spacecraft stratification power supply and distribution |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610520588.2A CN106204448B (en) | 2016-07-04 | 2016-07-04 | The stepless zooming display methods and display system of the big figure of spacecraft stratification power supply and distribution |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106204448A true CN106204448A (en) | 2016-12-07 |
CN106204448B CN106204448B (en) | 2019-09-13 |
Family
ID=57466046
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610520588.2A Active CN106204448B (en) | 2016-07-04 | 2016-07-04 | The stepless zooming display methods and display system of the big figure of spacecraft stratification power supply and distribution |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106204448B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111161385A (en) * | 2019-12-30 | 2020-05-15 | 北京奇艺世纪科技有限公司 | Image rendering method and device, electronic equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012256254A (en) * | 2011-06-09 | 2012-12-27 | Axell Corp | Image edition device and image edition method |
CN102904751A (en) * | 2012-09-25 | 2013-01-30 | 华为软件技术有限公司 | Network topology view generating method and device |
CN103064983A (en) * | 2013-01-22 | 2013-04-24 | 北京空间飞行器总体设计部 | Method for multi-stage dynamic displaying of power supply and distribution layer diagrams |
CN103412863A (en) * | 2013-06-05 | 2013-11-27 | 东南大学 | Embedded-device-oriented method for achieving rapid visualization of high-capacity vector map |
CN103744855A (en) * | 2013-11-29 | 2014-04-23 | 航天恒星科技有限公司 | Tile map storage method based on aggregation files |
CN104346771A (en) * | 2014-10-11 | 2015-02-11 | 国家电网公司 | Electronic map layering management method |
CN105427380A (en) * | 2015-12-23 | 2016-03-23 | 昆明能讯科技有限责任公司 | Three-dimensional map data processing method based on multiple detailed layers |
CN105701300A (en) * | 2016-01-14 | 2016-06-22 | 北京空间飞行器总体设计部 | Spacecraft electrical information query system |
-
2016
- 2016-07-04 CN CN201610520588.2A patent/CN106204448B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012256254A (en) * | 2011-06-09 | 2012-12-27 | Axell Corp | Image edition device and image edition method |
CN102904751A (en) * | 2012-09-25 | 2013-01-30 | 华为软件技术有限公司 | Network topology view generating method and device |
CN103064983A (en) * | 2013-01-22 | 2013-04-24 | 北京空间飞行器总体设计部 | Method for multi-stage dynamic displaying of power supply and distribution layer diagrams |
CN103412863A (en) * | 2013-06-05 | 2013-11-27 | 东南大学 | Embedded-device-oriented method for achieving rapid visualization of high-capacity vector map |
CN103744855A (en) * | 2013-11-29 | 2014-04-23 | 航天恒星科技有限公司 | Tile map storage method based on aggregation files |
CN104346771A (en) * | 2014-10-11 | 2015-02-11 | 国家电网公司 | Electronic map layering management method |
CN105427380A (en) * | 2015-12-23 | 2016-03-23 | 昆明能讯科技有限责任公司 | Three-dimensional map data processing method based on multiple detailed layers |
CN105701300A (en) * | 2016-01-14 | 2016-06-22 | 北京空间飞行器总体设计部 | Spacecraft electrical information query system |
Non-Patent Citations (2)
Title |
---|
LI X 等: "Network transmission strategy for raster data", 《FUTURE COMPUTER AND COMMUNICATION (ICFCC), 2010 2ND INTERNATIONAL CONFERENCE ON. IEEE》 * |
毛丽 等: "HIS 域中基于金字塔变换的影像缩放算法及实现", 《化工矿产地质》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111161385A (en) * | 2019-12-30 | 2020-05-15 | 北京奇艺世纪科技有限公司 | Image rendering method and device, electronic equipment and storage medium |
CN111161385B (en) * | 2019-12-30 | 2023-10-10 | 北京奇艺世纪科技有限公司 | Image rendering method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106204448B (en) | 2019-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100492379C (en) | Electronic machine three-dimensional routing system | |
CN108629823B (en) | Method and device for generating multi-view image | |
US9818179B2 (en) | Method for manufacturing a wire harness | |
CN101382887A (en) | Method and apparatus for regulating interface layout | |
EP2035978A2 (en) | System and method for generating a dynamic electrical wiring diagram including an internal box layout structure | |
CN107452072A (en) | BIM line modelings method and its system based on webpage | |
WO2007023010A2 (en) | Method and system for displaying performance constraints in a flow design tool | |
US11593533B2 (en) | Techniques for visualizing and exploring large-scale generative design datasets | |
CN106658139A (en) | Focus control method and device | |
WO2023226371A1 (en) | Target object interactive reproduction control method and apparatus, device and storage medium | |
CN111653231B (en) | Display screen configuration method, device and system and display control system | |
CN110567459A (en) | Path planning method and device | |
CN112506465B (en) | Method and device for switching scenes in panoramic roaming | |
CN106204448A (en) | Spacecraft stratification supplies stepless zooming display packing and the display system of the big figure of distribution | |
CN112256254A (en) | Method and device for generating layout code | |
CN110648402A (en) | Method, device and equipment for placing virtual object along curve | |
CN107369192B (en) | Connection relation processing method and device | |
CN113126866B (en) | Object determination method, device, electronic equipment and storage medium | |
CN112883481B (en) | Intelligent substation modeling method and system based on BIM | |
CN114238677A (en) | Multi-view display method, device, equipment and medium | |
CN113743061B (en) | Numerical range adjustment method, device, electronic equipment and readable storage medium | |
CN110162880A (en) | Optical cable laying method, device, equipment and medium | |
CN112882775A (en) | Method and device for self-adaptive adjustment of page template | |
CN113010582A (en) | Data processing method and device, computer readable medium and electronic equipment | |
CN111984746B (en) | Method and device for generating simulation map based on grid map |
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 |