Back to index

salome-gui  6.5.0
Functions
SVTK_Renderer.cxx File Reference
#include "SVTK_Renderer.h"
#include "SVTK_Trihedron.h"
#include "SVTK_CubeAxesActor2D.h"
#include "SVTK_RectPicker.h"
#include "SALOME_Actor.h"
#include "VTKViewer_Actor.h"
#include "VTKViewer_Algorithm.h"
#include "VTKViewer_Transform.h"
#include "VTKViewer_Utilities.h"
#include "VTKViewer_OpenGLRenderer.h"
#include <vtkCamera.h>
#include <vtkTextProperty.h>
#include <vtkObjectFactory.h>
#include <vtkCallbackCommand.h>
#include <vtkPicker.h>
#include <vtkPointPicker.h>
#include <vtkCellPicker.h>
#include <vtkProperty.h>

Go to the source code of this file.

Functions

 vtkStandardNewMacro (SVTK_Renderer)
bool CheckBndBox (const vtkFloatingPointType theBounds[6])
 If parameter theIsForcedUpdate is true, recalculate parameters for trihedron and cube axes, even if trihedron and cube axes is invisible.

Function Documentation

bool CheckBndBox ( const vtkFloatingPointType  theBounds[6]) [inline]

If parameter theIsForcedUpdate is true, recalculate parameters for trihedron and cube axes, even if trihedron and cube axes is invisible.

Definition at line 385 of file SVTK_Renderer.cxx.

{
  if(theBounds[0] > -VTK_LARGE_FLOAT && theBounds[1] < VTK_LARGE_FLOAT &&
     theBounds[2] > -VTK_LARGE_FLOAT && theBounds[3] < VTK_LARGE_FLOAT &&
     theBounds[4] > -VTK_LARGE_FLOAT && theBounds[5] < VTK_LARGE_FLOAT)
    return true;
  return false;
}