Back to index

salome-gui  6.5.0
Defines | Functions | Variables
VTKViewer_ViewModel.cxx File Reference
#include "VTKViewer_ViewModel.h"
#include "VTKViewer_ViewWindow.h"
#include "VTKViewer_ViewManager.h"
#include "VTKViewer_RenderWindowInteractor.h"
#include "QtxBackgroundTool.h"
#include "SUIT_ViewWindow.h"
#include "SUIT_Desktop.h"
#include "SUIT_Session.h"
#include <QColorDialog>
#include <QMenu>
#include <QMouseEvent>
#include <QToolBar>

Go to the source code of this file.

Defines

#define VTK_ENABLE_TEXTURED_BACKGROUND

Functions

bool _InitializeVtkWarningsCall ()

Variables

static bool _InitializeVtkWarnings = _InitializeVtkWarningsCall()

Define Documentation

Definition at line 39 of file VTKViewer_ViewModel.cxx.


Function Documentation

Definition at line 41 of file VTKViewer_ViewModel.cxx.

{
  char* isOn = getenv( "VTK_WARNINGS_IS_ON" );  
  if ( !isOn || strcmp( isOn, "1" ) )
    vtkObject::GlobalWarningDisplayOff();

  delete isOn;
  return vtkObject::GetGlobalWarningDisplay();
}

Variable Documentation

Definition at line 50 of file VTKViewer_ViewModel.cxx.