Isotherm Class |
Namespace: Flir.Atlas.Image.Isotherms
public abstract class Isotherm
The Isotherm type exposes the following members.
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetAboveValue |
Gets the value for above.
| |
GetBelowValue |
Gets the value for below.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetIntervalMinMaxValues |
Gets minimum and maximum values for interval.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Appearance |
Gets or sets the apperance of the isotherm.
| |
Color |
Gets or sets the color of the isotherm.
| |
ContrastColor |
Gets or sets the contrast color of the isotherm.
| |
IsothermType |
Gets or sets the isotherm type.
|
using Flir.Atlas.Image; public void Properties() { ThermalImageFile _image; _image = new ThermalImageFile(FileName); //add events to monitore changes in Isotherms _image.Isotherms.Changed += new System.EventHandler<IsothermEventArgs>(Isotherms_Changed); _image.Isotherms.Added += new System.EventHandler<IsothermEventArgs>(Isotherms_Added); _image.Isotherms.Removed += new System.EventHandler<IsothermEventArgs>(Isotherms_Removed); //add an above isotherm and set the color to red _image.Isotherms.AddAbove(); _image.Isotherms[0].Color = Color.Red; //Remove Isotherm Isotherm isotherm = _image.Isotherms[0]; _image.Isotherms.Remove(isotherm); //remove events _image.Isotherms.Changed -=new System.EventHandler<IsothermEventArgs>(Isotherms_Changed); _image.Isotherms.Added -= new System.EventHandler<IsothermEventArgs>(Isotherms_Added); _image.Isotherms.Removed -= new System.EventHandler<IsothermEventArgs>(Isotherms_Removed); }