1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-13 14:27:08 +03:00

0024374: Flipping affects highlight presentation of dimension. Model-view matrix restoring in immediate mode was added in OpenGl_Flipper::Render() method. Test case was added.

This commit is contained in:
aba
2013-11-21 17:34:24 +04:00
committed by bugmaster
parent 1d7ca641c7
commit 0f8c0fb8c8
5 changed files with 119 additions and 16 deletions

View File

@@ -155,6 +155,10 @@ public:
const OpenGl_Matrix* SetViewMatrix (const OpenGl_Matrix* );
const OpenGl_Matrix* SetStructureMatrix (const OpenGl_Matrix*, bool aRevert = false);
//! Updates current model-view matrix
//! replacing it with StructureMatrixT*ViewMatrix from the workspace.
const void UpdateModelViewMatrix();
const OpenGl_AspectLine* SetAspectLine (const OpenGl_AspectLine* theAspect);
const OpenGl_AspectFace* SetAspectFace (const OpenGl_AspectFace* theAspect);
const OpenGl_AspectMarker* SetAspectMarker (const OpenGl_AspectMarker* theAspect);
@@ -413,6 +417,9 @@ protected: //! @name fields related to status
const OpenGl_Matrix* ViewMatrix_applied;
const OpenGl_Matrix* StructureMatrix_applied;
//! Model matrix with applied structure transformations
OpenGl_Matrix myModelViewMatrix;
const TEL_POFFSET_PARAM* PolygonOffset_applied;
OpenGl_AspectFace myAspectFaceHl; // Hiddenline aspect