Taking into consideration that this functionality was improved in previous integration, the decision about unnecessary of these three lines were taken.
aCamera->SetPosition(aCenter[0]+aDistance*aViewPlaneNormal[0],
aCenter[1]+aDistance*aViewPlaneNormal[1],
aCenter[2]+aDistance*aViewPlaneNormal[2]);
-
- // find size of the window
- int* aWinSize = theRenderer->GetSize();
- if(aWinSize[0] < aWinSize[1])
- aWidth *= vtkFloatingPointType(aWinSize[1])/vtkFloatingPointType(aWinSize[0]);
if(theUsingZeroFocalPoint)
aWidth *= sqrt(2.0);