Back to index

salome-gui  6.5.0
Functions | Variables
SVTK_Recorder.cxx File Reference
#include "SVTK_Recorder.h"
#include "SVTK_ImageWriter.h"
#include "SVTK_ImageWriterMgr.h"
#include <vtkObjectFactory.h>
#include <vtkObject.h>
#include <vtkCallbackCommand.h>
#include <vtkRenderWindow.h>
#include <vtkTimerLog.h>
#include <vtkWindowToImageFilter.h>
#include <vtkJPEGWriter.h>
#include <vtkImageData.h>
#include <sstream>
#include <iomanip>
#include <iostream>
#include <unistd.h>
#include <QApplication>
#include <QFileInfo>
#include <QDir>

Go to the source code of this file.

Functions

 vtkCxxRevisionMacro (SVTK_Recorder,"$Revision: 1.2.2.1.8.6.2.1 $")
 vtkStandardNewMacro (SVTK_Recorder)
int GetFrameIndex (double theStartTime, double theFPS)

Variables

static int MYDEBUG = 0

Function Documentation

int GetFrameIndex ( double  theStartTime,
double  theFPS 
) [inline]

Definition at line 324 of file SVTK_Recorder.cxx.

{
  double aTimeNow = vtkTimerLog::GetUniversalTime();
  double aDelta = aTimeNow - theStartTime;
  return int(aDelta*theFPS);
}

Here is the caller graph for this function:

vtkCxxRevisionMacro ( SVTK_Recorder  ,
"$Revision: 1.2.2.1.8.6.2.1 $"   
)

Variable Documentation

int MYDEBUG = 0 [static]

Definition at line 51 of file SVTK_Recorder.cxx.