occt: master 2ff1d580
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
mzernova | bugmaster | master | 2020-03-10 13:06:24 | master 64f128c1 |
Changeset | 0031412: Visualization - entity behind is returned as topmost at the edges SelectMgr_RectangularFrustum now handles degenerated triangle as a segment or a point. Triangle orthogonal to view direction is now handled as a segment. myViewRayDir field is now defined as normalized vector to avoid confusing math. For the case when the segment and myViewRayDir are almost parallel, the segmentSegmentDistance function may set the depth to zero, although this will not be the correct value, therefore it is better to pass a segment that will not be parallel to myViewRayDir as an argument to the function. vpoint command has been extended by arguments -2d and -nosel for displaying picking mouse position as on-screen point in pixels. Fixed double-binding-map error in case of displaying point with already used name. bugs/vis/bug31412: test case added. |
|||
mod - src/SelectMgr/SelectMgr_RectangularFrustum.cxx | Diff File | |||
mod - src/SelectMgr/SelectMgr_RectangularFrustum.hxx | Diff File | |||
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx | Diff File | |||
add - tests/bugs/vis/bug31412 | Diff File | |||
mod - tests/v3d/manipulator/zoom_persistence | Diff File |