CADability dotNET
The AnimatedView type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AnimatedView()()()() | ||
AnimatedView(SerializationInfo, StreamingContext) | ||
AnimatedView(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
Name | Description | |
---|---|---|
Added |
Overrides Added(IPropertyTreeView) (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 GetContextMenu()()()() (Overrides IShowPropertyImpl..::..GetContextMenu()()()().) | |
GetSelectedObjects | ||
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
NextStepEvent 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
Name | Description | |
---|---|---|
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.) | |
FixPoint |
Sets or gets the fixpoint for interactive view direction changes
| |
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
Name | Description | |
---|---|---|
GetTimeEvent |
Event beeing raised on each frame update of the animation
| |
MouseDoubleClick |
Provide an event handler for the mouse double click message here if you want to manipulate the mouse input to this ModelView
| |
MouseDown |
Provide an event handler for the mouse down message here if you want to manipulate the mouse input to this ModelView
| |
MouseMove |
Provide an event handler for the mouse move message here if you want to manipulate the mouse input to this ModelView
| |
MouseUp |
Provide an event handler for the mouse up message here if you want to manipulate the mouse input to this ModelView
| |
MouseWheel |
Provide an event handler for the mouse wheel message here if you want to manipulate the mouse input to this ModelView
| |
NextStepEvent |
Event beeing raised on each frame update of the animation
| |
PaintActiveEvent | ||
PaintBackgroundEvent | ||
PaintDrawingEvent | ||
PaintSelectEvent | ||
ScrollPositionChangedEvent |