View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023959 | Open CASCADE | OCCT:Visualization | public | 2013-05-13 15:44 | 2014-01-22 14:27 |
Reporter | Assigned To | ||||
Priority | normal | Severity | feature | ||
Status | closed | Resolution | fixed | ||
Platform | A | OS | L | ||
Target Version | 6.7.0 | Fixed in Version | 6.7.0 | ||
Summary | 0023959: Getting rid of generic classes in Visualization | ||||
Description | As one of steps related to WOK removal, it is necessary to revise generic CDL classes and turn them into non-CDL C++ classes. If a class is used only once, it should become a regular C++ class. If a class is re-used in several places, the option to make it a C++ template should be considered. It is proposed to start from the visualization packages (TKV3d toolkit - actually only Prs3d package is concerned, it contains 16 generic classes as of today). | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
The git branch CR23959 is ready to be reviewed. Generic classes replaced with template classes: 1) Prs3d_WFShape, 2) Prs3d_Point Classes in StdPrs replaced with simple classes (as they implement generic classes from Prs3d): 1) StdPrs_WFRestrictedFace (implements Prs3d_WFRestrictedFace generic class) 2) StdPrs_HLRShape (implements Prs3d_HLRShape generic class) 3) DsgPrs_DatumPrs (implements Prs3d_Datum genetic class) Classes deleted as empty and unused: 1) Prs3d_SectionShapeTool 2) Prs3d_PointTool 3) Prs3d_LineTool 4) Prs3d_HLRShapeTool 5) Prs3d_VectorTool 6) Prs3d_DatumTool 7) Prs3d_RestrictionTool Classes removed as unused: 1) Prs3d_CurvePresentation 2) Prs3d_Vector 3) Prs3d_Line Classes removed as unused (this functionality exists in StdPrs already): 1) Prs3d_WFDeflectionRestrictedFace Dear san, please review. |
|
Branch CR23959 reviewed with the following remark: - src/StdPrs/StdPrs_WFDeflectionShape.hxx, src/StdPrs/StdPrs_WFShape.hxx, src/StdPrs/StdPrs_Point.hxx, src/StdPrs/StdPrs_Vertex.hxx: typedef is preferred over #define, it provides type information to the compiler so the latter can produce more meaningful messages. |
|
In files: src/StdPrs/StdPrs_WFDeflectionShape.hxx, src/StdPrs/StdPrs_WFShape.hxx, src/StdPrs/StdPrs_Point.hxx, src/StdPrs/StdPrs_Vertex.hxx define directive was changed to typedef. Dear san, please review. |
|
Branch CR23959 reviewed without remarks, ready for testing. |
|
Dear BugMaster, Branch CR23959 was compiled on Linux platform. There are following extraction errors: http://jenkins-test-02.nnov.opencascade.com:8080/user/mnt/my-views/view/CR23959/job/mnt-CR23959-master_prepare_occt_linux/1/parsed_console/? |
|
Dear BugMaster, Branch CR23959 was recompiled on Linux platform. Extraction step is good now. Branch CR23959 will be compiled and tested now. |
|
Dear BugMaster, Branch CR23959 was compiled on Linux platform. There are following compilation errors: http://jenkins-test-02.nnov.opencascade.com:8080/user/mnt/my-views/view/CR23959/job/mnt-CR23959-master_build_occt_linux/1/parsed_console/? |
|
Compilation errors were corrected. The git branch CR23959 was updated. Dear san, please review. |
|
Branch CR23959 reviewed without remarks, ready for testing. |
|
Dear BugMaster, Branch CR23959 (and products from GIT master) was compiled on Linux and Windows platforms and tested. SHA-1: d7dbd840c02afa1d707272a221525a43d3df3f8a Number of compiler warnings: occt component : Linux: 2 (2 on master) Windows: 7 (7 on master) products component : Linux: 0 (0 on master) Windows: 63 (63 on master) Regressions: http://occt-tests/CR23959-master-occt/Windows-32-VC9/bugs/vis/bug23747_1.html bugs vis(004) bug23747_1 - BAD. Improvements: No improvements Testing cases: Not needed Testing on Linux: Total MEMORY difference: 366497096 / 366248232 Total CPU difference: 45936.57000000106 / 41752.48000000117 Testing on Windows: Total MEMORY difference: 415872024 / 417160992 Total CPU difference: 43948.4375 / 41088.75 There are not differences in images found by testdiff. |
|
Dear BugMaster, Test case bugs/vis(004)/bug23747_1 is not stable, it is OK "by hands". Branch CR23959 is tested. |
|
Dear BugMaster, Branch CR23959 was updated. In DsgPrs_DatumPrs incorrect marker drawing in the origin of trihedron was fixed. Could you please test it once more? |
|
Dear BugMaster, Branch CR23959 was compiled on Linux platform. There are following compilation error: In file included from ../../../../src/DsgPrs/DsgPrs_DatumPrs.cxx:18: ../../../../inc/DsgPrs_DatumPrs.hxx:32: error: ISO C++ forbids declaration of ‘gp_Ax2’ with no type ../../../../inc/DsgPrs_DatumPrs.hxx:32: error: expected ‘,’ or ‘...’ before ‘&’ token ../../../../src/DsgPrs/DsgPrs_DatumPrs.cxx:31: error: prototype for ‘void DsgPrs_DatumPrs::Add(const Handle_Prs3d_Presentation&, const gp_Ax2&, const Handle_Prs3d_Drawer&)’ does not match any in class ‘DsgPrs_DatumPrs’ ../../../../inc/DsgPrs_DatumPrs.hxx:30: error: candidate is: static void DsgPrs_DatumPrs::Add(const Handle_Prs3d_Presentation&, int) make[2]: *** [DsgPrs_DatumPrs.lo] Error 1 |
|
Compilation errors were corrected. The git branch was updated. Dear san, please review. |
|
Branch CR23959 reviewed without remarks, ready for testing. |
|
Dear BugMaster, Branch CR23959 (and products from GIT master) was compiled on Linux and Windows platforms and tested. Number of compiler warnings: occt component : Linux: 2 (2 on master) Windows: 7 (7 on master) products component : Linux: 0 (0 on master) Windows: 63 (63 on master) Regressions: No regressions Improvements: No improvements Testing cases: Not needed Testing on Linux: Total MEMORY difference: 366580304 / 364462604 Total CPU difference: 43905.89000000086 / 41174.07000000086 Testing on Windows: Total MEMORY difference: 414606788 / 413497168 Total CPU difference: 36272.75 / 34944.171875 There are not differences in images found by testdiff. |
occt: master d7223c76 2013-06-20 11:28:40
|
0023959: Getting rid of generic classes in Visualization: generic classes were removed from Prs3d Errors corrections; DsgPrs_DatumTool class was removed as unused |
Affected Issues 0023959 |
|
mod - src/DsgPrs/DsgPrs.cdl | Diff File | ||
add - src/DsgPrs/DsgPrs_DatumPrs.cxx | Diff File | ||
rm - src/DsgPrs/DsgPrs_DatumTool.cdl | Diff File | ||
add - src/DsgPrs/FILES | Diff File | ||
mod - src/Prs3d/FILES | Diff File | ||
mod - src/Prs3d/Prs3d.cdl | Diff File | ||
rm - src/Prs3d/Prs3d_CurvePresentation.cdl | Diff File | ||
rm - src/Prs3d/Prs3d_Datum.cdl | Diff File | ||
rm - src/Prs3d/Prs3d_Datum.gxx | Diff File | ||
rm - src/Prs3d/Prs3d_DatumTool.cdl | Diff File | ||
rm - src/Prs3d/Prs3d_HLRShape.cdl | Diff File | ||
rm - src/Prs3d/Prs3d_HLRShape.gxx | Diff File | ||
rm - src/Prs3d/Prs3d_HLRShapeTool.cdl | Diff File | ||
rm - src/Prs3d/Prs3d_Line.cdl | Diff File | ||
rm - src/Prs3d/Prs3d_Line.gxx | Diff File | ||
rm - src/Prs3d/Prs3d_LineTool.cdl | Diff File | ||
rm - src/Prs3d/Prs3d_LineTool.gxx | Diff File | ||
rm - src/Prs3d/Prs3d_Point.cdl | Diff File | ||
rm - src/Prs3d/Prs3d_Point.gxx | Diff File | ||
add - src/Prs3d/Prs3d_Point.hxx | Diff File | ||
rm - src/Prs3d/Prs3d_PointTool.cdl | Diff File | ||
rm - src/Prs3d/Prs3d_PointTool.gxx | Diff File | ||
rm - src/Prs3d/Prs3d_RestrictionTool.cdl | Diff File | ||
rm - src/Prs3d/Prs3d_RestrictionTool.gxx | Diff File | ||
rm - src/Prs3d/Prs3d_SectionShapeTool.cdl | Diff File | ||
rm - src/Prs3d/Prs3d_SectionShapeTool.gxx | Diff File | ||
rm - src/Prs3d/Prs3d_Vector.cdl | Diff File | ||
rm - src/Prs3d/Prs3d_Vector.gxx | Diff File | ||
rm - src/Prs3d/Prs3d_VectorTool.cdl | Diff File | ||
rm - src/Prs3d/Prs3d_VectorTool.gxx | Diff File | ||
rm - src/Prs3d/Prs3d_WFDeflectionRestrictedFace.cdl | Diff File | ||
rm - src/Prs3d/Prs3d_WFDeflectionRestrictedFace.gxx | Diff File | ||
rm - src/Prs3d/Prs3d_WFRestrictedFace.cdl | Diff File | ||
rm - src/Prs3d/Prs3d_WFRestrictedFace.gxx | Diff File | ||
rm - src/Prs3d/Prs3d_WFShape.cdl | Diff File | ||
rm - src/Prs3d/Prs3d_WFShape.gxx | Diff File | ||
add - src/Prs3d/Prs3d_WFShape.hxx | Diff File | ||
add - src/StdPrs/FILES | Diff File | ||
mod - src/StdPrs/StdPrs.cdl | Diff File | ||
add - src/StdPrs/StdPrs_HLRShape.cxx | Diff File | ||
add - src/StdPrs/StdPrs_WFRestrictedFace.cxx | Diff File | ||
add - src/StdPrs/StdPrs_WFRestrictedFace.hxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-05-13 15:44 |
|
New Issue | |
2013-05-13 15:44 |
|
Assigned To | => aba |
2013-05-13 15:44 |
|
Status | new => assigned |
2013-05-15 12:31 |
|
Summary | Getting rid of generic classes => Getting rid of generic classes in Visualization |
2013-05-20 16:02 |
|
Note Added: 0024438 | |
2013-05-20 16:02 |
|
Assigned To | aba => san |
2013-05-20 16:02 |
|
Status | assigned => resolved |
2013-05-23 16:19 |
|
Note Added: 0024496 | |
2013-05-23 16:19 |
|
Assigned To | san => aba |
2013-05-23 16:19 |
|
Status | resolved => assigned |
2013-05-27 12:35 |
|
Note Added: 0024520 | |
2013-05-27 12:35 |
|
Assigned To | aba => san |
2013-05-27 12:35 |
|
Status | assigned => resolved |
2013-05-27 13:46 |
|
Relationship added | related to 0023997 |
2013-05-29 18:02 |
|
Relationship added | child of 0024002 |
2013-05-29 18:15 |
|
Note Added: 0024550 | |
2013-05-29 18:15 |
|
Assigned To | san => bugmaster |
2013-05-29 18:15 |
|
Status | resolved => reviewed |
2013-05-30 15:32 | bugmaster | Assigned To | bugmaster => mkv |
2013-05-31 10:42 |
|
Note Added: 0024576 | |
2013-05-31 10:43 |
|
Test case number | => Not needed |
2013-05-31 10:43 |
|
Assigned To | mkv => aba |
2013-05-31 10:43 |
|
Status | reviewed => assigned |
2013-05-31 12:12 |
|
Assigned To | aba => mkv |
2013-05-31 12:35 |
|
Note Added: 0024580 | |
2013-05-31 12:35 |
|
Status | assigned => resolved |
2013-05-31 12:36 |
|
Status | resolved => reviewed |
2013-05-31 16:47 |
|
Note Added: 0024587 | |
2013-05-31 16:47 |
|
Assigned To | mkv => aba |
2013-05-31 16:47 |
|
Status | reviewed => assigned |
2013-06-03 13:14 |
|
Note Added: 0024601 | |
2013-06-03 13:14 |
|
Assigned To | aba => san |
2013-06-03 13:14 |
|
Status | assigned => resolved |
2013-06-03 22:00 |
|
Note Added: 0024619 | |
2013-06-03 22:00 |
|
Assigned To | san => bugmaster |
2013-06-03 22:00 |
|
Status | resolved => reviewed |
2013-06-05 14:41 |
|
Note Added: 0024637 | |
2013-06-05 14:42 |
|
Assigned To | bugmaster => aba |
2013-06-05 14:42 |
|
Status | reviewed => assigned |
2013-06-07 14:24 |
|
Note Added: 0024695 | |
2013-06-07 14:25 |
|
Assigned To | aba => bugmaster |
2013-06-07 14:25 |
|
Status | assigned => resolved |
2013-06-07 14:25 |
|
Status | resolved => reviewed |
2013-06-07 14:25 |
|
Status | reviewed => tested |
2013-06-07 15:01 |
|
Note Added: 0024697 | |
2013-06-07 15:01 |
|
Status | tested => feedback |
2013-06-13 11:30 | bugmaster | Assigned To | bugmaster => mkv |
2013-06-13 11:30 | bugmaster | Status | feedback => reviewed |
2013-06-13 13:43 |
|
Note Added: 0024746 | |
2013-06-13 13:44 |
|
Assigned To | mkv => aba |
2013-06-13 13:44 |
|
Status | reviewed => assigned |
2013-06-13 17:24 |
|
Note Added: 0024750 | |
2013-06-13 17:24 |
|
Assigned To | aba => san |
2013-06-13 17:24 |
|
Status | assigned => resolved |
2013-06-13 17:24 |
|
Note Edited: 0024750 | |
2013-06-14 14:48 |
|
Note Added: 0024757 | |
2013-06-14 14:48 |
|
Assigned To | san => bugmaster |
2013-06-14 14:48 |
|
Status | resolved => reviewed |
2013-06-17 10:44 |
|
Assigned To | bugmaster => mkv |
2013-06-18 10:38 |
|
Note Added: 0024779 | |
2013-06-18 10:39 |
|
Assigned To | mkv => bugmaster |
2013-06-18 10:39 |
|
Status | reviewed => tested |
2013-06-21 09:52 |
|
Changeset attached | => occt master d7223c76 |
2013-06-21 09:52 |
|
Assigned To | bugmaster => aba |
2013-06-21 09:52 |
|
Status | tested => verified |
2013-06-21 09:52 |
|
Resolution | open => fixed |
2013-08-21 11:34 | kgv | Relationship added | parent of 0024120 |
2013-12-19 13:52 | bugmaster | Status | verified => closed |
2013-12-19 13:57 | bugmaster | Fixed in Version | => 6.7.0 |
2014-01-22 14:27 |
|
Relationship deleted | related to 0023997 |
2014-01-22 14:27 |
|
Relationship deleted | child of 0024002 |
2014-01-22 14:27 |
|
Relationship added | child of 0024487 |