Rendering/vtkCamera.cxx
void vtkCamera::ComputeViewTransform()
{
// main view through the camera
  this->Transform->Identity();
  if (this->UserViewTransform)
    {
    this->Transform->Concatenate(this->UserViewTransform);
    }
  if ( this->HeadTracked )
    {
    this->ViewTransform->Identity();
    this->ViewTransform->SetMatrix(this->HeadTrackedViewMat);
    this->Transform->SetupCamera(this->Position,this->FocalPoint,this->ViewUp);
    this->ViewTransform->Concatenate(this->Transform->GetMatrix());
    }
  else
    {
    this->Transform->SetupCamera(this->Position,this->FocalPoint,this->ViewUp);
    this->ViewTransform->SetMatrix(this->Transform->GetMatrix());
    }
}
//----------------------------------------------------------------------------
// The ViewTransform depends on only three ivars:  the Position, the
// FocalPoint, and the ViewUp vector.  All the other methods are there
// simply for the sake of the users' convenience.
The ViewTransform depends on only three ivars:  the Position, the
FocalPoint, and the ViewUp vector.  All the other methods are there
simply for the sake of the users' convenience.
The ViewTransform depends on only three ivars : the Position the FocalPoint and the ViewUp vector . All the other methods are there simply for the sake of the users ' convenience .
void vtkCamera::ComputeViewTransform()
{
  this->Transform->Identity();
  if (this->UserViewTransform)
    {
    this->Transform->Concatenate(this->UserViewTransform);
    }
  if ( this->HeadTracked )
    {
    this->ViewTransform->Identity();
    this->ViewTransform->SetMatrix(this->HeadTrackedViewMat);
    this->Transform->SetupCamera(this->Position,this->FocalPoint,this->ViewUp);
    this->ViewTransform->Concatenate(this->Transform->GetMatrix());
    }
  else
    {
    this->Transform->SetupCamera(this->Position,this->FocalPoint,this->ViewUp);
    this->ViewTransform->SetMatrix(this->Transform->GetMatrix());
    }
}
void vtkCamera :: ComputeViewTransform ( ) { this -> Transform -> Identity ( ) ; if ( this -> UserViewTransform ) { this -> Transform -> Concatenate ( this -> UserViewTransform ) ; } if ( this -> HeadTracked ) { this -> ViewTransform -> Identity ( ) ; this -> ViewTransform -> SetMatrix ( this -> HeadTrackedViewMat ) ; this -> Transform -> SetupCamera ( this -> Position , this -> FocalPoint , this -> ViewUp ) ; this -> ViewTransform -> Concatenate ( this -> Transform -> GetMatrix ( ) ) ; } else { this -> Transform -> SetupCamera ( this -> Position , this -> FocalPoint , this -> ViewUp ) ; this -> ViewTransform -> SetMatrix ( this -> Transform -> GetMatrix ( ) ) ; } }
The ViewTransform depends on only three ivars:  the Position, the
FocalPoint, and the ViewUp vector.
The ViewTransform depends on only three ivars : the Position the FocalPoint and the ViewUp vector .
// main view through the camera