------------------------------------------------------------------------------
| 751 | |
| 752 | //------------------------------------------------------------------------------ |
| 753 | void vtkParallelRenderManager::ResetCameraClippingRange(vtkRenderer* ren) |
| 754 | { |
| 755 | vtkDebugMacro("ResetCameraClippingRange"); |
| 756 | |
| 757 | double bounds[6]; |
| 758 | |
| 759 | if (this->Lock) |
| 760 | { |
| 761 | // Can't query other processes in the middle of a render. |
| 762 | // Just grab local value instead. |
| 763 | this->LocalComputeVisiblePropBounds(ren, bounds); |
| 764 | ren->ResetCameraClippingRange(bounds); |
| 765 | return; |
| 766 | } |
| 767 | |
| 768 | this->Lock = 1; |
| 769 | |
| 770 | this->ComputeVisiblePropBounds(ren, bounds); |
| 771 | ren->ResetCameraClippingRange(bounds); |
| 772 | |
| 773 | this->Lock = 0; |
| 774 | } |
| 775 | |
| 776 | //------------------------------------------------------------------------------ |
| 777 | void vtkParallelRenderManager::ComputeVisiblePropBoundsRMI(int renderId) |
nothing calls this directly
no test coverage detected