mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0024023: Revamp the OCCT Handle -- general
Missing headers added; includes of headers "Handle_...hxx" removed. Misuses of macro Handle() and its use in typedefs corrected. Alias classes Profile and Option are removed from IFSelect; ones defined in MoniTool are used directly. Removed header files defining only Handle classes (except Image_PixMap_Handle.hxx) Classes SelectMgr_BaseFrustum and now inherit Standard_Transient and can be manipulated by Handle (not NCollection_Handle) Fixed reference-type local variable pointing to temporary object Use of handle in conditional expressions and comparisons to NULL are replaced by call to method IsNull()
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
//! selection. It contains signatures of functions for detection of
|
||||
//! overlap by sensitive entity and initializes some data for building
|
||||
//! the selecting frustum
|
||||
class SelectMgr_BaseFrustum
|
||||
class SelectMgr_BaseFrustum : public Standard_Transient
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -137,6 +137,8 @@ public:
|
||||
virtual Standard_Boolean IsClipped (const Graphic3d_SequenceOfHClipPlane& thePlanes,
|
||||
const Standard_Real theDepth);
|
||||
|
||||
DEFINE_STANDARD_RTTI(SelectMgr_BaseFrustum, Standard_Transient)
|
||||
|
||||
protected:
|
||||
Standard_Real myPixelTolerance; //!< Pixel tolerance
|
||||
Standard_Boolean myIsOrthographic; //!< Defines if current camera is orthographic
|
||||
|
Reference in New Issue
Block a user