Anonymous | Login | 2021-01-17 19:01 MSK | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0031918 | Open CASCADE | [OCCT] OCCT:Application Framework | public | 2020-11-11 13:18 | 2021-01-11 14:58 | ||||||||
Reporter | mpv | ||||||||||||
Assigned To | mpv | ||||||||||||
Priority | normal | Severity | feature | ||||||||||
Status | new | Resolution | open | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | [OCCT] 7.5.0 | ||||||||||||
Target Version | [OCCT] 7.6.0* | Fixed in Version | |||||||||||
Summary | 0031918: Application Framework - New binary format for fast reading part of OCAF document | ||||||||||||
Description | In the current version of the binary format the shapes, geometry and triangulation are stored in shapes-section and there is no possibility during the reading of such file to skip this part or some sub-parts of it. So, to read part of the document it is necessary to read this section anyway and keep seek-position of objects that must be loaded during labels and attributes processing. It is proposed to allow to store binary format in a fast-access mode (so, it can not be loaded by the standard binary format reader and older version of OCCT) for reading part of the document only. It will be quite bigger than standard file, but in case it is loaded partially, it should be much faster, without calling "seek" many times. The ways to speed-up reading are the following: - To store shapes, geometry, triangulation and other information just in section of TNaming_NamingShape attribute, where it is located in the data tree. - To refer only shared shape elements, stored before this attribute (to add also flag to store references or always write copy without referencing). - To write size of the stored section for each label to allow quickly ignore of reading not needed sections. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Test case number | |||||||||||||
Attached Files | |||||||||||||
![]() |
|
(0098002) git (administrator) 2021-01-01 12:32 |
Branch CR31918 has been created by mpv. SHA-1: 192348a86a29e87ec62ec663ea3688c2c8811f65 Detailed log of new commits: Author: mpv Date: Fri Jan 1 12:32:51 2021 +0300 0031918: Application Framework - New binary format for fast reading part of OCAF document Initial implementation of new format for quick reading and writing parts of the documents. It consists in writing shapes and all their contents right in the TNaming_NamedShape attribute placement and skipping the shape section. For the current moment it is implemented as a new version 12 of the binary format. It will be decided later to have it like this and make this version of the format as default, or setting a special flag for such version reading/writing. Modifications: BinLDrivers and BinDrivers packages - modifications related to the quick part tree format flag usage, skipping shape section writing and adding labels sizes into the document to be able to pass labels during the reading quickly. BinObjMgt_Persistent amd BinObjMgt_Position - to add possibility to write directly into the stream some data just after the attribute. Before this record a data-size is recorded. BinMXCAFDoc package modifications to write BinMXCAFDoc_LocationDriver location in the same way as shapes write location data right after the attribute (empty) data in this new format. BinTools package: creation of ShapeReader and ShapeWriter classes with same root class ShapeSetBase with ShapeSet class. These classes allows to write/read shapes directly to the stream. If some object is already in the stream, write a reference - relative position of the duplicated object. PCDM_ReaderFilter - modified to be able to browse labels tree quickly, without usage of referencing by entry-strings. |
(0098008) git (administrator) 2021-01-02 11:26 |
Branch CR31918 has been updated by mpv. SHA-1: 681f70b515dfd4d996ee1ec061c06a3ba2e2f3a5 Detailed log of new commits: Author: mpv Date: Sat Jan 2 11:27:38 2021 +0300 # fixes for the compilation errors and warnings |
(0098009) git (administrator) 2021-01-02 11:59 |
Branch CR31918 has been updated by mpv. SHA-1: 9913d36a8e6b50a88591847e3772d5309d813db6 Detailed log of new commits: Author: mpv Date: Sat Jan 2 12:00:27 2021 +0300 # fixes for the compilation errors and warnings |
(0098039) git (administrator) 2021-01-10 12:23 |
Branch CR31918_1 has been created by mpv. SHA-1: 4af86334b3cecda9b6ee2bed0ebe4a78f2a0ba39 Detailed log of new commits: Author: mpv Date: Sat Jan 9 18:01:53 2021 +0300 0031918: Application Framework - New binary format for fast reading part of OCAF document Initial implementation of new format for quick reading and writing parts of the documents. It consists in writing shapes and all their contents right in the TNaming_NamedShape attribute placement and skipping the shape section. For the current moment it is implemented as a new version 12 of the binary format. It will be decided later to have it like this and make this version of the format as default, or setting a special flag for such version reading/writing. Modifications: BinLDrivers and BinDrivers packages - modifications related to the quick part tree format flag usage, skipping shape section writing and adding labels sizes into the document to be able to pass labels during the reading quickly. BinObjMgt_Persistent amd BinObjMgt_Position - to add possibility to write directly into the stream some data just after the attribute. Before this record a data-size is recorded. BinMXCAFDoc package modifications to write BinMXCAFDoc_LocationDriver location in the same way as shapes write location data right after the attribute (empty) data in this new format. BinTools package: creation of ShapeReader and ShapeWriter classes with same root class ShapeSetBase with ShapeSet class. These classes allows to write/read shapes directly to the stream. If some object is already in the stream, write a reference - relative position of the duplicated object. PCDM_ReaderFilter - modified to be able to browse labels tree quickly, without usage of referencing by entry-strings. |
(0098040) git (administrator) 2021-01-10 12:53 |
Branch CR31918_1 has been updated by mpv. SHA-1: c94423fbf0ea082625c683ea02ef617089236afd Detailed log of new commits: Author: mpv Date: Sun Jan 10 12:53:55 2021 +0300 # fixes for the compilation errors and warnings |
(0098049) git (administrator) 2021-01-11 11:59 |
Branch CR31918_1 has been updated by mpv. SHA-1: 58ec12d1a828a1797d971f3c59f1a3cd57a1f2ec Detailed log of new commits: Author: mpv Date: Mon Jan 11 12:00:29 2021 +0300 # fixes for the compilation errors and warnings |
(0098069) git (administrator) 2021-01-11 14:58 |
Branch CR31918_1 has been updated by mpv. SHA-1: 0c40b6e394d5f030fbcedcc6cbcef2fce4dabce8 Detailed log of new commits: Author: mpv Date: Mon Jan 11 14:58:55 2021 +0300 # fixes for the compilation errors and warnings |
![]() |
|||
Date Modified | Username | Field | Change |
2020-11-11 13:18 | mpv | New Issue | |
2020-11-11 13:18 | mpv | Assigned To | => mpv |
2020-11-11 13:20 | mpv | Relationship added | child of 0031839 |
2021-01-01 12:32 | git | Note Added: 0098002 | |
2021-01-02 11:26 | git | Note Added: 0098008 | |
2021-01-02 11:59 | git | Note Added: 0098009 | |
2021-01-10 12:23 | git | Note Added: 0098039 | |
2021-01-10 12:53 | git | Note Added: 0098040 | |
2021-01-11 11:59 | git | Note Added: 0098049 | |
2021-01-11 14:58 | git | Note Added: 0098069 |
Copyright © 2000 - 2021 MantisBT Team |