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

0027611: Visualization - provide an interface to access selection frustum center points from SelectBasics level

- getters for rectangular frustum center points were added to SelectBasics_SelectingVolumeManager
This commit is contained in:
vpa
2016-06-16 14:38:19 +03:00
committed by bugmaster
parent d7b1999736
commit 21a8e27535
5 changed files with 36 additions and 10 deletions

View File

@@ -96,6 +96,18 @@ public:
virtual Standard_Boolean IsOverlapAllowed() const = 0;
//! Valid only for point and rectangular selection.
//! Returns projection of 2d mouse picked point or projection
//! of center of 2d rectangle (for point and rectangular selection
//! correspondingly) onto near view frustum plane
virtual gp_Pnt GetNearPickedPnt() const = 0;
//! Valid only for point and rectangular selection.
//! Returns projection of 2d mouse picked point or projection
//! of center of 2d rectangle (for point and rectangular selection
//! correspondingly) onto far view frustum plane
virtual gp_Pnt GetFarPickedPnt() const = 0;
protected:
SelectionType myActiveSelectionType; //!< Active selection type: point, box or polyline
};