MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #25180 All Revisions ] Back to Issue ]
Summary 0025180: Visualization - Homogeneous transformation API in TKV3d
Revision 2014-08-20 19:14 by san
Description Currently, even after correction of 0024837, presentation and selection packages in TKV3d library still use several different ways to specify a 3D transformation to be applied to presentations and sensitive entities:
- gp_Trsf is used in PrsMgr classes
- TopLoc_Location is used by AIS methods dealing with transformations and by selection packages
- Prs3d_Presentation accepts transformation in the form of Geom_Transformation

Such variety is not good from the coding style point of view, it affects code readability and size negatively and it requires a lot of unnecessary extra conversions between different transformation classes.

It is proposed to choose a single unified way to pass 3D transformation to visualization and selection API:
- either gp_Trsf can be used as a common OCCT way to represent transformations
- or visualization-specific class Graphic3d_Mat4d can be considered.
Revision 2014-08-20 19:13 by san
Description Currently, even after correction of 0024837, presentation and selection packages in TKV3d library still use several different ways to specify a 3D transformation to be applied to presentations and sensitive entities:
- gp_Trsf is used in PrsMgr classes
- TopLoc_Location is used by AIS methods dealing with transformations and by selection packages
- Prs3d_Presentation accepts transformation in the form of Geom_Transformation

Such variety is not good from the coding style point of view, it affects code readability and size negatively and it requires a lot of unnecessary extra conversions between different transformation classes.

It is proposed to choose a single unified way to pass 3D transformation to visualization and selection API:
- either gp_Trsf can be used as a common OCCT way to represent transformations
- or visualization-specific class Graphic3d_Mat4 can be considered.


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker