Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SVTK_Recorder Class Reference

#include <SVTK_Recorder.h>

Inheritance diagram for SVTK_Recorder:
Inheritance graph

Public Member Functions

 vtkTypeMacro (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

void SVTK_Recorder::AddSkippedFrames ( )
protected

References MYDEBUG, and myName.

void SVTK_Recorder::CheckExistAVIMaker ( )
void SVTK_Recorder::DoRecord ( )
protected

References GetFrameIndex(), MYDEBUG, and myName.

int SVTK_Recorder::ErrorStatus ( ) const
bool SVTK_Recorder::GetProgressiveMode ( ) const
int SVTK_Recorder::GetQuality ( ) const
void SVTK_Recorder::MakeFileAVI ( )
protected

References MYDEBUG, and myName.

const char * SVTK_Recorder::Name ( ) const

References myName.

double SVTK_Recorder::NbFPS ( ) const
static SVTK_Recorder* SVTK_Recorder::New ( )
static
void SVTK_Recorder::operator= ( const SVTK_Recorder )
private
void SVTK_Recorder::Pause ( )

References MYDEBUG.

void SVTK_Recorder::PreWrite ( )
protected
void SVTK_Recorder::ProcessEvents ( vtkObject theObject,
unsigned long  theEvent,
void *  theClientData,
void *  theCallData 
)
staticprotected

References SVTK_Recorder_Record.

void SVTK_Recorder::Record ( )
vtkRenderWindow * SVTK_Recorder::RenderWindow ( )
void SVTK_Recorder::SetName ( const char *  theName)

References myName.

void SVTK_Recorder::SetNbFPS ( const double  theNbFPS)
void SVTK_Recorder::SetProgressiveMode ( bool  theProgressiveMode)
void SVTK_Recorder::SetQuality ( int  theQuality)
void SVTK_Recorder::SetRenderWindow ( vtkRenderWindow *  theRenderWindow)
void SVTK_Recorder::SetUseSkippedFrames ( bool  theUseSkippedFrames)
int SVTK_Recorder::State ( ) const
void SVTK_Recorder::Stop ( )
bool SVTK_Recorder::UseSkippedFrames ( ) const
SVTK_Recorder::vtkTypeMacro ( SVTK_Recorder  ,
vtkObject   
)

Member Data Documentation

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

The documentation for this class was generated from the following files: