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

Method GetLRVector

Interaction/Style/vtkInteractorStyleFlight.cxx:655–662  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

653
654//------------------------------------------------------------------------------
655void vtkInteractorStyleFlight::GetLRVector(double vector[3], vtkCamera* cam)
656{
657 vtkMatrix4x4* vtm;
658 vtm = cam->GetViewTransformMatrix();
659 vector[0] = vtm->GetElement(0, 0);
660 vector[1] = vtm->GetElement(0, 1);
661 vector[2] = vtm->GetElement(0, 2);
662}
663
664//------------------------------------------------------------------------------
665// Perform the motion

Callers 2

FlyByMouseMethod · 0.95
FlyByKeyMethod · 0.95

Calls 1

Tested by

no test coverage detected