Table of Contents

Class AnimationAction

Namespace
VectorDraw.Professional.ActionUtility
Assembly
VectorDraw.Professional.dll

Base class that manage user define animation actions.

User must define a class object that overrides this class in order to implement his own animation action.

public abstract class AnimationAction : BaseAction, IDisposable, IBaseObject, IBaseAction
Inheritance
BaseAction
AnimationAction
Implements
IBaseAction
Inherited Members
BaseAction.m_Visible
BaseAction.mFixPointLocation
BaseAction.mIsParsed
BaseAction.mUserValue
BaseAction.mDefaultValue
BaseAction.OsnapCrossMarksCount
BaseAction.OsnapTrakingMarksMarksCount
BaseAction.OsnapExtensionMarksCount
BaseAction.OsnapMarksClearKey
BaseAction.ExtensionLockKey
BaseAction.Dispose()
BaseAction.GetAcceptedStringValues()
BaseAction.RaiseOnShow()
BaseAction.RaiseOnHide()
BaseAction.RaiseOnDrawOsnaps(OsnapMode, vdRender)
BaseAction.RaiseOnWorldToUserMatrix()
BaseAction.OnFinishAction()
BaseAction.RaiseOnFinishAction(BaseAction)
BaseAction.RaiseOnCancelAction(BaseAction)
BaseAction.OnPositionChanged(gPoint)
BaseAction.SetsupportObjectSnapObject(ISupportObjectSnaps)
BaseAction.ClearTemporaryOsnaps()
BaseAction.GetValueString(LUnits, AUnits)
BaseAction.GetRender()
BaseAction.Draw()
BaseAction.Hide()
BaseAction.PureDraw()
BaseAction.ScreenPaint(ActionWrapperRender)
BaseAction.GotFocus()
BaseAction.LostFocus()
BaseAction.OnIdle()
BaseAction.MouseEnter()
BaseAction.MouseLeave()
BaseAction.RestoreCursor()
BaseAction.WaitToFinish()
BaseAction.FinishAction(BaseAction)
BaseAction.CancelAction(BaseAction)
BaseAction.DrawAxis()
BaseAction.DrawPick()
BaseAction.DrawCross(gPoint)
BaseAction.Owner
BaseAction.AcceptedPoints
BaseAction.MouseLogic
BaseAction.IsTouchScreen
BaseAction.IsPolarTrackOn
BaseAction.IsOrthoPointFixed
BaseAction.MouseArgs
BaseAction.SelectedEntity
BaseAction.SelectedEntities
BaseAction.TemporaryOsnaps
BaseAction.CurrentOsnap
BaseAction.OsnapCrossPointsAddvalue
BaseAction.FreezeEvents
BaseAction.KeepFocus
BaseAction.CancelOnFocus
BaseAction.FixPointLocation
BaseAction.ParalleAngle
BaseAction.ApparentEntity
BaseAction.IsParsed
BaseAction.ValueTypeProp
BaseAction.IsStartUpAction
BaseAction.IsStarted
BaseAction.IsVisible
BaseAction.HasOsnapPoint
BaseAction.IsGripLocation
BaseAction.HasPointZValue
BaseAction.OsnapOverrideMode
BaseAction.SupportOsnaps
BaseAction.osnapPoints
BaseAction.UserWaiting
BaseAction.WaitingPoint
BaseAction.GdiMousePos
BaseAction.PressedKeyCode
BaseAction.Cancelled
BaseAction.ValuePointCS
BaseAction.Value
BaseAction.OrthoPoint
BaseAction.ReferencePoint
BaseAction.ExtensionReferencePoint
BaseAction.GdiReferencePoint
BaseAction.MouseLocation
BaseAction.GdiMouseLocation
BaseAction.Render
BaseAction.OsnapOrthoMouseLocation
BaseAction.ContainsScreenPaints
BaseAction.ExtensionMarks
BaseAction.IsFocused
BaseAction.DoEventsWithWin32API
BaseAction.IsInWaitingLoop
BaseAction.IsPerspectiveOn
BaseAction.OnMouseLeave
BaseAction.OnMouseEnter
BaseAction.OnMouseMove
BaseAction.OnMouseDown
BaseAction.OnMouseUp
BaseAction.OnMouseDoubleClick
BaseAction.OnTimerIdle
BaseAction.OnWorldToUserMatrix
BaseAction.OnCancel
BaseAction.OnFinish
BaseAction.OnDraw
BaseAction.OnDrawAfter
BaseAction.OnDrawOsnaps
BaseAction.OnGetFixPosition
BaseAction.OnShow
BaseAction.OnHide
BaseAction.OnJobLoop
BaseAction.OnJobLoopEx

Constructors

AnimationAction(vdDocument, int)

Initialize a new instance of the object.

Properties

IsPaused

Returns if the animation is playing or it is in pause mode.

Period

Returns the period in milliseconds that passed from the last redraw.

SendKeyEvents

used in order to parse or not the key pressed from the user , from the CommandLine control

By default this action returns false.

ShowOnPaint

Internally used.Always returns false for this object.

UsesDraw

Internally used.Always returns false for this object.

document

Returns the vdDocument that this object reference to.

Methods

Activated()

Overrides VectorDraw.Actions.BaseAction.Activated()

AllowDeactivateFromAction(BaseAction)

Allow or not a new action to be started while this action is started and active.

DeActivated()

Overrides VectorDraw.Actions.BaseAction.DeActivated()

End()

Overrides VectorDraw.Actions.BaseAction.End()

KeyDown(KeyEventArgs)

Fires when the user presses a keyboard key.

Pause()

Pause the animation.

Play()

Begins the animation on the screen

Show()

Overrides VectorDraw.Actions.BaseAction.Show()

Start()

Overrides VectorDraw.Actions.BaseAction.Start()

WndProc(MSG)

Fire when a Windows message is going to processes.

Developer must set the VectorDraw.WinMessages.MessageManager.MSG.Result to a value other than IntPtr.Zero in order the default window procedure not to be called.

By default the AnimationAction override this method in order to disable 3d mouse scape navigator

drawoverall(vdRender, ref bool)

Called just after the draw scene is done.

drawscene(vdRender)

Called when the timer internal is passed and a redraw is needed.