MCPcopy Create free account
hub / github.com/Kitware/VTK / MouseWheelEvent

Method MouseWheelEvent

Views/Infovis/vtkGraphItem.cxx:447–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445}
446
447bool vtkGraphItem::MouseWheelEvent(const vtkContextMouseEvent& event, int vtkNotUsed(delta))
448{
449 if (this->Tooltip->GetVisible())
450 {
451 vtkIdType v = this->HitVertex(event.GetPos());
452 this->PlaceTooltip(v);
453 this->Scene->SetDirty(true);
454 }
455
456 return false;
457}
458
459bool vtkGraphItem::Hit(const vtkContextMouseEvent& event)
460{

Callers 2

OnMouseWheelForwardMethod · 0.45
OnMouseWheelBackwardMethod · 0.45

Calls 4

HitVertexMethod · 0.95
PlaceTooltipMethod · 0.95
GetVisibleMethod · 0.80
SetDirtyMethod · 0.80

Tested by

no test coverage detected