Click or drag to resize
ThermalSequencePlayer Class
Playback of thermal sequence file.
Inheritance Hierarchy
SystemObject
  Flir.Atlas.Image.PlaybackThermalSequencePlayer

Namespace: Flir.Atlas.Image.Playback
Assembly: Flir.Atlas.Image (in Flir.Atlas.Image.dll) Version: 3.1
Syntax
C#
public class ThermalSequencePlayer : IDisposable

The ThermalSequencePlayer type exposes the following members.

Constructors
  NameDescription
Public methodThermalSequencePlayer
Construction of ThermalSequencePlayer.
Top
Methods
  NameDescription
Public methodCount
Gets the number of frames.
Public methodDispose
Releases all resources used by the ThermalSequencePlayer
Public methodEnd
Move to the last image in the sequence.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFirst
Move to the first image in the sequence.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodNext
Move to the next frame.
Public methodPause
Pause the playback thread.
Public methodPlay
Plays the sequence file with the selected frame rate, FrameRate.
Public methodPrevious
Move to the previous frame.
Public methodStop
Stop the playback thread.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyDuration
Duration of the recording.
Public propertyFrameRate
Public propertyLoop
Continue playing the sequence from start after the end is reached.
Public propertySelectedIndex
Gets and sets the selected zero based index.
Public propertyStatus
Status of the Playback thread.
Public propertyThermalImage
The ThermalImage.
Top
Events
  NameDescription
Public eventSelectedIndexChanged
This event is fired when the selection has changed.
Public eventStatusChanged
This event is fired when the playback status has changed.
Top
Examples
C#
using Flir.Atlas.Image;

//Open a sequence file 
var file1 = new ThermalImageFile(file);
ThermalSequencePlayer image = file1.ThermalSequencePlayer;

//check number of frames in the file
int i = image.Count();
// move to frame 10     
image.SelectedIndex = 10;

//start playing  (default frame rate 25 fps)
image.Play();
while (image.SelectedIndex < 300)
{
    // get the image from the current frame
    Bitmap im = image.ThermalImage.Image;
}
image.Stop();
See Also