13 #ifndef mitkLogoAnnotation_h
14 #define mitkLogoAnnotation_h
19 #include <vtkSmartPointer.h>
23 class vtkImageReader2Factory;
49 itkFactorylessNewMacro(Self);
#define MITKANNOTATION_EXPORT
Base class for mapper specific rendering resources.
vtkSmartPointer< mitkVtkLogoRepresentation > m_LogoRep
vtkSmartPointer< vtkImageData > m_LogoImage
Actor of a 2D render window.
~LocalStorage()
Default deconstructor of the local storage.
LocalStorage()
Default constructor of the local storage.
itk::TimeStamp m_LastUpdateTime
Timestamp of last update of stored data.
Displays a logo on the renderwindow.
~LogoAnnotation() override
virtual destructor in order to derive from this class
mitkClassMacro(LogoAnnotation, mitk::VtkAnnotation)
void SetCornerPosition(const int &corner)
The corner where the logo is displayed. 0 = Bottom left 1 = Bottom right 2 = Top right 3 = Top left 4...
void SetLogoImage(vtkSmartPointer< vtkImageData > logo)
vtkProp * GetVtkProp(BaseRenderer *renderer) const override
This method is implemented by the specific VTKAnnotation in order to create the element as a vtkProp.
LogoAnnotation()
explicit constructor which disallows implicit conversions
std::string GetLogoImagePath() const
void SetRelativeSize(const float &size)
vtkSmartPointer< vtkImageReader2Factory > m_readerFactory
Point2D GetOffsetVector() const
int GetCornerPosition() const
void UpdateVtkAnnotation(mitk::BaseRenderer *renderer) override
float GetRelativeSize() const
mitk::LocalStorageHandler< LocalStorage > m_LSH
The LocalStorageHandler holds all LocalStorages for the render windows.
void LoadLogoImageFromPath()
void SetLogoImagePath(std::string text)
void SetOffsetVector(const Point2D &OffsetVector)
The relative offset to the corner position.
The VtkAnnotation class is the base for all Annotation which are using the VTK framework to render th...
Find image slices visible on a given plane.