Class VLFire.TVLFireLayer
From Mitov Wiki Doc
(Difference between revisions)
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
(7 intermediate revisions by one user not shown) | |||
Line 28: | Line 28: | ||
=== C# (.NET): === | === C# (.NET): === | ||
<code> | <code> | ||
− | '''public ref class''' | + | '''public ref class''' FireLayer : [[Class VLDrawFilterLayers.TVLDrawFilterLayer|Mitov.VideoLab.DrawFilterLayer]] |
</code> | </code> | ||
== Summary == | == Summary == | ||
Line 38: | Line 38: | ||
− | Example: | + | <b>Example:</b> |
{| border="1" cellspacing="0" cellpadding="5" | {| border="1" cellspacing="0" cellpadding="5" | ||
|- | |- | ||
Line 74: | Line 74: | ||
=== Public === | === Public === | ||
*[[Method procedure VLFire.TVLFireLayer.DoSizeRate(Integer;Integer;TVLVideoFormat;Integer;Cardinal)|procedure DoSizeRate(AWidth : Integer; AHeight : Integer; AVideoFormat : TVLVideoFormat; AFrameDelay : Integer; AInterlaceFlags : Cardinal)]] | *[[Method procedure VLFire.TVLFireLayer.DoSizeRate(Integer;Integer;TVLVideoFormat;Integer;Cardinal)|procedure DoSizeRate(AWidth : Integer; AHeight : Integer; AVideoFormat : TVLVideoFormat; AFrameDelay : Integer; AInterlaceFlags : Cardinal)]] | ||
+ | *[[Method function VLFire.TVLFireLayer.GetOperations() : TLPDrawLayerOperations|function GetOperations() : TLPDrawLayerOperations]] | ||
*[[Method procedure VLFire.TVLFireLayer.PourWater(Cardinal;Cardinal)|procedure PourWater(ACountDrops : Cardinal; ADropSize : Cardinal)]] - Pours water drops over the fire. | *[[Method procedure VLFire.TVLFireLayer.PourWater(Cardinal;Cardinal)|procedure PourWater(ACountDrops : Cardinal; ADropSize : Cardinal)]] - Pours water drops over the fire. | ||
*[[Method procedure VLFire.TVLFireLayer.PourWaterAt(Cardinal;Cardinal)|procedure PourWaterAt(APosition : Cardinal; ADropSize : Cardinal)]] - Pours water drop over the fire. | *[[Method procedure VLFire.TVLFireLayer.PourWaterAt(Cardinal;Cardinal)|procedure PourWaterAt(APosition : Cardinal; ADropSize : Cardinal)]] - Pours water drop over the fire. | ||
Line 102: | Line 103: | ||
=== Public === | === Public === | ||
+ | *[[Method function LPDrawLayers.TLPDrawLayer.GetHasEnable() : Boolean|function GetHasEnable() : Boolean]] | ||
+ | *[[Method function LPDrawLayers.TLPDrawLayer.GetCanDisable() : Boolean|function GetCanDisable() : Boolean]] | ||
*[[Method procedure LPDrawLayers.TLPDrawLayer.DoLayerBegin(TLPCanvas;Integer;Integer;Single;Single)|procedure DoLayerBegin(ACanvas : TLPCanvas; AWidth : Integer; AHeight : Integer; AXCoeff : Single; AYCoeff : Single)]] | *[[Method procedure LPDrawLayers.TLPDrawLayer.DoLayerBegin(TLPCanvas;Integer;Integer;Single;Single)|procedure DoLayerBegin(ACanvas : TLPCanvas; AWidth : Integer; AHeight : Integer; AXCoeff : Single; AYCoeff : Single)]] | ||
*[[Method procedure LPDrawLayers.TLPDrawLayer.DoLayerEnd()|procedure DoLayerEnd()]] | *[[Method procedure LPDrawLayers.TLPDrawLayer.DoLayerEnd()|procedure DoLayerEnd()]] | ||
Line 112: | Line 115: | ||
*[[Method procedure LPDrawLayers.TLPDrawLayer.DoLayerMouseEnter()|procedure DoLayerMouseEnter()]] | *[[Method procedure LPDrawLayers.TLPDrawLayer.DoLayerMouseEnter()|procedure DoLayerMouseEnter()]] | ||
*[[Method procedure LPDrawLayers.TLPDrawLayer.DoLayerMouseLeave()|procedure DoLayerMouseLeave()]] | *[[Method procedure LPDrawLayers.TLPDrawLayer.DoLayerMouseLeave()|procedure DoLayerMouseLeave()]] | ||
+ | *[[Method function LPDrawLayers.TLPDrawLayer.GetChachedData(TObject) : TObject|function GetChachedData(ALink : TObject) : TObject]] | ||
*[[Method procedure LPDrawLayers.TLPDrawLayer.SetChachedData(TObject;TObject)|procedure SetChachedData(ALink : TObject; AData : TObject)]] | *[[Method procedure LPDrawLayers.TLPDrawLayer.SetChachedData(TObject;TObject)|procedure SetChachedData(ALink : TObject; AData : TObject)]] | ||
+ | *[[Method function LPDrawLayers.TLPDrawLayer.GetOperations() : TLPDrawLayerOperations|function GetOperations() : TLPDrawLayerOperations]] | ||
*[[Method procedure LPDrawLayers.TLPDrawLayer.AddLayerLink(TLPLayerCollectionItem)|procedure AddLayerLink(ALink : TLPLayerCollectionItem)]] | *[[Method procedure LPDrawLayers.TLPDrawLayer.AddLayerLink(TLPLayerCollectionItem)|procedure AddLayerLink(ALink : TLPLayerCollectionItem)]] | ||
*[[Method procedure LPDrawLayers.TLPDrawLayer.RemoveLayerLink(TLPLayerCollectionItem)|procedure RemoveLayerLink(ALink : TLPLayerCollectionItem)]] | *[[Method procedure LPDrawLayers.TLPDrawLayer.RemoveLayerLink(TLPLayerCollectionItem)|procedure RemoveLayerLink(ALink : TLPLayerCollectionItem)]] | ||
+ | *[[Method function LPDrawLayers.TLPDrawLayer.GetName() : String|function GetName() : String]] | ||
+ | *[[Method function LPDrawLayers.TLPDrawLayer.WriteLock() : IOWLockSection|function WriteLock() : IOWLockSection]] | ||
== From [[Class SLComponentCollection.TSLComponentItem|TSLComponentItem]] == | == From [[Class SLComponentCollection.TSLComponentItem|TSLComponentItem]] == | ||
Line 127: | Line 134: | ||
=== Public === | === Public === | ||
+ | *[[Method function SLComponentCollection.TSLComponentItem.GetParentComponent() : TComponent|function GetParentComponent() : TComponent]] | ||
+ | *[[Method function SLComponentCollection.TSLComponentItem.HasParent() : Boolean|function HasParent() : Boolean]] | ||
+ | *[[Method function SLComponentCollection.TSLComponentItem.GetOwnerList() : TSLComponentItems|function GetOwnerList() : TSLComponentItems]] | ||
*[[Method function SLComponentCollection.TSLComponentItem.GetHasEnable() : Boolean|function GetHasEnable() : Boolean]] | *[[Method function SLComponentCollection.TSLComponentItem.GetHasEnable() : Boolean|function GetHasEnable() : Boolean]] | ||
*[[Method function SLComponentCollection.TSLComponentItem.GetCanDisable() : Boolean|function GetCanDisable() : Boolean]] | *[[Method function SLComponentCollection.TSLComponentItem.GetCanDisable() : Boolean|function GetCanDisable() : Boolean]] | ||
[[Category:Layers]][[Category:Classes]] | [[Category:Layers]][[Category:Classes]] |
Latest revision as of 00:30, 26 June 2013
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: VideoLabPkg
Unit: VLFire
Inherits: TVLDrawFilterLayer
Contents |
Syntax
Delphi:
type TVLFireLayer = class( TVLDrawFilterLayer )
C++ Builder:
class TVLFireLayer : public TVLDrawFilterLayer
Visual C++ (MFC):
class CTVLFireLayer : public CTVLDrawFilterLayer
C# (.NET):
public ref class FireLayer : Mitov.VideoLab.DrawFilterLayer
Summary
Fire effect video layer.
Description
Add this layer to apply fire effect over the frames.
Example:
Original Image: | Fire effect over text layer: |
Properties
Published
- FireColor - Specifies the color of the flames.
- Flammability - Specifies the flammability of the burning material.
- IncreaseStep - Specifies the speed of the intensity increase of the root of the fire.
- Smoothness - Specifies how discrete can the flames be.
- Decay - Specifies the fire decay.
- IgnitionPeriod - Specifies the frequency of fire ignitions.
- ReignitionPeriod - Specifies the frequency of reignition.
- Distribution - Specifies the fire distribution.
- MinFire - Specifies the minimal desired area covered by the fire.
- LeftOffset - Specifies the left offset from the corner of the frame.
- RightOffset - Specifies the right offset from the corner of the frame.
- Iterations - Specifies the number of fire iterations per video frame.
- Transparency - Specifies the fire transparency.
- CornerSmooth - Specifies how much the corners should be smoothed.
- Wind - Specifies the wind direction and strength.
- HeatLimit - Specifies the heat limit of the fire.
- Smooth - Specifies if and how the fire should be smoothed.
Methods
Public
- procedure DoSizeRate(AWidth : Integer; AHeight : Integer; AVideoFormat : TVLVideoFormat; AFrameDelay : Integer; AInterlaceFlags : Cardinal)
- function GetOperations() : TLPDrawLayerOperations
- procedure PourWater(ACountDrops : Cardinal; ADropSize : Cardinal) - Pours water drops over the fire.
- procedure PourWaterAt(APosition : Cardinal; ADropSize : Cardinal) - Pours water drop over the fire.
- procedure Spark(ACountSparks : Cardinal; ASparkSize : Cardinal) - Drops a random spark(s) over the flammable area.
- procedure SparkAt(APosition : Cardinal; ASparkSize : Cardinal) - Drops a spark over the flammable area.
From TVLDrawFilterLayer
Properties
Published
Methods
Public
- procedure DoSizeRate(AWidth : Integer; AHeight : Integer; AVideoFormat : TVLVideoFormat; AFrameDelay : Integer; AInterlaceFlags : Cardinal)
- procedure DoFilter(var OutValue : IVLImageBuffer)
From TLPDrawLayer
Properties
Published
Methods
Public
- function GetHasEnable() : Boolean
- function GetCanDisable() : Boolean
- procedure DoLayerBegin(ACanvas : TLPCanvas; AWidth : Integer; AHeight : Integer; AXCoeff : Single; AYCoeff : Single)
- procedure DoLayerEnd()
- procedure DoLayerDraw(ACanvas : TLPCanvas; AWidth : Integer; AHeight : Integer; AXCoeff : Single; AYCoeff : Single; AContoursOnly : Boolean)
- procedure DoLayerMouseMove(AShift : TShiftState; AX : Integer; AY : Integer)
- procedure DoLayerMouseDown(Button : TMouseButton; Shift : TShiftState; X : Integer; Y : Integer)
- procedure DoLayerMouseUp(Button : TMouseButton; Shift : TShiftState; X : Integer; Y : Integer)
- procedure DoLayerMouseWheelDown(AShift : TShiftState; AX : Integer; AY : Integer)
- procedure DoLayerMouseWheelUp(AShift : TShiftState; AX : Integer; AY : Integer)
- procedure DoLayerMouseEnter()
- procedure DoLayerMouseLeave()
- function GetChachedData(ALink : TObject) : TObject
- procedure SetChachedData(ALink : TObject; AData : TObject)
- function GetOperations() : TLPDrawLayerOperations
- procedure AddLayerLink(ALink : TLPLayerCollectionItem)
- procedure RemoveLayerLink(ALink : TLPLayerCollectionItem)
- function GetName() : String
- function WriteLock() : IOWLockSection