Documentation



Developed by The Demo Factory:
Kevin Brunner
, Tim Davison,
Ed Allard, Bob Penrod

Class SoDMBufferEngine

SoDMBufferEngine is the base class for each of the DMBuffer engines.

Subclasses should support both DM_IMAGE_LAYOUT_GRAPHICS and DM_IMAGE_LAYOUT_LINEAR formats. The textureBits and linearBits engine outputs should provide access to the indicated layout (i.e. GRAPHICS - textureBits, LINEAR - linearBits.

Additionally, where appropriate, the engine should provide a texture scaling matrix. (see discussion in SbDMBufferTexture2).

See Also:
SoDMBufferTexture2.html
SoDMBufferVideoEngine.html
SoDMBufferMovieEngine.html
SoDMBufferDMICMovieEngine.html

Fields

 o linearBits
(SoSFDMBufferImage) DM_IMAGE_LAYOUT_LINEAR access to engine's image.

 o scale
(SbMatrix) access to engine's SoSFDMBufferImage

Discussion of proper use can be found in SoDMBufferTexture2 documentation.

 o textureBits
(SoSFDMBufferImage) DM_IMAGE_LAYOUT_GRAPHICS access to engine's image.

Method Index

 o initClass( )
Static initialization routine. (Used by some engines to create separate data acquisition threads -- SoDMBufferVideoEngine and SoDMBufferDMICMovieEngine)

 o start( )
Resume dynamically updating the current image.

 o stop( )
Stop dynamically updating the current image.

Methods

 o initClass
  static void initClass()
	
Static initialization routine. (Used by some engines to create separate data acquisition threads -- SoDMBufferVideoEngine and SoDMBufferDMICMovieEngine)

See Also:
SoDMBufferVideoEngine.html
SoDMBufferMovieEngine.html
SoDMBufferDMICMovieEngine.html

 o start
  virtual void start( void )
	
Resume dynamically updating the current image.

See Also:
SoSFDMBufferImage.html
SoSFDMBufferTexture2.html
SoDMBufferVideoEngine.html
SoDMBufferMovieEngine.html
SoDMBufferDMICMovieEngine.html

 o stop
  virtual void stop( void )
	
Stop dynamically updating the current image.

See Also:
SoSFDMBufferImage.html
SoSFDMBufferTexture2.html
SoDMBufferVideoEngine.html
SoDMBufferMovieEngine.html
SoDMBufferDMICMovieEngine.html