Rendering/vtkCamera.cxx
vtkMatrix4x4 *vtkCamera::GetCompositeProjectionTransformMatrix(double aspect,
                                                               double nearz,
                                                               double farz)
{
// turn off stereo, the CompositeProjectionTransformMatrix is used for
// picking, not for rendering.
  int stereo = this->Stereo;
  this->Stereo = 0;

  this->Transform->Identity();
  this->Transform->Concatenate(this->GetProjectionTransformMatrix(aspect,
                                                                  nearz,
                                                                  farz));
  this->Transform->Concatenate(this->GetViewTransformMatrix());

  this->Stereo = stereo;

// return the transform
  return this->Transform->GetMatrix();
}
//----------------------------------------------------------------------------
// Return the projection transform matrix. See ComputeProjectionTransform.
Return the projection transform matrix.
Return the projection transform matrix .
vtkMatrix4x4 *vtkCamera::GetCompositeProjectionTransformMatrix(double aspect,
                                                               double nearz,
                                                               double farz)
{
  int stereo = this->Stereo;
  this->Stereo = 0;
  this->Transform->Identity();
  this->Transform->Concatenate(this->GetProjectionTransformMatrix(aspect,
                                                                  nearz,
                                                                  farz));
  this->Transform->Concatenate(this->GetViewTransformMatrix());
  this->Stereo = stereo;
  return this->Transform->GetMatrix();
}
vtkMatrix4x4 * vtkCamera :: GetCompositeProjectionTransformMatrix ( double aspect , double nearz , double farz ) { int stereo = this -> Stereo ; this -> Stereo = 0 ; this -> Transform -> Identity ( ) ; this -> Transform -> Concatenate ( this -> GetProjectionTransformMatrix ( aspect , nearz , farz ) ) ; this -> Transform -> Concatenate ( this -> GetViewTransformMatrix ( ) ) ; this -> Stereo = stereo ; return this -> Transform -> GetMatrix ( ) ; }
Return the projection transform matrix.
Return the projection transform matrix .
// turn off stereo, the CompositeProjectionTransformMatrix is used for // picking, not for rendering. // return the transform