mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0026403: Lack of Standard_EXPORT keyword in SelectMgr headers
Some Standard_EXPORT keywords added to be able to link with TKV3d
This commit is contained in:
parent
41d16f029b
commit
11fd45038f
@ -44,30 +44,31 @@ public:
|
||||
|
||||
//! Creates new selecting volume with pixel toletance set to 2,
|
||||
//! orthographic camera and empty frustum builder
|
||||
SelectMgr_BaseFrustum();
|
||||
Standard_EXPORT SelectMgr_BaseFrustum();
|
||||
|
||||
virtual ~SelectMgr_BaseFrustum() {}
|
||||
|
||||
//! Passes camera projection and orientation matrices to builder
|
||||
void SetCamera (const Handle(Graphic3d_Camera)& theCamera);
|
||||
Standard_EXPORT void SetCamera (const Handle(Graphic3d_Camera)& theCamera);
|
||||
|
||||
//! Passes camera projection and orientation matrices to builder
|
||||
void SetCamera (const Graphic3d_Mat4d& theProjection,
|
||||
const Graphic3d_Mat4d& theOrientation,
|
||||
const Standard_Integer theIsOrthographic);
|
||||
Standard_EXPORT void SetCamera (const Graphic3d_Mat4d& theProjection,
|
||||
const Graphic3d_Mat4d& theOrientation,
|
||||
const Standard_Integer theIsOrthographic);
|
||||
|
||||
void SetPixelTolerance (const Standard_Real theTol);
|
||||
Standard_EXPORT void SetPixelTolerance (const Standard_Real theTol);
|
||||
|
||||
void SetWindowSize (const Standard_Integer theWidth, const Standard_Integer theHeight);
|
||||
Standard_EXPORT void SetWindowSize (const Standard_Integer theWidth,
|
||||
const Standard_Integer theHeight);
|
||||
|
||||
//! Passes viewport parameters to builder
|
||||
void SetViewport (const Standard_Real theX,
|
||||
const Standard_Real theY,
|
||||
const Standard_Real theWidth,
|
||||
const Standard_Real theHeight);
|
||||
Standard_EXPORT void SetViewport (const Standard_Real theX,
|
||||
const Standard_Real theY,
|
||||
const Standard_Real theWidth,
|
||||
const Standard_Real theHeight);
|
||||
|
||||
//! Nullifies the builder created in the constructor and copies the pointer given
|
||||
void SetBuilder (const Handle(SelectMgr_FrustumBuilder)& theBuilder);
|
||||
Standard_EXPORT void SetBuilder (const Handle(SelectMgr_FrustumBuilder)& theBuilder);
|
||||
|
||||
|
||||
//! Builds volume according to the point and given pixel tolerance
|
||||
|
@ -28,19 +28,19 @@ class SelectMgr_SensitiveEntity : public Standard_Transient
|
||||
public:
|
||||
|
||||
//! Creates new inactive for selection object with base entity theEntity
|
||||
SelectMgr_SensitiveEntity (const Handle(SelectBasics_SensitiveEntity)& theEntity);
|
||||
Standard_EXPORT SelectMgr_SensitiveEntity (const Handle(SelectBasics_SensitiveEntity)& theEntity);
|
||||
|
||||
~SelectMgr_SensitiveEntity() {}
|
||||
|
||||
//! Clears up all resources and memory
|
||||
void Clear();
|
||||
Standard_EXPORT void Clear();
|
||||
|
||||
//! Returns related instance of SelectBasics class
|
||||
Standard_EXPORT const Handle(SelectBasics_SensitiveEntity)& BaseSensitive() const;
|
||||
|
||||
//! Returns true if this entity belongs to the active selection
|
||||
//! mode of parent object
|
||||
Standard_Boolean IsActiveForSelection() const;
|
||||
Standard_EXPORT Standard_Boolean IsActiveForSelection() const;
|
||||
|
||||
//! Marks entity as inactive for selection
|
||||
Standard_EXPORT void ResetSelectionActiveStatus() const;
|
||||
|
@ -37,20 +37,20 @@ class SelectMgr_SensitiveEntitySet : public BVH_PrimitiveSet<Standard_Real, 3>
|
||||
|
||||
public:
|
||||
|
||||
SelectMgr_SensitiveEntitySet();
|
||||
Standard_EXPORT SelectMgr_SensitiveEntitySet();
|
||||
|
||||
virtual ~SelectMgr_SensitiveEntitySet() {};
|
||||
|
||||
//! Adds new entity to the set and marks BVH tree for rebuild
|
||||
void Append (const Handle(SelectMgr_SensitiveEntity)& theEntity);
|
||||
Standard_EXPORT void Append (const Handle(SelectMgr_SensitiveEntity)& theEntity);
|
||||
|
||||
//! Adds every entity of selection theSelection to the set and marks
|
||||
//! BVH tree for rebuild
|
||||
void Append (const Handle(SelectMgr_Selection)& theSelection);
|
||||
Standard_EXPORT void Append (const Handle(SelectMgr_Selection)& theSelection);
|
||||
|
||||
//! Removes every entity of selection theSelection from the set
|
||||
//! and marks BVH tree for rebuild
|
||||
void Remove (const Handle(SelectMgr_Selection)& theSelection);
|
||||
Standard_EXPORT void Remove (const Handle(SelectMgr_Selection)& theSelection);
|
||||
|
||||
//! Returns bounding box of entity with index theIdx
|
||||
virtual Select3D_BndBox3d Box (const Standard_Integer theIndex) const Standard_OVERRIDE;
|
||||
@ -68,7 +68,7 @@ public:
|
||||
virtual Standard_Integer Size() const Standard_OVERRIDE;
|
||||
|
||||
//! Returns the entity with index theIndex in the set
|
||||
const Handle(SelectMgr_SensitiveEntity)& GetSensitiveById (const Standard_Integer theIndex) const;
|
||||
Standard_EXPORT const Handle(SelectMgr_SensitiveEntity)& GetSensitiveById (const Standard_Integer theIndex) const;
|
||||
|
||||
private:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user