HappyDoc Generated Documentation Class: Director

. / MovieRecorder / Director.py / Director 

Because it's a movie, and the director coordinates everything.

Methods   
  stopRecording 
stopRecording ( self )
Exceptions   

MovieError, "Not currently recording"

  setFps 
setFps ( self,  fps )

called by a ui to set the frames per second

  isEncoding 
isEncoding ( self )
  stopEncoding 
stopEncoding ( self )
Exceptions   

MovieError, "Not currently encoding"

  dumpStatusInfo 
dumpStatusInfo ( self )
  startRecording 
startRecording (
        self,
        fformat,
        directory,
        pattern,
        )
Exceptions   

MovieError, what
MovieError, "Already recording"

  setResetMode 
setResetMode ( self,  mode )
  __init__ 
__init__ ( self )
  getRecImgDir 
getRecImgDir ( self )
  getGfxWindowSize 
getGfxWindowSize ( self )
  startEncoding 
startEncoding (
        self,
        updateFn,
        **kwargs,
        )
Exceptions   

MovieError, "No frames to encode"
MovieError, "Currently encoding a movie"
MovieError, "Must accept license agreement before using movie encoder"

  getRecImgFmt 
getRecImgFmt ( self )
  getRecInputPattern 
getRecInputPattern ( self )
  isRecording 
isRecording ( self )
  getFrameCount 
getFrameCount ( self )
  hasState 
hasState ( self )
  updateGfxSize 
updateGfxSize ( self,  evt=None )

this is the callback when the user resizes the chimera graphics window. it basically does a call to update the gui, in case it cares to know about this change

  findNextMacroblock 
findNextMacroblock ( self,  val )
  setGfxWindowSize 
setGfxWindowSize (
        self,
        width,
        height,
        )

the helper function that actually does the work of resizing the Chimera graphics window

  resetRecorder 
resetRecorder ( self,  clearFrames=True )

when recorder gui calls this, this should tell recordergui what to say instead of it figureing it out... so it can also tell command line what to say....

Exceptions   

MovieError, "No frames have been recorded"

  registerUI 
registerUI ( self,  ui )

This document was automatically generated Thu Feb 02 15:18:30 2006 by HappyDoc version 3.0.a1