Version: 9.12.0
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

◆ TFrameIndexes

typedef std::vector<int> SVTK_Recorder::TFrameIndexes
protected

Member Enumeration Documentation

◆ State

enum SVTK_Recorder::State
protected
Enumerator
SVTK_Recorder_Unknown 
SVTK_Recorder_Record 
SVTK_Recorder_Stop 

Constructor & Destructor Documentation

◆ SVTK_Recorder() [1/2]

SVTK_Recorder::SVTK_Recorder ( )
protected

◆ ~SVTK_Recorder()

SVTK_Recorder::~SVTK_Recorder ( )
protected

◆ SVTK_Recorder() [2/2]

SVTK_Recorder::SVTK_Recorder ( const SVTK_Recorder )
private

Member Function Documentation

◆ AddSkippedFrames()

void SVTK_Recorder::AddSkippedFrames ( )
protected

◆ CheckExistAVIMaker()

void SVTK_Recorder::CheckExistAVIMaker ( )

◆ DoRecord()

void SVTK_Recorder::DoRecord ( )
protected

References GetFrameIndex().

◆ ErrorStatus()

int SVTK_Recorder::ErrorStatus ( ) const

◆ GetProgressiveMode()

bool SVTK_Recorder::GetProgressiveMode ( ) const

◆ GetQuality()

int SVTK_Recorder::GetQuality ( ) const

◆ MakeFileAVI()

void SVTK_Recorder::MakeFileAVI ( )
protected

◆ Name()

const char * SVTK_Recorder::Name ( ) const

References myName.

◆ NbFPS()

double SVTK_Recorder::NbFPS ( ) const

◆ New()

static SVTK_Recorder* SVTK_Recorder::New ( )
static

◆ operator=()

void SVTK_Recorder::operator= ( const SVTK_Recorder )
private

◆ Pause()

void SVTK_Recorder::Pause ( )

◆ PreWrite()

void SVTK_Recorder::PreWrite ( )
protected

◆ ProcessEvents()

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

References SVTK_Recorder_Record.

◆ Record()

void SVTK_Recorder::Record ( )

◆ RenderWindow()

vtkRenderWindow * SVTK_Recorder::RenderWindow ( )

◆ SetName()

void SVTK_Recorder::SetName ( const char *  theName)

◆ SetNbFPS()

void SVTK_Recorder::SetNbFPS ( const double  theNbFPS)

◆ SetProgressiveMode()

void SVTK_Recorder::SetProgressiveMode ( bool  theProgressiveMode)

◆ SetQuality()

void SVTK_Recorder::SetQuality ( int  theQuality)

◆ SetUseSkippedFrames()

void SVTK_Recorder::SetUseSkippedFrames ( bool  theUseSkippedFrames)

◆ State()

int SVTK_Recorder::State ( ) const

◆ Stop()

void SVTK_Recorder::Stop ( )

◆ UseSkippedFrames()

bool SVTK_Recorder::UseSkippedFrames ( ) const

◆ vtkTypeMacro()

SVTK_Recorder::vtkTypeMacro ( SVTK_Recorder  ,
vtkObject   
)

Member Data Documentation

◆ myCommand

vtkCallbackCommand* SVTK_Recorder::myCommand
protected

◆ myErrorStatus

int SVTK_Recorder::myErrorStatus
protected

◆ myFilter

vtkWindowToImageFilter* SVTK_Recorder::myFilter
protected

◆ myFrameIndex

int SVTK_Recorder::myFrameIndex
protected

◆ myFrameIndexes

TFrameIndexes SVTK_Recorder::myFrameIndexes
protected

◆ myName

std::string SVTK_Recorder::myName
protected

◆ myNameAVIMaker

std::string SVTK_Recorder::myNameAVIMaker
protected

◆ myNbFPS

double SVTK_Recorder::myNbFPS
protected

◆ myNbWrittenFrames

int SVTK_Recorder::myNbWrittenFrames
protected

◆ myPaused

int SVTK_Recorder::myPaused
protected

◆ myPriority

float SVTK_Recorder::myPriority
protected

◆ myProgressiveMode

bool SVTK_Recorder::myProgressiveMode
protected

◆ myQuality

int SVTK_Recorder::myQuality
protected

◆ myRenderWindow

vtkRenderWindow* SVTK_Recorder::myRenderWindow
protected

◆ myState

int SVTK_Recorder::myState
protected

◆ myTimeStart

double SVTK_Recorder::myTimeStart
protected

◆ myUseSkippedFrames

bool SVTK_Recorder::myUseSkippedFrames
protected

◆ myWriterMgr

SVTK_ImageWriterMgr* SVTK_Recorder::myWriterMgr
protected

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