diff --git a/Modules/Overlays/mitkLogoOverlay.h b/Modules/Overlays/mitkLogoOverlay.h index 02f833cdd0..9a5f8e6f1a 100644 --- a/Modules/Overlays/mitkLogoOverlay.h +++ b/Modules/Overlays/mitkLogoOverlay.h @@ -1,103 +1,103 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #ifndef LOGOOVERLAY_H #define LOGOOVERLAY_H #include #include #include -#include "MitkCoreExports.h" +#include "MitkOverlaysExports.h" class mitkVtkLogoRepresentation; class vtkLogoWidget; class vtkImageData; class vtkImageReader2Factory; namespace mitk { /** \brief Displays a logo on the renderwindow */ -class MITK_CORE_EXPORT LogoOverlay : public mitk::VtkOverlay { +class MitkOverlays_EXPORT LogoOverlay : public mitk::VtkOverlay { public: class LocalStorage : public mitk::Overlay::BaseLocalStorage { public: /** \brief Actor of a 2D render window. */ vtkSmartPointer m_LogoImage; vtkSmartPointer m_LogoRep; vtkSmartPointer m_LogoWidget; /** \brief Timestamp of last update of stored data. */ itk::TimeStamp m_LastUpdateTime; /** \brief Default constructor of the local storage. */ LocalStorage(); /** \brief Default deconstructor of the local storage. */ ~LocalStorage(); }; mitkClassMacro(LogoOverlay, mitk::VtkOverlay); itkFactorylessNewMacro(Self) itkCloneMacro(Self) vtkSmartPointer m_readerFactory; void SetLogoImagePath(std::string text); std::string GetLogoImagePath() const; /** \brief The relative offset to the corner position */ void SetOffsetVector(const Point2D& OffsetVector, BaseRenderer* renderer = NULL); Point2D GetOffsetVector(mitk::BaseRenderer* renderer = NULL) const; /** \brief The corner where the logo is displayed. 0 = Bottom left 1 = Bottom right 2 = Top right 3 = Top left*/ void SetCornerPosition(const int& corner, BaseRenderer* renderer = NULL); int GetCornerPosition(mitk::BaseRenderer* renderer = NULL) const; void SetRelativeSize(const float &size, BaseRenderer* renderer = NULL); float GetRelativeSize(mitk::BaseRenderer* renderer = NULL) const; protected: /** \brief The LocalStorageHandler holds all LocalStorages for the render windows. */ mutable mitk::LocalStorageHandler m_LSH; virtual vtkProp *GetVtkProp(BaseRenderer *renderer) const; void UpdateVtkOverlay(mitk::BaseRenderer *renderer); /** \brief explicit constructor which disallows implicit conversions */ explicit LogoOverlay(); /** \brief virtual destructor in order to derive from this class */ virtual ~LogoOverlay(); private: /** \brief copy constructor */ LogoOverlay( const LogoOverlay &); /** \brief assignment operator */ LogoOverlay &operator=(const LogoOverlay &); }; } // namespace mitk #endif // LOGOOVERLAY_H