X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FVTKViewer%2FVTKViewer_Utilities.cxx;h=9ed586d6f2e195f3105537e6567f444d2a53eb39;hb=95c32a3d017f9611ca3519ad1da9c9c23b4e183d;hp=52c7bbcad0297dcbf5cc87dabaf93dd143d94d62;hpb=f497d8c3721d4e9a0c128ce23509be49c46a01b4;p=modules%2Fgui.git diff --git a/src/VTKViewer/VTKViewer_Utilities.cxx b/src/VTKViewer/VTKViewer_Utilities.cxx index 52c7bbcad..9ed586d6f 100755 --- a/src/VTKViewer/VTKViewer_Utilities.cxx +++ b/src/VTKViewer/VTKViewer_Utilities.cxx @@ -8,8 +8,7 @@ #include "VTKViewer_Utilities.h" -//**************************************************************** -//see vtkRenderer::ResetCamera(float bounds[6]) method +/*!@see vtkRenderer::ResetCamera(float bounds[6]) method*/ void ResetCamera(vtkRenderer* theRenderer, int theUsingZeroFocalPoint) { if(!theRenderer) return; @@ -65,8 +64,7 @@ void ResetCamera(vtkRenderer* theRenderer, int theUsingZeroFocalPoint) ResetCameraClippingRange(theRenderer); } -//**************************************************************** -// Compute the bounds of the visible props +/*! Compute the bounds of the visible props*/ int ComputeVisiblePropBounds(vtkRenderer* theRenderer, float theBounds[6]) { float *bounds; @@ -123,8 +121,7 @@ int ComputeVisiblePropBounds(vtkRenderer* theRenderer, float theBounds[6]) return aCount; } -//**************************************************************** -//see vtkRenderer::ResetCameraClippingRange(float bounds[6]) method +/*!@see vtkRenderer::ResetCameraClippingRange(float bounds[6]) method*/ void ResetCameraClippingRange(vtkRenderer* theRenderer) { if(!theRenderer || !theRenderer->VisibleActorCount()) return; @@ -164,6 +161,7 @@ void ResetCameraClippingRange(vtkRenderer* theRenderer) anActiveCamera->SetClippingRange( range ); } +/*!Compute trihedron size.*/ bool ComputeTrihedronSize( vtkRenderer* theRenderer,double& theNewSize, const double theSize, const float theSizeInPercents ) {