MeVisLab Toolbox Reference
CSOLabelPlacementDistanceLines.h
Go to the documentation of this file.
1 /*************************************************************************************
2 **
3 ** Copyright 2022, MeVis Medical Solutions AG
4 **
5 ** The user may use this file in accordance with the license agreement provided with
6 ** the Software or, alternatively, in accordance with the terms contained in a
7 ** written agreement between the user and MeVis Medical Solutions AG.
8 **
9 ** For further information use the contact form at https://www.mevislab.de/contact
10 **
11 **************************************************************************************/
12 
13 #pragma once
14 
15 #include "../CSOLabelPlacement.h"
16 
17 ML_START_NAMESPACE
18 
20 {
21 public:
23 
26  const CSODrawView2DInfos &view2DInfos, int labelWidth,
27  int labelHeight, float &deviceX, float &deviceY) override;
28 
29 private:
31 };
32 
33 ML_END_NAMESPACE
#define SOCSO_EXPORT
Header file for system independent resolution.
Definition: SoCSOSystem.h:21
void getAttachedLabelPosition(const CSODrawCSOInfos &csoInfos, const CSODrawView2DInfos &view2DInfos, int labelWidth, int labelHeight, float &deviceX, float &deviceY) override
Fills up the device position for an attached label.
Base module for providing custom label placement strategies.
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.