_Graticules3DProperties, _GraticulesProperties, _LoadGraticuleMask, _SaveGraticuleMask, AddBinaryToGraticuleMask, CreateSpecialGraticuleMask, DefaultGridPosition, DefaultGridPositionEx, DefineGraticuleMask, Get_GraticuleOptions, GetGraticuleXPosition, GetGraticuleYPosition, Graticules3DProperties, GraticulesProperties, LoadGraticuleMask, MoveGraticuleToCenter, SaveGraticuleMask, SetGraticuleMaskOpacity, SetGraticulePosition, ShowGraticule, ToggleGraticule
This function runs the Add Binary to Graticule Mask command.
Description
AddBinaryToGraticuleMask();
This function appends the selected (visible) binary layers to the original contents of the Graticule mask.
Description
CreateSpecialGraticuleMask( charMaskName
, intColor
, doubleAngleRot
);
This function draws a special low-resolution graticule used for asbestos measurement. The “MeasureAsbestos” mask name is the only graticule supported by this function.
Parameters
Color
The RGB color as a 32bit integer. Use the RGB function to get the value.
The Color parameter accepts also two predefined values: (0 = red, 1 = black).
This function runs the Move Graticules to Center command.
Description
DefaultGridPosition();
This function restores the default position of the current grid.
Note
Default position of the grids origin is located in the center of the screen.
See Also
ShowGraticule, ShowScale
Description
DefaultGridPositionEx(
int GridPosType
);
Former function restoring the default position of the current grid.
Interactive command to this function: Binary > Mask > Define Mask by Threshold
Description
DefineGraticuleMask();
Defines the binary mask image for graticules. The function uses the current binary image as data for the graticules mask.
See Also
BinaryFromGraticuleMask
Description
int GetGraticuleXPosition();
Returns the X position of the current graticule center.
See Also
GetGraticuleYPosition, SetGraticulePosition
Description
int GetGraticuleYPosition();
Returns the Y position of the current graticule center.
See Also
GetGraticuleXPosition, SetGraticulePosition
Description
Get_GraticuleOptions( int *LpGridType
, double *LpGridDensity
, int *LpGridColor
);
This function gets the current graticule's parameters.
Parameters
Description
Graticules3DProperties( intGrid3DType
, intGrid3DColor1
, intGrid3DColor2
, intGrid3DColor3
, doubleGridDensity
, intAutoSize
);
This function sets the grid appearance.
Parameters
Grid3DType
Grid type
XY plane grid on bottom | |
YZ plane grid on bottom | |
XY+YZ plane grid on bottom | |
XZ plane grid on bottom | |
XY+XZ plane grid on bottom | |
YZ+XZ plane grid on bottom | |
XY+YZ+XZ plane grid on bottom | |
Bounding box on bottom | |
Halved bounding box on bottom | |
XY plane grid on top | |
YZ plane grid on top | |
XY+YZ plane grid on top | |
XZ plane grid on top | |
XY+XZ plane grid on top | |
YZ+XZ plane grid on top | |
XY+YZ+XZ plane grid on top | |
Bounding box on top | |
Halved bounding box on top |
Grid3DColor1
The main grid color as a 32bit signed integer (hexadecimal form: 0xffRRGGBB) or 0 for transparent.
Grid3DColor2
The main grid color as a 32bit signed integer (hexadecimal form: 0xffRRGGBB) or 0 for transparent.
Grid3DColor3
The main grid color as a 32bit signed integer (hexadecimal form: 0xffRRGGBB) or 0 for transparent.
This function runs the Binary > Mask > Mask Properties command.
Interactive command to this function: View > Layers Properties > Graticules Properties
Description
GraticulesProperties( intGridType
, intGridColor
, intGridColorSecond
, doubleLineWidth
, doubleGridDensity
, intAutoSize
);
This function sets the type, color, line width, and grid density of the graticule.
Parameters
Interactive command to this function: Binary > Mask > Load Mask
Description
LoadGraticuleMask( char *Filename
, intFitGraticule
);
This function loads the selected image to the graticules plane.
Parameters
See Also
SaveGraticuleMask
Description
MoveGraticuleToCenter();
This function moves the currently displayed graticule to the center of the document as if the graticule was switched on for the first time.
Interactive command to this function: Binary > Mask > Save Mask
Description
SaveGraticuleMask(
char *Filepath
);
This function saves the graticules image to the specified image file.
Parameters
See Also
LoadGraticuleMask
This function runs the Binary > Mask > Mask Transparency command.
Description
SetGraticuleMaskOpacity(
double GridOpacity
);
This function sets the opacity of the graticule mask in percent.
Description
SetGraticulePosition( intGraticulesXPos
, intGraticulesYPos
);
Moves the graticule to the new position inside the current image. The position is treated as the center for most graticule types, but as a top-left corner for the binary mask.
Parameters
See Also
GetGraticuleXPosition, GetGraticuleYPosition
Description
ShowGraticule(
int GraticulesVisible
);
The function shows or hides graticules.
Parameters
This function runs the View > Layers > Graticules command.
Description
ToggleGraticule();
This function displays/hides the graticule layer.
Description
_Graticules3DProperties();
This function displays the 3D Graticules properties window which sets all the graticule appearance properties. It works with the Compatibility engine set in the 3D Renderer Settings.
This function runs the View > Layers Properties > Graticules Properties command.
Description
_GraticulesProperties();
This function displays the Graticules Properties dialog window.
This function runs the Binary > Mask > Load Mask command.
Description
_LoadGraticuleMask();
This function displays a dialog window which selects a file with the graticule, previously exported via the _SaveGraticuleMask function. TIFF, BMP, and PNG images can be imported.
See Also
_SaveGraticuleMask
This function runs the Binary > Mask > Save Mask command.
Description
_SaveGraticuleMask();
The function saves the current graticule mask. It shows a Save As dialog box.
See Also
_LoadGraticuleMask