CADability dotNET

The AnimatedView type exposes the following members.

Constructors

  NameDescription
AnimatedViewOverloaded.

Methods

  NameDescription
Added (Overrides IShowPropertyImpl..::.Added(IPropertyTreeView).)
AddHighlightedObject
Adds the provided object to the highlighted objects of this view. This is typically called during simulation/animation to draw the user attention to this object
Collision
Tests the collision of two solids. The current position of the drives is applied to both objects (typically one of the objects is static). If there is a collision, true is returned and the collisionPoint is filled with an arbitrary point where collision takes place.
GetContextMenu (Overrides IShowPropertyImpl..::.GetContextMenu()()().)
PauseAnimation
Pauses the animation. All drive positions remain unchanged, the time stops.
RemoveHighlightedObject
Remove the highlighted object that was previously added
ResumeAnimation
Resume a previously paused animation
SetSelectedObject
SetSelectedObjects
StartAnimation
Starts the realtime animation. speed provides a time factor, 1.0 is real time. The method returns immediately. There may bee zooming and scrolling during the animation. The animation may be stopped at any time and stops automatically when endTime is reached. Each discrete frame that is displayed fires the [!:AnimationFrameEvent] to enable the user of this class to provide some additional display changes or other tasks.
StopAnimation
Stop the animation. All objects return to the starting position
ZoomToModelExtent
Zooms to the extend of the model. The projection direction is not changed.
ZoomToRect

Properties

  NameDescription
BackgroundColor
Backgroundcolor to override the default background color as defined in the global settings
DraggingObjects
DriveList
List of all drives defined in this context.
EntryType
Overrides EntryType, returns GroupTitle.
(Overrides IShowPropertyImpl..::.EntryType.)
HighlightColor
Color of the highlighted objects
IsPaused
True while the anumation is paused
IsRunning
True while the animation/simulation is running.
LabelText (Overrides IShowPropertyImpl..::.LabelText.)
LabelType
Overrides LabelType
(Overrides IShowPropertyImpl..::.LabelType.)
Name
Name of this AnimatedView as shown in the controlcenter
Speed
Set or get the current speed factor (1.0 is normal)
SubEntries
Overrides SubEntries, returns the subentries in this property view.
(Overrides IShowPropertyImpl..::.SubEntries.)
SubEntriesCount
Overrides SubEntriesCount, returns the number of subentries in this property view.
(Overrides IShowPropertyImpl..::.SubEntriesCount.)
VisibleLayers
List of visible layers. Modify visible layers using Set(Layer, Boolean)

Events

  NameDescription
NextStepEvent
Event beeing raised on each frame update of the animation
PaintActiveEvent
PaintBackgroundEvent
PaintDrawingEvent
PaintSelectEvent
ScrollPositionChangedEvent

Explicit Interface Implementations

See Also