mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +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:
@@ -171,9 +171,17 @@ public:
|
||||
//! A set of helper functions that return rectangular selecting frustum data
|
||||
Standard_EXPORT const gp_Pnt* GetVertices() const;
|
||||
|
||||
Standard_EXPORT gp_Pnt GetNearPnt() const;
|
||||
//! 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
|
||||
Standard_EXPORT virtual gp_Pnt GetNearPickedPnt() const Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT gp_Pnt GetFarPnt() const;
|
||||
//! 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
|
||||
Standard_EXPORT virtual gp_Pnt GetFarPickedPnt() const Standard_OVERRIDE;
|
||||
|
||||
private:
|
||||
enum { Frustum, FrustumSet, VolumeTypesNb }; //!< Defines the amount of available selecting volumes
|
||||
|
Reference in New Issue
Block a user