Rendering/vtkCamera.cxx
void vtkCamera::SetRoll(double roll)
{
// roll is a rotation of camera view up about the direction of projection
  vtkDebugMacro(<< " Setting Roll to " << roll << "");

// subtract the current roll
  roll -= this->GetRoll();

  if (fabs(roll) < 0.00001)
    {
    return;
    }

  this->Roll(roll);
}
//----------------------------------------------------------------------------
// Set the roll angle of the camera about the direction of projection
Set the roll angle of the camera about the direction of projection
Set the roll angle of the camera about the direction of projection
void vtkCamera::SetRoll(double roll)
{
  vtkDebugMacro(<< " Setting Roll to " << roll << "");
  roll -= this->GetRoll();
  if (fabs(roll) < 0.00001)
    {
    return;
    }
  this->Roll(roll);
}
void vtkCamera :: SetRoll ( double roll ) { vtkDebugMacro ( << " " << roll << " " ) ; roll -= this -> GetRoll ( ) ; if ( fabs ( roll ) < 0.00001 ) { return ; } this -> Roll ( roll ) ; }
Set the roll angle of the camera about the direction of projection
Set the roll angle of the camera about the direction of projection
// roll is a rotation of camera view up about the direction of projection // subtract the current roll