occt: master 825aa485
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
bugmaster | master | 2015-07-20 08:41:38 | master 317d68c9 | |
Changeset | 0026344: Visualization - provide a support of zoom persistent selection 1) New Graphic3d_TransformPers structure for defining parameters and algorithm methods, featuring: a) application of transformation to projection and world view matrices; b) computation of model-world transformation of persistent object; c) computation of transformed bounding box of persistent object. 2) Transform persistence algorithm does not make any changes to model-world transformation of object (deals with projection and world view matrices only), thus making possible to employ local transformation in a usual way. 3) Support of BVH selection for transform persistent objects (pan, rotate, zoom, trihedron persistence only). 4) Support efficient frustum culling for transform persistent objects (pan, rotate, zoom, trihedron persistence only). 5) Support of z-fitting algorithm for world-view space transform persistent objects (rotate, zoom persistence only). 6) Rewrite usage of transform persistence structures and utilities classes: a) Replaced Graphic3d_CTransPers, TEL_TRANSFORM_PERSISTENCE by Graphic3d_TransformPers; b) Move functions from OpenGl_Utils.hxx to Graphic3d_TransformUtils.hxx; c) Extract matrix stack class from OpenGl_Utils.hxx to OpenGl_MatrixStack.hxx; 7) New class Graphic3d_WorldViewProjState to keep track of projection, world view matrices changes for a camera. 8) New test case bugs/vis/bug26344. 9) Renamed method Graphic3d_Camera::ModelViewState of to ::WorldViewState for consistency. |
|||
mod - src/Graphic3d/FILES | Diff File | |||
mod - src/Graphic3d/Graphic3d_Camera.cxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_Camera.hxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_CStructure.cxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_CStructure.hxx | Diff File | |||
rm - src/Graphic3d/Graphic3d_CTransPersStruct.hxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_Structure.cxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_Structure.hxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_Structure.lxx | Diff File | |||
add - src/Graphic3d/Graphic3d_TransformPers.hxx | Diff File | |||
add - src/Graphic3d/Graphic3d_WorldViewProjState.hxx | Diff File | |||
mod - src/InterfaceGraphic/InterfaceGraphic_telem.hxx | Diff File | |||
mod - src/OpenGl/FILES | Diff File | |||
mod - src/OpenGl/OpenGl_BVHClipPrimitiveSet.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_BVHClipPrimitiveSet.hxx | Diff File | |||
add - src/OpenGl/OpenGl_BVHClipPrimitiveTrsfPersSet.cxx | Diff File | |||
add - src/OpenGl/OpenGl_BVHClipPrimitiveTrsfPersSet.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_BVHTreeSelector.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_BVHTreeSelector.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_Context.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_GraduatedTrihedron.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_Layer.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_Layer.hxx | Diff File | |||
add - src/OpenGl/OpenGl_MatrixState.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_Structure.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_Structure.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_StructureShadow.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_Text.cxx | Diff File | |||
rm - src/OpenGl/OpenGl_transform_persistence.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_Trihedron.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_Vec.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_View.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_View.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_View_2.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_Window.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_Workspace.cxx | Diff File | |||
mod - src/PrsMgr/PrsMgr_PresentableObject.cxx | Diff File | |||
mod - src/PrsMgr/PrsMgr_PresentableObject.hxx | Diff File | |||
mod - src/PrsMgr/PrsMgr_PresentableObject.lxx | Diff File | |||
mod - src/SelectMgr/FILES | Diff File | |||
mod - src/SelectMgr/SelectMgr_BaseFrustum.cxx | Diff File | |||
mod - src/SelectMgr/SelectMgr_BaseFrustum.hxx | Diff File | |||
mod - src/SelectMgr/SelectMgr_FrustumBuilder.cxx | Diff File | |||
mod - src/SelectMgr/SelectMgr_FrustumBuilder.hxx | Diff File | |||
mod - src/SelectMgr/SelectMgr_SelectableObject.cxx | Diff File | |||
mod - src/SelectMgr/SelectMgr_SelectableObjectSet.cxx | Diff File | |||
mod - src/SelectMgr/SelectMgr_SelectableObjectSet.hxx | Diff File | |||
add - src/SelectMgr/SelectMgr_SelectableObjectTrsfPersSet.cxx | Diff File | |||
add - src/SelectMgr/SelectMgr_SelectableObjectTrsfPersSet.hxx | Diff File | |||
mod - src/SelectMgr/SelectMgr_SelectingVolumeManager.cxx | Diff File | |||
mod - src/SelectMgr/SelectMgr_SelectingVolumeManager.hxx | Diff File | |||
mod - src/SelectMgr/SelectMgr_ViewerSelector.cxx | Diff File | |||
mod - src/SelectMgr/SelectMgr_ViewerSelector.hxx | Diff File | |||
mod - src/StdSelect/StdSelect_ViewerSelector3d.cxx | Diff File | |||
mod - src/StdSelect/StdSelect_ViewerSelector3d.hxx | Diff File | |||
mod - src/ViewerTest/ViewerTest.cxx | Diff File | |||
mod - src/Visual3d/Visual3d_View.cxx | Diff File | |||
add - tests/bugs/vis/bug26344 | Diff File |