Controls user navigation on the canvas.
More...
List of all members.
Properties |
bool | Initialized [get] |
| Returns if this Canvasobject-Controller is initialized with images.
|
Detailed Description
Controls user navigation on the canvas.
Constructor & Destructor Documentation
VisWpf.UI.CanvasObjectController.CanvasObjectController |
( |
Canvas |
navigatorCanvas | ) |
|
Creates a new CanvasObjectController object. Binds default events.
- Parameters:
-
navigatorCanvas | The canvas to control. |
Member Function Documentation
void VisWpf.UI.CanvasObjectController.ChangePositionScaleAndRelayout |
( |
double |
mouseWheelDelta | ) |
|
Changes the scaling of the image position vectors. This is based on the rotation of the mouse-wheel.
- Parameters:
-
mouseWheelDelta | The amount to scale the image positions by |
void VisWpf.UI.CanvasObjectController.CreateNavigatorImages |
( |
IList< ImageInfoContainer > |
imageInfos, |
|
|
List< Vector > |
imagePositions |
|
) |
| |
Creates the Images for the navigator canvas.
- Parameters:
-
imageInfos | The list of imageinfos from which the images are created |
imagePositions | The initial positions of the images |
void VisWpf.UI.CanvasObjectController.navigatorImageClicked |
( |
object |
sender, |
|
|
MouseButtonEventArgs |
ea |
|
) |
| |
Occurs, when the user clicks a image in the navigator.
void VisWpf.UI.CanvasObjectController.OffsetImages |
( |
double |
xAmount, |
|
|
double |
yAmount |
|
) |
| |
Offsets the images by a given amount.
- Parameters:
-
xAmount | The x amount to offset the images by |
yAmount | The y amount to offset the images by |
void VisWpf.UI.CanvasObjectController.PositionImages |
( |
| ) |
|
Positions the images on the canvas.
void VisWpf.UI.CanvasObjectController.RedrawCanvas |
( |
EMDQueryResult |
qResult | ) |
|
Thread safe method for redrawing the canvas.
- Parameters:
-
void VisWpf.UI.CanvasObjectController.ResetArrows |
( |
| ) |
|
Thread safe method for resetArrowsInvoke.
void VisWpf.UI.CanvasObjectController.ResetCanvas |
( |
| ) |
|
Resets the canvas and displays all images.
void VisWpf.UI.CanvasObjectController.ResetOffset |
( |
| ) |
|
Reset the offset of all images to zero.
void VisWpf.UI.CanvasObjectController.SetSliderValue |
( |
double |
value | ) |
|
Thread safe mehtod for setting the canvas Sliders distance value.
- Parameters:
-
value | The distance to set on the Slider |
Property Documentation
bool VisWpf.UI.CanvasObjectController.Initialized |
|
get |
Returns if this Canvasobject-Controller is initialized with images.
Event Documentation
EventHandler<QueryEventArgs> VisWpf.UI.CanvasObjectController.QueryEvent |
Event occurs when a new navigator query is started.
The documentation for this class was generated from the following file:
- D:/mydata/Dokumente/Visual Studio 2010/Projects/VisWpf/VisWpf/UI/CanvasObjectController.cs