mcEditEdgesToolCommandFlags Enumeration
|
|
Legal values for the McEditEdgesTool's
IMcGraphToolServer.CommandFlags property.
Namespace:
MediaCy.IQL.Display.Overlays
Assembly:
MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
SyntaxPublic Enumeration mcEditEdgesToolCommandFlags
Members
| Member name | Value | Description |
---|
| mceecfSetTargetMcProfileEdges | 1 | Action flag: CommandData iscast to an McProfileEdges instance and used as the McProfileEdges upon which
edges are edited. See the mceecfGetResultMcProfileEdges flag for how the
default is determined. Once the CommandData is accessed, it is cleared. |
| mceecfGetTargetMcProfileEdges | 2 | Action flag: Get, intoCommandData, the McProfileEdges instance that is to be used as the target
McProfileEdges upon which edges are to be edited. Once the CommandData is
gotten to retrieve the result, it is cleared.
By default, the target McProfileEdges is taken from a ancestor McLines or
McRegions of the McGraphOverlay on which the McPickSpotsTool has
been invoked (via a call to McGraphOverlay.SelectTool). If there is an
ancestor McLines or McRegions, then the target McProfileEdges is initially
set to McLines.Profiles.ProfileEdges or McRegions.Profiles.ProfileEdges,
respectively. If there is no ancestor McLines or McRegions, then there is no
default McProfileEdges, and editing cannot occur until the target has been
set via the mceecfSetTargetMcProfileEdges flag. |
| mceecfSetCanMissByPixels | 16 | Action flag: CommandDatais cast to a double value and used as the distance, in screeb pixels, by
which a click to add an edge can be away from the line and by which a click
to remove an edge can be away from the closest existing edge. A lower limit
of 0 pixels is silently enforced. |
| mceecfGetCanMissByPixels | 16 | Action flag: Get, intoCommandData, a double value that is the distance, in screen pixels, by which
a click to add an edge can be away from the line and by which a click to
remove an edge can be away from the closest existing edge. By default, this
value is 5 pixels; it can be set with the mceecfSetCanMissByPixels flag. |
| mceecfResetEditReport | 4096 | Action flag: The editreporting accessible via the mceecfGetNextEditReportElement is reset to the
beginning of the report sequence. The purpose of the edit report is to
allow reconstruction of the sequence of added and removed edges for
recording purposes. This recording must be done after the tool is shut
down, because if the tool is aborted with the Escape key, no edits will be
retained. |
| mceecfGetNextEditReportElement | 8192 | Action flag: The nextedit reporting element is placed into CommandData. Once the CommandData is
gotten to retrieve the result, it is cleared.
Each editing action (an edge addition or an edge removal) is represented by
4 "elements". The first element is a Long value of 0, indicating that there
are no more elements, 1 indicating an edge addition or 2 indication an edge
removal. The second element is the McProfileEdges.AddEdges or
McProfileEdges.RemoveEdges Distance arguement. The third element is the
Selector argument. The fourth, last element is the Long
McProfileEdges.AddEdges Attributes argument for added edges, and it is the
Double McProfileEdges.RemoveEdges CanMissByPixels argument for removed
edges. |
| mceecfAbortEditing | 16384 | Action flag and information flag:Abort editing and shut down the McEditEdgesTool as if the Escape key
were pressed. At the time that the ToolDeselected notify is sent, this bit
will be on in the CommandFlags property. This flag must be assigned alone. |
| mceecfEndEditing | 32768 | Action flag and information flag:End editing and shut down the McEditEdgesTool as if the Enter key
were pressed (or left mouse button double-clicked). At the time that the
ToolDeselected notify is sent, this bit will be on in the CommandFlags
property. This flag must be assigned alone. |
See Also