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:
@@ -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
|
||||
};
|
||||
|
Reference in New Issue
Block a user