1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00

0028285: Configuration - add missing macro Standard_EXPORT to OpenGl_StateInterface subclasses

This commit is contained in:
isk 2016-12-27 11:19:21 +03:00 committed by apn
parent 5c20836e0d
commit 96fffdc609

View File

@ -27,7 +27,7 @@ class OpenGl_StateInterface
public: public:
//! Creates new state. //! Creates new state.
OpenGl_StateInterface(); Standard_EXPORT OpenGl_StateInterface();
//! Returns current state index. //! Returns current state index.
Standard_Size Index() const { return myIndex; } Standard_Size Index() const { return myIndex; }
@ -47,16 +47,16 @@ class OpenGl_ProjectionState : public OpenGl_StateInterface
public: public:
//! Creates uninitialized projection state. //! Creates uninitialized projection state.
OpenGl_ProjectionState(); Standard_EXPORT OpenGl_ProjectionState();
//! Sets new projection matrix. //! Sets new projection matrix.
void Set (const OpenGl_Mat4& theProjectionMatrix); Standard_EXPORT void Set (const OpenGl_Mat4& theProjectionMatrix);
//! Returns current projection matrix. //! Returns current projection matrix.
const OpenGl_Mat4& ProjectionMatrix() const; Standard_EXPORT const OpenGl_Mat4& ProjectionMatrix() const;
//! Returns inverse of current projection matrix. //! Returns inverse of current projection matrix.
const OpenGl_Mat4& ProjectionMatrixInverse() const; Standard_EXPORT const OpenGl_Mat4& ProjectionMatrixInverse() const;
private: private:
@ -72,16 +72,16 @@ class OpenGl_ModelWorldState : public OpenGl_StateInterface
public: public:
//! Creates uninitialized model-world state. //! Creates uninitialized model-world state.
OpenGl_ModelWorldState(); Standard_EXPORT OpenGl_ModelWorldState();
//! Sets new model-world matrix. //! Sets new model-world matrix.
void Set (const OpenGl_Mat4& theModelWorldMatrix); Standard_EXPORT void Set (const OpenGl_Mat4& theModelWorldMatrix);
//! Returns current model-world matrix. //! Returns current model-world matrix.
const OpenGl_Mat4& ModelWorldMatrix() const; Standard_EXPORT const OpenGl_Mat4& ModelWorldMatrix() const;
//! Returns inverse of current model-world matrix. //! Returns inverse of current model-world matrix.
const OpenGl_Mat4& ModelWorldMatrixInverse() const; Standard_EXPORT const OpenGl_Mat4& ModelWorldMatrixInverse() const;
private: private:
@ -97,16 +97,16 @@ class OpenGl_WorldViewState : public OpenGl_StateInterface
public: public:
//! Creates uninitialized world-view state. //! Creates uninitialized world-view state.
OpenGl_WorldViewState(); Standard_EXPORT OpenGl_WorldViewState();
//! Sets new world-view matrix. //! Sets new world-view matrix.
void Set (const OpenGl_Mat4& theWorldViewMatrix); Standard_EXPORT void Set (const OpenGl_Mat4& theWorldViewMatrix);
//! Returns current world-view matrix. //! Returns current world-view matrix.
const OpenGl_Mat4& WorldViewMatrix() const; Standard_EXPORT const OpenGl_Mat4& WorldViewMatrix() const;
//! Returns inverse of current world-view matrix. //! Returns inverse of current world-view matrix.
const OpenGl_Mat4& WorldViewMatrixInverse() const; Standard_EXPORT const OpenGl_Mat4& WorldViewMatrixInverse() const;
private: private:
@ -122,13 +122,13 @@ class OpenGl_LightSourceState : public OpenGl_StateInterface
public: public:
//! Creates uninitialized state of light sources. //! Creates uninitialized state of light sources.
OpenGl_LightSourceState(); Standard_EXPORT OpenGl_LightSourceState();
//! Sets new light sources. //! Sets new light sources.
void Set (const OpenGl_ListOfLight* theLightSources); Standard_EXPORT void Set (const OpenGl_ListOfLight* theLightSources);
//! Returns current list of light sources. //! Returns current list of light sources.
const OpenGl_ListOfLight* LightSources() const; Standard_EXPORT const OpenGl_ListOfLight* LightSources() const;
private: private:
@ -142,16 +142,16 @@ class OpenGl_ClippingState
public: public:
//! Creates new clipping state. //! Creates new clipping state.
OpenGl_ClippingState(); Standard_EXPORT OpenGl_ClippingState();
//! Returns current state index. //! Returns current state index.
Standard_Size Index() const { return myIndex; } Standard_Size Index() const { return myIndex; }
//! Updates current state. //! Updates current state.
void Update(); Standard_EXPORT void Update();
//! Reverts current state. //! Reverts current state.
void Revert(); Standard_EXPORT void Revert();
protected: protected: