Non-class Creator Functions


The functions below construct class objects outside of the class. Each class contains methods that do the same thing, but require calling the class new method beforehand. For example, new_image constructs a CImage object in the same way as the class method CImage:new(). The first group of Non-class Creator Functions create a new class object. The second group of Non-class Attachment Functions attach to data already displayed on the Mira desktop and returns a class object attached to the data.

Non-class Creator Functions

Each of these functions returns a new instance of its class object without using the class new method.

new_apphot

Creates a CApphot class object.

new_array

Creates a CArray class object.

new_centroid

Creates a CCentroid class object.

new_colorref

Creates a CApphot class object.

new_file

Creates a CFile class object.

new_filedlg

Creates a CFileDlg class object.

new_filelist

Creates a CFileList class object.

new_findfiles

Creates a CFindFiles class object.

new_fwhm

Creates a CFwhm class object.

new_grid

Creates a CGrid class object.

new_griddlg

Creates a CGridDlg class object within the CGrid class.

new_griddlgmodal

Creates a CGridDlgModal object within the CGrid class.

new_gridview

Creates a CGridView class object.

new_histogram

Creates a CHistogram class object.

new_image

Creates a CImage class object.

new_imageset

Creates a CImageSet class object.

new_imageview

Creates a CImageView class object.

new_imcombine

Creates a CImCombine class object.

new_imextract

Creates a CImExtract class object.

new_labels

Creates a CLabels class object.

new_lsqfit

Creates a CLsqFIt class object.

new_matrix

Creates a CMatrix class object.

new_measureangles

Creates a CMeasureAngles class object.

new_measurelines

Creates a CMeasureLines class object.

new_measurepoints

Creates a CMeasurePoints class object.

new_measureregions

Creates a CMeasureRegions class object.

new_plot

Creates a CPlot class object.

new_plotview

Creates a CPlotView class object.

new_point

Creates a CPoint class object.

new_rect

Creates a CRect class object.

new_registry

Creates a CRegistry class object.

new_set

Creates a CSet class object.

new_splitpath

Creates a CSplitpath class object.

new_stats

Creates a CStats class object.

new_strtok

Creates a CStrTok class object.

new_textview

Creates a CTextView class object.

new_valueset

Creates a CValueSet class object.

Non-class Attachment Functions

Functions in this group create a new instance of a class object by attaching to the data displayed on the Mira desktop.

 

attach_gridview

Attaches to the grid control in a Report Window and returns a new CGridView class object.

attachlist_gridview

Attaches to the Report Window selected from a list of all open Report Windows and returns a new CGridView class object.

attachlist_image

Attaches to an image selected from a list of all images in all open Image Windows and returns a new CImage class object.

attach_imageview

Attaches to an Image Window and returns a new CImageView class object.

attachlist_imageview

Attaches to an Image Window selected from a list of all open Image Windows and returns a new CImageView class object.

attach_plotview

Attaches to a Plot Window and returns a new CPlotView class object.

attachlist_plotview

Attaches to a Plot Window selected from a list of all open Plot Windows and returns a new CPlotView class object.

attach_textview

Attaches to a a Text Window and returns a new CTextView class object.

attachlist_textview

Attaches to a Text Window selected from a list of all open Text Windows and returns a new CTextView class object.

Related Topics

Contents

Script Classes


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