MCPcopy Create free account
hub / github.com/comaps/comaps / Show

Method Show

libs/drape_frontend/selection_shape.cpp:46–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void SelectionShape::Show(ESelectedObject obj, m2::PointD const & position, double positionZ, bool isAnimate)
47{
48 m_animation.Hide();
49 m_position = position;
50 m_positionZ = positionZ;
51 m_selectedObject = obj;
52 if (isAnimate)
53 m_animation.ShowAnimated();
54 else
55 m_animation.Show();
56 m_recacheId++;
57 m_selectionGeometry.clear();
58}
59
60void SelectionShape::Hide()
61{

Callers 2

OnSearchStartedMethod · 0.45
ProcessSelectionMethod · 0.45

Calls 3

ShowAnimatedMethod · 0.80
HideMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected