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

Method OnMouseMove

Views/Context2D/vtkContextInteractorStyle.cxx:168–185  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

166
167//------------------------------------------------------------------------------
168void vtkContextInteractorStyle::OnMouseMove()
169{
170 this->BeginProcessingEvent();
171
172 bool eatEvent = false;
173 if (this->Scene)
174 {
175 vtkContextMouseEvent event;
176 this->ConstructMouseEvent(event, vtkContextMouseEvent::NO_BUTTON);
177 eatEvent = this->Scene->MouseMoveEvent(event);
178 }
179 if (!eatEvent)
180 {
181 this->Superclass::OnMouseMove();
182 }
183
184 this->EndProcessingEvent();
185}
186
187bool vtkContextInteractorStyle::ProcessMousePress(const vtkContextMouseEvent& event)
188{

Callers

nothing calls this directly

Calls 4

BeginProcessingEventMethod · 0.95
ConstructMouseEventMethod · 0.95
EndProcessingEventMethod · 0.95
MouseMoveEventMethod · 0.45

Tested by

no test coverage detected