]> OCCT Git - occt-copy.git/commitdiff
0026403: Lack of Standard_EXPORT keyword in SelectMgr headers
authorabv <abv@opencascade.com>
Mon, 6 Jul 2015 17:30:38 +0000 (20:30 +0300)
committerabv <abv@opencascade.com>
Wed, 2 Sep 2015 11:39:11 +0000 (14:39 +0300)
Some Standard_EXPORT keywords added to be able to link with TKV3d

src/SelectMgr/SelectMgr_BaseFrustum.hxx
src/SelectMgr/SelectMgr_SensitiveEntity.hxx
src/SelectMgr/SelectMgr_SensitiveEntitySet.hxx

index 0efa02be3b4a44907a705af97b996bcd6b59cb52..0351e71c452b8bdcaa50eeeff25d45bbdbab9c0b 100644 (file)
@@ -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
index 1ef1efce871c27b8673b1ff5544d0b56710d45a3..d09909956eb4136ff37d2f6021b7b2a5987c47cf 100644 (file)
@@ -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;
index c3025d1b87952b6accc0fb5e90a7bac8c283390a..9f2f6d42f52e53d9b62f21f2e737d6b081fbdd73 100644 (file)
@@ -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: