#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;
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;
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;
anActiveCamera->SetClippingRange( range );
}
+/*!Compute trihedron size.*/
bool ComputeTrihedronSize( vtkRenderer* theRenderer,double& theNewSize,
const double theSize, const float theSizeInPercents )
{