CMeasurePoints Class Description


The CMeasurePoints class draws point markers on a displayed image. This class works with the CImageView class and opens a Point Measurement toolbar in the image window. The marker properties and associated measurements are listed in a docking pane or measurement window, as specified. For further information about point measurements and the toolbar commandsn, see the Mira User's Guide under the main topic Measuring Images.

Usage

Construction

Object = new_measurepoints()

Object = CMeasurePoints:new()

Destruction

Object:delete()

Creation - Non-class Functions

This function is normally used to create a new CMeasurePoints object as an alternative to the class-based new method.

new_measurepoints

Creates a new instance of the CMeasurePoints class.

Construction and Destruction - Class Methods

new

Creates a new instance of the CMeasurePoints class.

delete

Deletes the instance of the CMeasurePoints object.

Operations

Add

Adds a point marker to the collection and draws it on the image.

Attach

Attaches a CImageView object to the CMeasurePoints object. Use this if the CMeasurePoints was created without passing a CImageView object to the constructor.

SetParams

Sets point marking properties using members of the PointParams table.

Related Topics

Contents, Script Classes, CImageView, CImage class


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics, Inc. All Rights Reserved.