CADability dotNET

The AnimatedView type exposes the following members.

Constructors

  NameDescription
Protected methodAnimatedView()()()()
Protected methodAnimatedView(SerializationInfo, StreamingContext)
Public methodAnimatedView(Project, Model, IFrame)
Creates a new AnimatedView object. In oder to display this view on the screen you need to add this view to a SingleDocumentFrame and set it as the ActiveView.

Methods

  NameDescription
Public methodAdded (Overrides IShowPropertyImpl..::..Added(IPropertyTreeView).)
Public methodAddHighlightedObject
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
Public methodCollision
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.
Public methodGetContextMenu (Overrides IShowPropertyImpl..::..GetContextMenu()()()().)
Public methodGetSelectedObjects
Public methodPauseAnimation
Pauses the animation. All drive positions remain unchanged, the time stops.
Public methodRemoveHighlightedObject
Remove the highlighted object that was previously added
Public methodResumeAnimation
Resume a previously paused animation
Public methodSetSelectedObject
Public methodSetSelectedObjects
Public methodStartAnimation
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 NextStepEvent to enable the user of this class to provide some additional display changes or other tasks.
Public methodStopAnimation
Stop the animation. All objects return to the starting position
Public methodZoomToModelExtent
Zooms to the extend of the model. The projection direction is not changed.
Public methodZoomToRect

Properties

  NameDescription
Public propertyBackgroundColor
Backgroundcolor to override the default background color as defined in the global settings
Public propertyDraggingObjects
Public propertyDriveList
List of all drives defined in this context.
Public propertyEntryType
Overrides EntryType, returns GroupTitle.
(Overrides IShowPropertyImpl..::..EntryType.)
Public propertyFixPoint
Sets or gets the fixpoint for interactive view direction changes
Public propertyHighlightColor
Color of the highlighted objects
Public propertyIsPaused
True while the anumation is paused
Public propertyIsRunning
True while the animation/simulation is running.
Public propertyLabelText (Overrides IShowPropertyImpl..::..LabelText.)
Public propertyLabelType
Overrides LabelType
(Overrides IShowPropertyImpl..::..LabelType.)
Public propertyName
Name of this AnimatedView as shown in the controlcenter
Public propertySpeed
Set or get the current speed factor (1.0 is normal)
Public propertySubEntries
Overrides SubEntries, returns the subentries in this property view.
(Overrides IShowPropertyImpl..::..SubEntries.)
Public propertySubEntriesCount
Overrides SubEntriesCount, returns the number of subentries in this property view.
(Overrides IShowPropertyImpl..::..SubEntriesCount.)
Public propertyVisibleLayers
List of visible layers. Modify visible layers using Set(Layer, Boolean)

Events

  NameDescription
Public eventGetTimeEvent
Event beeing raised on each frame update of the animation
Public eventMouseDoubleClick
Provide an event handler for the mouse double click message here if you want to manipulate the mouse input to this ModelView
Public eventMouseDown
Provide an event handler for the mouse down message here if you want to manipulate the mouse input to this ModelView
Public eventMouseMove
Provide an event handler for the mouse move message here if you want to manipulate the mouse input to this ModelView
Public eventMouseUp
Provide an event handler for the mouse up message here if you want to manipulate the mouse input to this ModelView
Public eventMouseWheel
Provide an event handler for the mouse wheel message here if you want to manipulate the mouse input to this ModelView
Public eventNextStepEvent
Event beeing raised on each frame update of the animation
Public eventPaintActiveEvent
Public eventPaintBackgroundEvent
Public eventPaintDrawingEvent
Public eventPaintSelectEvent
Public eventScrollPositionChangedEvent

Explicit Interface Implementations

See Also