------------------------------------------------------------------------------
| 20 | |
| 21 | //------------------------------------------------------------------------------ |
| 22 | vtkMatrix4x4* vtkZSpaceCamera::GetModelViewTransformMatrix() |
| 23 | { |
| 24 | vtkZSpaceSDKManager* sdkManager = vtkZSpaceSDKManager::GetInstance(); |
| 25 | |
| 26 | vtkMatrix4x4* zSpaceViewMatrix = this->GetStereo() |
| 27 | ? sdkManager->GetStereoViewMatrix(this->GetLeftEye()) |
| 28 | : sdkManager->GetCenterEyeViewMatrix(); |
| 29 | |
| 30 | this->ViewTransform->SetMatrix(zSpaceViewMatrix); |
| 31 | |
| 32 | this->Transform->Identity(); |
| 33 | this->Transform->SetupCamera(this->Position, this->FocalPoint, this->ViewUp); |
| 34 | |
| 35 | this->ViewTransform->Concatenate(this->Transform->GetMatrix()); |
| 36 | |
| 37 | return this->ViewTransform->GetMatrix(); |
| 38 | } |
| 39 | |
| 40 | //------------------------------------------------------------------------------ |
| 41 | vtkMatrix4x4* vtkZSpaceCamera::GetProjectionTransformMatrix( |
nothing calls this directly
no test coverage detected