The VisualToolBaseTResult generic type exposes the following members.
Methods
Name | Description | |
---|---|---|
DestroyAndCreatePropertyChanged |
Method to be called whenever a property value changed that
necessitates a destroy + create in order to reflect the property
change on the actual display.
(Inherited from OverlayBase.) | |
Equals | (Inherited from Object.) | |
Execute |
Execute the tool with its current settings. Execution will raise the
ResultUpdated event, unless
OnResultUpdated(VisualToolEventArgs) has been overridden and modified to not
do this. In case you override this method, be aware that this is the
method executed every time the VisualToolBase's Result
needs to be updated - for example when the tool has been moved.
In case an error occurs during calculation, the
ExecutionError event will be raised.
Execution will happen automatically every time something happens to
the VisualToolBase object. If something happens to the image (new
image content or new image) execution must be triggered by calling
this Execute method.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnClick |
Overrideable version of the OnClick event.
| |
OnConnectToDisplay |
Establish connection with a new display.
(Inherited from OverlayBase.) | |
OnDisconnectFromDisplay |
About to sever the connection between this object and a display...
(Overrides OverlayBaseOnDisconnectFromDisplay.) | |
OnDrag |
Overrideable version of the OnDrag event.
| |
OnDragged |
Overrideable version of the OnDragged event.
| |
OnExecute |
Override this function to provide the tool's implementation here. If
something goes wrong during execution, simply throw an exception in
the implementation of this function. This exception will be caught and
passed on by means of the ExecutionError event.
| |
OnExecutionError |
Routing function that invokes the ExecutionError event.
Override this function to react directly to this event in a child
class (but don't forget to call base.OnExecutionError | |
OnPaint |
Inheritors may override this method to change behavior.
(Inherited from UserOverlay.) | |
OnResultUpdated |
Routing function that invokes the ResultUpdated event.
Override this function to react directly to this even in a child class
(but don't forget to call base.OnResultUpdated | |
Overlay_ConnectedToDisplay |
Established a connection with a new display.
(Overrides UserOverlayOverlay_ConnectedToDisplay.) | |
Overlay_DisconnectedFromDisplay |
Remove a label from its display
(Inherited from UserOverlay.) | |
PaintDragHandle(Point, Color, UnmanagedGraphics) |
Member version of the PaintDragHandle method that defaults to the
currently set drag handle size and style.
| |
PaintDragHandle(Point, Color, Int32, HandleStyle, UnmanagedGraphics) |
Paint the drag handle of a visual tool object.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also