MeVisLab Toolbox Reference
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Variables
_
a
b
c
d
e
f
h
i
l
m
n
o
p
s
v
w
Typedefs
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
v
w
z
Enumerations
a
b
c
d
e
f
l
m
n
o
p
r
s
t
v
w
Enumerator
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
v
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Related Functions
:
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
c
f
g
h
i
m
o
p
r
s
Variables
_
c
i
k
m
p
r
s
v
w
Typedefs
c
d
e
f
g
h
i
m
p
s
t
u
v
Enumerations
a
b
c
d
e
f
h
k
l
m
n
p
r
s
t
v
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
c
d
e
g
i
l
m
n
o
p
r
s
t
u
v
w
x
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
19
class
SOCSO_EXPORT
CSOLabelPlacementDistanceLines
:
public
CSOLabelPlacement
20
{
21
public
:
22
CSOLabelPlacementDistanceLines
();
23
25
void
getAttachedLabelPosition
(
const
CSODrawCSOInfos
&csoInfos,
26
const
CSODrawView2DInfos
&view2DInfos,
int
labelWidth,
27
int
labelHeight,
float
&deviceX,
float
&deviceY)
override
;
28
29
private
:
30
ML_MODULE_CLASS_HEADER
(
CSOLabelPlacementDistanceLines
);
31
};
32
33
ML_END_NAMESPACE
SOCSO_EXPORT
#define SOCSO_EXPORT
Header file for system independent resolution.
Definition:
SoCSOSystem.h:21
ml::CSOLabelPlacementDistanceLines
Definition:
CSOLabelPlacementDistanceLines.h:20
ml::CSOLabelPlacementDistanceLines::getAttachedLabelPosition
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.
ml::CSOLabelPlacementDistanceLines::CSOLabelPlacementDistanceLines
CSOLabelPlacementDistanceLines()
ml::CSOLabelPlacement
Base module for providing custom label placement strategies.
Definition:
CSOLabelPlacement.h:31
ML_MODULE_CLASS_HEADER
#define ML_MODULE_CLASS_HEADER(className)
Similar to ML_CLASS_HEADER for the usage of derived classes from Module.
Definition:
mlRuntimeSubClass.h:235
CSODrawCSOInfos
Definition:
SoCSODefines.h:145
CSODrawView2DInfos
Definition:
SoCSODefines.h:66
MeVisLab
Standard
Sources
Inventor
SoCSO
SoView2DCSOEditor
SoView2DCSOExtensibleEditor
extensions
SoCSOLabelRenderer
CSOLabelPlacement
CSOLabelPlacementDistanceLines.h
Generated by
1.9.1