MCPcopy Create free account
hub / github.com/MITK/MITK / SetPosition2D

Method SetPosition2D

Modules/Annotation/src/mitkVtkAnnotation2D.cpp:55–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void mitk::VtkAnnotation2D::SetPosition2D(const Point2D &position2D)
56{
57 mitk::Point2dProperty::Pointer position2dProperty = mitk::Point2dProperty::New(position2D);
58 SetProperty("VtkAnnotation2D.Position2D", position2dProperty.GetPointer());
59}
60
61mitk::Point2D mitk::VtkAnnotation2D::GetPosition2D() const
62{

Callers 4

mainFunction · 0.80
Render2DAnnotationMethod · 0.80
Render2DAnnotationMethod · 0.80
TextAnnotation2DMethod · 0.80

Calls 2

GetPointerMethod · 0.80
NewFunction · 0.50

Tested by 2

Render2DAnnotationMethod · 0.64
Render2DAnnotationMethod · 0.64