View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0021093 | Open CASCADE | OCCT:Application Framework | public | 2009-04-22 12:06 | 2012-01-11 14:17 |
Reporter | Assigned To | ||||
Priority | normal | Severity | feature | ||
Status | closed | Resolution | fixed | ||
OS | All | ||||
Fixed in Version | 6.3.1 | ||||
Summary | 0021093: Separation of OCAF to Lite and Standart parts completion | ||||
Description | This patch is a result of separation of OCAF to Lite and standard patches. It allows separate pure numerical data (lite patch) from all attributes linked with geometry processing (standard patch). Patch includes : 1.adm - 'adm' directory which contains: UDLIST, example of tcl-file and MigrationSheet.txt file. 2.src - modified or impacted units 3.work: 3.1.src - old sources before modification 3.2.data - data files build with old version of OCCT (before separation). This data can be used for compatibility tests (old versions of documents are supported); several of them (EC175.cbf and Mod2.cbf) contains data of very old version: Document version - 2. 3.3.scripts: std-test, bin-test, xml-test - these scripts presents building of migarted graphical attributes in new version and store/retrieve of them for all three schemas. Unfortunately OCCT tests data base doesn't contain tests for these attributes (PatternStd, Constraint ...) at all. Note. For correct working from comapatibility point of view new environment variable should be defined: CSF_MIGRATION_TYPES. This variable points to file containing conversion table (it defines a migation of old types to ne one). See the adm directory ==> MigartionSheet.txt. The name of this file is not fixed and as file name as path is under responsibility of variable - CSF_MIGRATION_TYPES. If this variable will not be defined an application will not be able to treate old documents (containing old data types like TDataStd_Shape ..). | ||||
Additional information and documentation updates | Documentation remark, added by SZY 2009-05-15 13:23:41: New features: After modifications allows separation pure numerical data (lite toolkit) from all attributes linked with geometry processing (standard toolkit). Changes: 1) New packages was built: - TDataXtd, - MDataXtd, - BinMDataXtd, - XmlMDataXtd. 2)Next classes and enumerations migrated from TDataStd package to TDataXtd enumeration ConstraintEnum; enumeration GeometryEnum; class Position; class Constraint; class Placement; class Geometry; class Point; class Axis; class Plane; deferred class Pattern; class PatternStd; class Shape; class Array1OfTrsf instantiates Array1 from TCollection (Trsf from gp); class HArray1OfTrsf instantiates HArray1 from TCollection (Trsf from gp, Array1OfTrsf from TDataXtd); and package methods: IDList (anIDList : in out IDList from TDF); ---Purpose: Appends to <anIDList> the list of the attributes -- IDs of this package. CAUTION: <anIDList> is NOT -- cleared before use. ---Purpose: Print of TDataExt enumeration -- ============================= Print (GEO : GeometryEnum from TDataXtd; S : in out OStream) ---Purpose: Prints the name of the geometry dimension <GEO> as a String on -- the Stream <S> and returns <S>. ---C++: return & returns OStream; Print (CTR : ConstraintEnum from TDataXtd; S : in out OStream) ---Purpose: Prints the name of the constraint <CTR> as a String on -- the Stream <S> and returns <S>. ---C++: return & returns OStream; 3)Now TDataStd package contains standard attrubutes covering only numerical data. And TDataXtd package contains attributes covering standard Geometry attributes. 4) TDocStd_Document class was cleaned from references to TNaming package methods. 5)Method void TDocStd_XLinkTool::Copy (const TDF_Label& target,const TDF_Label& source); was modified to remove references to Tnaming. The last modifications leads to neccessity in case of dealing with Shapes use after applying TDocStd_XLinkTool::Copy() method next postfix : TopTools_DataMapOfShapeShape M; TNaming::ChangeShapes(target,M); 6)class TNaming_UsedShapes was modifed to support modifications done in TDocStd_Document class. All other modification are done to support modifications of TDocStd & TDataStd, TDataXtd. Modified entities: BinDrivers ---------- BinDrivers.cxx BinDrivers_DocumentRetrievalDriver.cdl BinDrivers_DocumentRetrievalDriver.cxx BinDrivers_DocumentStorageDriver.cdl BinDrivers_DocumentStorageDriver.cxx BinLDrivers ----------- BinLDrivers.cxx BinLDrivers_DocumentRetrievalDriver.cdl BinLDrivers_DocumentRetrievalDriver.cxx BinLDrivers_DocumentRetrievalDriver.cxx~ BinLDrivers_DocumentStorageDriver.cdl BinLDrivers_DocumentStorageDriver.cxx BinMDataStd ----------- BinMDataStd.cdl BinMDataStd.cxx BinMDataXtd ----------- BinMDataXtd.cdl BinMDataXtd.cxx BinMDataXtd_AxisDriver.cdl BinMDataXtd_AxisDriver.cxx BinMDataXtd_ConstraintDriver.cdl BinMDataXtd_ConstraintDriver.cxx BinMDataXtd_GeometryDriver.cdl BinMDataXtd_GeometryDriver.cxx BinMDataXtd_PatternStdDriver.cdl BinMDataXtd_PatternStdDriver.cxx BinMDataXtd_PlacementDriver.cdl BinMDataXtd_PlacementDriver.cxx BinMDataXtd_PlaneDriver.cdl BinMDataXtd_PlaneDriver.cxx BinMDataXtd_PointDriver.cdl BinMDataXtd_PointDriver.cxx BinMDataXtd_ShapeDriver.cdl BinMDataXtd_ShapeDriver.cxx BinMPrsStd ---------- BinMPrsStd_PositionDriver.cxx DDataStd -------- DDataStd.cdl DDataStd.cxx DDataStd_BasicCommands.cxx DDataStd_ConstraintCommands.cxx DDataStd_DatumCommands.cxx DDataStd_DrawDisplayCommands.cxx DDataStd_DrawDriver.cdl DDataStd_DrawDriver.cxx DDataStd_ObjectCommands.cxx DDataStd_Sample.cxx DPrsStd ------- DPrsStd.cxx DPrsStd_AISPresentationCommands.cxx DPrsStd_Sample.cxx MDataStd -------- files MDataStd.cdl MDataStd.cxx MDataXtd -------- MDataXtd.cdl MDataXtd.cxx MDataXtd_AxisRetrievalDriver.cdl MDataXtd_AxisRetrievalDriver.cxx MDataXtd_AxisStorageDriver.cdl MDataXtd_AxisStorageDriver.cxx MDataXtd_ConstraintRetrievalDriver.cdl MDataXtd_ConstraintRetrievalDriver.cxx MDataXtd_ConstraintStorageDriver.cdl MDataXtd_ConstraintStorageDriver.cxx MDataXtd_GeometryRetrievalDriver.cdl MDataXtd_GeometryRetrievalDriver.cxx MDataXtd_GeometryStorageDriver.cdl MDataXtd_GeometryStorageDriver.cxx MDataXtd_PatternStdRetrievalDriver.cdl MDataXtd_PatternStdRetrievalDriver.cxx MDataXtd_PatternStdStorageDriver.cdl MDataXtd_PatternStdStorageDriver.cxx MDataXtd_PlacementRetrievalDriver.cdl MDataXtd_PlacementRetrievalDriver.cxx MDataXtd_PlacementStorageDriver.cdl MDataXtd_PlacementStorageDriver.cxx MDataXtd_PlaneRetrievalDriver.cdl MDataXtd_PlaneRetrievalDriver.cxx MDataXtd_PlaneStorageDriver.cdl MDataXtd_PlaneStorageDriver.cxx MDataXtd_PointRetrievalDriver.cdl MDataXtd_PointRetrievalDriver.cxx MDataXtd_PointStorageDriver.cdl MDataXtd_PointStorageDriver.cxx MDataXtd_ShapeRetrievalDriver.cdl MDataXtd_ShapeRetrievalDriver.cxx MDataXtd_ShapeStorageDriver.cdl MDataXtd_ShapeStorageDriver.cxx MDocStd ------- MDocStd.cdl MDocStd.cxx MPrsStd ------- MPrsStd_PositionRetrievalDriver.cxx MPrsStd_PositionStorageDriver.cxx PDataStd -------- PDataStd.cdl PDataXtd -------- PDataXtd.cdl PDataXtd_Axis.cdl PDataXtd_Axis.cxx PDataXtd_Constraint.cdl PDataXtd_Constraint.cxx PDataXtd_Geometry.cdl PDataXtd_Geometry.cxx PDataXtd_PatternStd.cdl PDataXtd_PatternStd.cxx PDataXtd_PatternStd.lxx PDataXtd_Placement.cdl PDataXtd_Placement.cxx PDataXtd_Plane.cdl PDataXtd_Plane.cxx PDataXtd_Point.cdl PDataXtd_Point.cxx PDataXtd_Position.cdl PDataXtd_Position.cxx PDataXtd_Position.lxx PDataXtd_Shape.cdl PDataXtd_Shape.cxx StdDrivers ---------- StdDrivers_DocumentRetrievalDriver.cxx StdDrivers_DocumentStorageDriver.cxx StdLDrivers ----------- StdLDrivers_DocumentRetrievalDriver.cxx StdLDrivers_DocumentStorageDriver.cxx StdLSchema ---------- StdLSchema.cdl StdResource ----------- files MigrationSheet.txt StdSchema --------- StdSchema.cdl Storage ------- Storage_Schema.cdl Storage_Schema.cxx TDataStd -------- TDataStd.cdl TDataStd.cxx TDataXtd -------- TDataXtd.cdl TDataXtd.cxx TDataXtd_Axis.cdl TDataXtd_Axis.cxx TDataXtd_Constraint.cdl TDataXtd_Constraint.cxx TDataXtd_Geometry.cdl TDataXtd_Geometry.cxx TDataXtd_Pattern.cdl TDataXtd_Pattern.cxx TDataXtd_PatternStd.cdl TDataXtd_PatternStd.cxx TDataXtd_PatternStd.lxx TDataXtd_Placement.cdl TDataXtd_Placement.cxx TDataXtd_Plane.cdl TDataXtd_Plane.cxx TDataXtd_Point.cdl TDataXtd_Point.cxx TDataXtd_Position.cdl TDataXtd_Position.cxx TDataXtd_Shape.cdl TDataXtd_Shape.cxx TDocStd ------- TDocStd_Document.cxx TDocStd_XLinkTool.cdl TDocStd_XLinkTool.cxx TPrsStd ------- TPrsStd.cdl TPrsStd_AxisDriver.cxx TPrsStd_ConstraintDriver.cxx TPrsStd_ConstraintTools.cdl TPrsStd_ConstraintTools.cxx TPrsStd_DriverTable.cxx TPrsStd_GeometryDriver.cxx TPrsStd_PlaneDriver.cxx TPrsStd_PointDriver.cxx TKBin ----- packages TKBinL ------ packages TKCAF ------ packages TKLCAF ------ packages TKPLCAF ------ externlib packages TKPCAF ------ packages XmlDrivers ---------- XmlDrivers.cxx XmlDrivers_DocumentRetrievalDriver.cdl XmlDrivers_DocumentRetrievalDriver.cxx XmlDrivers_DocumentStorageDriver.cdl XmlDrivers_DocumentStorageDriver.cxx XmlLDrivers ----------- XmlLDrivers.cxx XmlLDrivers_DocumentRetrievalDriver.cdl XmlLDrivers_DocumentRetrievalDriver.cxx XmlLDrivers_DocumentStorageDriver.cdl XmlLDrivers_DocumentStorageDriver.cxx XmlMDataStd ----------- XmlMDataStd.cdl XmlMDataStd.cxx XmlMDataXtd ----------- XmlMDataStd.cdl XmlMDataStd.cxx XmlMDataStd_AxisDriver.cdl XmlMDataStd_AxisDriver.cxx XmlMDataStd_ConstraintDriver.cdl XmlMDataStd_ConstraintDriver.cxx XmlMDataStd_GeometryDriver.cdl XmlMDataStd_GeometryDriver.cxx XmlMDataStd_PatternStdDriver.cdl XmlMDataStd_PatternStdDriver.cxx XmlMDataStd_PlacementDriver.cdl XmlMDataStd_PlacementDriver.cxx XmlMDataStd_PlaneDriver.cdl XmlMDataStd_PlaneDriver.cxx XmlMDataStd_PointDriver.cdl XmlMDataStd_PointDriver.cxx XmlMDataStd_ShapeDriver.cdl XmlMDataStd_ShapeDriver.cxx XmlMDF ------ XmlMDF.cxx XmlMPrsStd ---------- XmlMPrsStd_PositionDriver.cxx | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
2009-04-22 10:06
|
OCAF_split.tar.gz (1,674,578 bytes) |
2009-04-23 10:12
|
OCAF_split_addition.tar.gz (8,660 bytes) |
2009-04-23 14:00
|
20958-21093-20550.tar.gz (141,061 bytes) |
2009-04-23 16:57
|
OCAF_split-v2.tar.gz (1,684,747 bytes) |
2009-04-27 13:27
|
BinLDrivers_DocumentRetrievalDriver.zip (4,250 bytes) |
2009-04-28 11:09
|
BinLDrivers.tar.gz (4,332 bytes) |
2009-05-13 09:26
|
21093-21014.tar.gz (56,626 bytes) |
2009-05-13 09:31
|
OCC21093-corr.tar.gz (4,374 bytes) |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-04-23 16:02 | bugmaster | Assigned To | bugmaster => szy |
2009-04-23 16:02 | bugmaster | Status | new => assigned |
2009-05-13 12:32 | bugmaster | Status | assigned => verified |
2009-06-25 13:22 | bugmaster | Status | verified => closed |
2009-06-25 13:22 | bugmaster | Resolution | @0@ => fixed |
2011-08-02 10:32 | bugmaster | Category | OCCT:OCAF => OCCT:Application Framework |
2012-01-11 14:17 |
|
Description Updated | |
2012-01-11 14:17 |
|
Additional Information Updated |