Version: 6.3.1
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions

SVTK_Recorder Class Reference

#include <SVTK_Recorder.h>

Inheritance diagram for SVTK_Recorder:
Inheritance graph

Public Member Functions

 vtkTypeRevisionMacro (SVTK_Recorder, vtkObject)
void SetRenderWindow (vtkRenderWindow *theRenderWindow)
vtkRenderWindow * RenderWindow ()
void SetName (const char *theName)
const char * Name () const
void SetNbFPS (const double theNbFPS)
double NbFPS () const
void SetQuality (int theQuality)
int GetQuality () const
void SetProgressiveMode (bool theProgressiveMode)
bool GetProgressiveMode () const
void SetUseSkippedFrames (bool theUseSkippedFrames)
bool UseSkippedFrames () const
void Record ()
void Pause ()
void Stop ()
int State () const
int ErrorStatus () const
void CheckExistAVIMaker ()

Static Public Member Functions

static SVTK_RecorderNew ()

Protected Types

enum  State { SVTK_Recorder_Unknown = 0, SVTK_Recorder_Record, SVTK_Recorder_Stop }
typedef std::vector< int > TFrameIndexes

Protected Member Functions

 SVTK_Recorder ()
 ~SVTK_Recorder ()
void DoRecord ()
void MakeFileAVI ()
void AddSkippedFrames ()
void PreWrite ()

Static Protected Member Functions

static void ProcessEvents (vtkObject *theObject, unsigned long theEvent, void *theClientData, void *theCallData)

Protected Attributes

int myState
int myPaused
int myErrorStatus
float myPriority
double myTimeStart
int myFrameIndex
int myNbWrittenFrames
double myNbFPS
int myQuality
bool myProgressiveMode
TFrameIndexes myFrameIndexes
bool myUseSkippedFrames
std::string myName
std::string myNameAVIMaker
vtkCallbackCommand * myCommand
vtkRenderWindow * myRenderWindow
vtkWindowToImageFilter * myFilter
SVTK_ImageWriterMgrmyWriterMgr

Private Member Functions

 SVTK_Recorder (const SVTK_Recorder &)
void operator= (const SVTK_Recorder &)

Member Typedef Documentation

typedef std::vector<int> SVTK_Recorder.TFrameIndexes [protected]

Member Enumeration Documentation

enum int SVTK_Recorder::State [protected]
Enumerator:
SVTK_Recorder_Unknown 
SVTK_Recorder_Record 
SVTK_Recorder_Stop 

Constructor & Destructor Documentation

SVTK_Recorder::SVTK_Recorder ( ) [protected]

References ProcessEvents().

SVTK_Recorder::~SVTK_Recorder ( ) [protected]
SVTK_Recorder.SVTK_Recorder ( const SVTK_Recorder ) [private]

Member Function Documentation

static SVTK_Recorder* SVTK_Recorder.New ( ) [static]
SVTK_Recorder.vtkTypeRevisionMacro ( SVTK_Recorder  ,
vtkObject   
)
void SVTK_Recorder::SetRenderWindow ( vtkRenderWindow *  theRenderWindow)
vtkRenderWindow * SVTK_Recorder::RenderWindow ( )
void SVTK_Recorder::SetName ( const char *  theName)
const char * SVTK_Recorder::Name ( ) const

References myName.

void SVTK_Recorder::SetNbFPS ( const double  theNbFPS)
double SVTK_Recorder::NbFPS ( ) const
void SVTK_Recorder::SetQuality ( int  theQuality)
int SVTK_Recorder::GetQuality ( ) const
void SVTK_Recorder::SetProgressiveMode ( bool  theProgressiveMode)
bool SVTK_Recorder::GetProgressiveMode ( ) const
void SVTK_Recorder::SetUseSkippedFrames ( bool  theUseSkippedFrames)
bool SVTK_Recorder::UseSkippedFrames ( ) const
void SVTK_Recorder::Record ( )
void SVTK_Recorder::Pause ( )

References MYDEBUG.

void SVTK_Recorder::Stop ( )
int SVTK_Recorder.State ( ) const
int SVTK_Recorder::ErrorStatus ( ) const
void SVTK_Recorder::CheckExistAVIMaker ( )
void SVTK_Recorder::DoRecord ( ) [protected]
void SVTK_Recorder::MakeFileAVI ( ) [protected]

References MYDEBUG.

void SVTK_Recorder::AddSkippedFrames ( ) [protected]

References MYDEBUG.

void SVTK_Recorder::PreWrite ( ) [protected]
static void SVTK_Recorder.ProcessEvents ( vtkObject theObject,
unsigned long  theEvent,
void *  theClientData,
void *  theCallData 
) [static, protected]
void SVTK_Recorder.operator= ( const SVTK_Recorder ) [private]

Field Documentation

int SVTK_Recorder.myState [protected]
int SVTK_Recorder.myPaused [protected]
int SVTK_Recorder.myErrorStatus [protected]
float SVTK_Recorder.myPriority [protected]
double SVTK_Recorder.myTimeStart [protected]
int SVTK_Recorder.myFrameIndex [protected]
double SVTK_Recorder.myNbFPS [protected]
int SVTK_Recorder.myQuality [protected]
std::string SVTK_Recorder.myName [protected]
std::string SVTK_Recorder.myNameAVIMaker [protected]
vtkCallbackCommand* SVTK_Recorder.myCommand [protected]
vtkRenderWindow* SVTK_Recorder.myRenderWindow [protected]
vtkWindowToImageFilter* SVTK_Recorder.myFilter [protected]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS