mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +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:
@@ -19,6 +19,7 @@
|
||||
#include <IVtk_Interface.hxx>
|
||||
#include <IVtk_Types.hxx>
|
||||
|
||||
class IVtk_IShape;
|
||||
DEFINE_STANDARD_HANDLE( IVtk_IShape, IVtk_Interface )
|
||||
|
||||
//! @class IVtk_IShape
|
||||
|
@@ -19,6 +19,7 @@
|
||||
#include <IVtk_Interface.hxx>
|
||||
#include <IVtk_Types.hxx>
|
||||
|
||||
class IVtk_IShapeData;
|
||||
DEFINE_STANDARD_HANDLE( IVtk_IShapeData, IVtk_Interface )
|
||||
|
||||
//! @class IVtk_IShapeData
|
||||
|
@@ -20,6 +20,7 @@
|
||||
#include <IVtk_IShape.hxx>
|
||||
#include <IVtk_IShapeData.hxx>
|
||||
|
||||
class IVtk_IShapeMesher;
|
||||
DEFINE_STANDARD_HANDLE( IVtk_IShapeMesher, IVtk_Interface )
|
||||
|
||||
//! @class IVtk_IShapeMesher
|
||||
|
@@ -19,6 +19,7 @@
|
||||
#include <IVtk_IView.hxx>
|
||||
#include <IVtk_IShape.hxx>
|
||||
|
||||
class IVtk_IShapePickerAlgo;
|
||||
DEFINE_STANDARD_HANDLE( IVtk_IShapePickerAlgo, IVtk_Interface )
|
||||
|
||||
//! @class IVtk_IShapePickerAlgo
|
||||
|
@@ -22,6 +22,7 @@
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <Graphic3d_Mat4d.hxx>
|
||||
|
||||
class IVtk_IView;
|
||||
DEFINE_STANDARD_HANDLE( IVtk_IView, IVtk_Interface )
|
||||
|
||||
//! @class IVtk_IView
|
||||
|
@@ -19,6 +19,7 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
|
||||
class IVtk_Interface;
|
||||
DEFINE_STANDARD_HANDLE( IVtk_Interface, Standard_Transient )
|
||||
|
||||
//! @class IVtk_Interface
|
||||
|
Reference in New Issue
Block a user