Description

Manual measurements class. The class supports creating and handling of manual measurements. Types of manual measurements. Manual measurements features can be simple (Line, Manual tag, Polygon, Circle, Polygonal line, Angle) or compound (Best-fit circle, Pitch with line, Best-fit line). Manual measurement features are saved in McMMFeature class accessible through Measurements.Data.Item() property. Every feature contains one (simple features) or more (compound features) sub-features (McMMSubFeature class). The number of sub-features is corresponded to the number of lines in the data table. SubFeatures can be accessed either from McMMFeature.SubFeature(Index) property or directly from Measurements.Data.SubFeature(Index) property. Derived measurement (Angle between lines) is created based on existing line sub-features.

Object Model






Members

Methods
Add

Adds new manual measurement element to the active image.

AddDerivedMeasurement

Add derived manual measurement based on the current selection. For example Angle Between lines can be created when 2 Line features are selected

AddFeaturesAsManualMeasurements

Adds features (McPoints, McLines, McRegions) as corresponded manual measurements: Manual Tags, Lines or Polygons

Archive

Saves manual measurements data from the active image to database.

DeleteAll

Deletes all manual measurements from the active image.

DeleteSelected

Deletes selected measurement features

Export

Exports data from the DataTable

ExportData

Exports data table to a file. The function is the same as Export.

ExportMeasurements

Export measurement features to XML file

GetViewData

Returns DataTable views in HTML format.

ImportMeasurements

Imports manual measurements from XML file

LoadSettings

Loads settings to Manual Measurements

MoveSelectedObjects

Moves selected objects

SaveSettings

Saves Measurements settings into an McSettings object.

Selection

Sets/resets selection on manual measurements.

ShowMeasurements

Shows/hides selected or all measurements.

ShowOptions

Shows Manual Measurements Options dialog.

ShowOverlay

Show/hide measurements overlay


Properties
ActiveToolRead-write property

Sets/returns active tool of Manual Measurements.

DataRead-only property

Returns reference to Data container as McMMData type.

FeatureContainersRead-only property

Returns corresponded McFeature container that holds manual measurements on the active image.

McEngineNotifySinkRead-write property
OptionsRead-only property

Returns reference to Manual Measurements Options as McMMOptions

OverlayRead-only property

Returns measurements overlay