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

0024288: Provide flipping text for AIS_Dimensions

- OpenGl_Flipper class added to provide text flipping.
  - Added Graphic3d_Mat4, OpenGl_Mat4 definitions for use with TKOpenGl matrix types.
  - Added flipping parameters for dimensions with 3D text labels at AIS_Dimension class.
  - Test cases.
This commit is contained in:
aba
2013-11-21 17:24:09 +04:00
committed by bugmaster
parent 62b6361a46
commit 938d454409
22 changed files with 480 additions and 24 deletions

View File

@@ -193,9 +193,10 @@ public:
}
//! Raw access to the data (for OpenGL exchange).
const Element_t* GetData() const { return v; }
operator const Element_t*() const { return v; }
operator Element_t*() { return v; }
const Element_t* GetData() const { return v; }
Element_t* ChangeData() { return v; }
operator const Element_t*() const { return v; }
operator Element_t*() { return v; }
//! Compute per-component summary.
NCollection_Vec4& operator+= (const NCollection_Vec4& theAdd)