_InsertArrow, _InsertText, AddLabelToVectorObjects, BringVectorObjectsToFront, CopyVectorObjectsToClipboard, DeselectVectorObjects, EnableVectorObjectsTimeChange, ExportSelectedLineCoordinates, InsertArrow, InsertArrowEx, InsertText, InsertTextEx, LockVectorObjects, PasteVectorObjectsFromClipboard, RemoveSelectedVectorObjects, RemoveVectorObjects, SelectVectorObjects, SendVectorObjectsToBack, SetVectorObjectFramesMethod, SetVectorObjectsCurrentMP, SetVectorObjectsInterpolationMethod, SetVectorObjectsTimeVisEnd, SetVectorObjectsTimeVisStart, ShowVectorObjectProperties, ShowVectorObjectVisibilityProperties, ShowVectorObjectVisibilityPropertiesEx, ToggleAnnotations, VectorObjectContextCommand
Description
AddLabelToVectorObjects();
Adds label to all selected measurement vector objects. It corresponds to the context menu command Append Label, when you right click on the measurement object without the label.
This function runs the Bring to Front command.
Description
BringVectorObjectsToFront();
This function changes the Z order of all vector objects so the selected ones are brought to front.
This function runs the Copy command.
Description
CopyVectorObjectsToClipboard();
This function copies all selected vector objects to the clipboard.
This function runs the Deselect command.
Description
DeselectVectorObjects();
This function removes the selection from all the vector objects (arrows, text notes, interactive measurement results) of the current document.
Description
EnableVectorObjectsTimeChange(
int Frame
);
This function enables change of the visibility of a vector object in time.
Description
ExportSelectedLineCoordinates(
char *Filename
);
Exports coordinates of all points of the selected polyline to a text file. It works with any polyline within the annotation layer, but it is meant to be used with the Kymograph line of the tracking module.
Interactive command to this function: Edit > Insert Arrow
Description
InsertArrow( intColor
, intOrientation
, intLength
, intPosX
, intPosY
);
This function pastes arrow into a current color or gray image. An interactive equivalent is the _InsertArrow function.
All parameters describing the arrow are filled, only PosX and PosY parameters should be specified interactively. When calling this function, hold down primary mouse button - arrow icon appears.
Parameters
Description
InsertArrowEx( doubleObjectPosX
, doubleObjectPosY
, doubleLength
, doubleRotation
, doubleWidth
, intColor
, intBorder
, intTipShape
, intTipSize
, intTipAngle
);
Pastes vector arrow into the current image.
Parameters
Color
The RGB color as a 32bit integer. Use the RGB function to get the value.
Note
Unlike the InsertArrow function, this function does not draw to the color image but creates a new object instead.
Interactive command to this function: Edit > Insert Text
Description
InsertText( char *ImText
, intPosX
, intPosY
, intTextRed
, intTextGreen
, intTextBlue
, intFont
, intFHeight
, intFBold
, intFStrike
, intFItalics
, intFUnderline
, intTransparent
);
This function pastes text into a current color or gray image.
PosX and PosY parameters specify the coordinates of the upper-left corner of the drawing rectangle. -1 value places the text to the top of the image centered horizontally whereas the -2 value places the text to the bottom of the image, horizontally centered.
Parameters
PosY
Y coordinate of upper-left corner of drawing rectangle.
Places text to the top of the image, centered horizontally. | |
Places text to the bottom of the image, centered horizontally. | |
All parameters describing text and font are filled; only PosX and PosY the position of the text should be specified interactively. When calling this function, text-rectangle cursor with given text appears. |
Description
InsertTextEx( doubleObjectPosX
, doubleObjectPosY
, doubleObjectWidth
, doubleObjectHeight
, char *ObjectText
, char *ObjectFont
, doubleFontSize
, intTextStyle
, intTextAlign
, intVerticalAlign
, dwordTextColor
, dwordFillColor
, dwordBorderColor
, doubleLineWidth
, intWordWrap
);
Inserts a vector text into the current image.
Parameters
This function runs the Lock command.
Description
LockVectorObjects(
int VectorLock
);
This function locks/unlocks the currently selected vector objects. Locking the objects prevents the user from moving them by mistake.
This function runs the Paste command.
Description
PasteVectorObjectsFromClipboard();
This function inserts all vector objects which are currently in the application clipboard into the current image. Some vector objects should have been copied to the clipboard previously.
This function runs the Remove command.
Description
RemoveSelectedVectorObjects();
This function deletes the currently selected vector object(s) (arrows, text notes, interactive measurement results) from the image.
This function runs the Clear Objects command.
Description
RemoveVectorObjects(
int ObjectType
);
This function removes all vector objects of one type.
This function runs the Select Vector Objects command.
Description
SelectVectorObjects(
int ObjectType
);
This function selects all vector objects of one type.
This function runs the Send to Back command.
Description
SendVectorObjectsToBack();
This function changes the Z order of all vector objects so the selected ones are sent to back.
Description
SetVectorObjectFramesMethod(
int Method
);
Defines the behaviour of report objects over time and multipoints.
Method parameter sets the frame method (0 = Global, 1 = Changes over Time, 4 = Changes over each Multi Point, 5 = Propagate to each Multi Point).
Description
SetVectorObjectsCurrentMP(
int VectorLock
);
This function sets the visibility of all currently selected annotations within a multi-point ND2 image. The selected annotations can be global for all XY positions or locked just to the current position.
Description
SetVectorObjectsInterpolationMethod(
int Method
);
Defines the frame interpolation method of report objects which change over time.
Method parameter sets the frame interpolation method (0 = None, 1 = Linear, 2 = Bezier Cubic).
Description
SetVectorObjectsTimeVisEnd(
int Frame
);
This function sets the visibility of all currently selected annotations within a time-ND2 image-set. The specified frame is the frame where the annotation(s) will disappear.
Description
SetVectorObjectsTimeVisStart(
int Frame
);
This function sets visibility of all currently selected(!) annotations within a time-ND2 image-set. The specified frame is the frame where the annotation(s) will appear.
This function runs the Properties command.
Description
ShowVectorObjectProperties();
This function displays the vector object properties dialog window of the currently selected object(s). When more objects are selected at once, only the shared properties are displayed.
Description
ShowVectorObjectVisibilityProperties(
int SelectedRoiId
);
Opens the Object Visibility dialog window used for setting the visibility of the defined report object in time.
This function runs the Object Visibility command.
Description
ShowVectorObjectVisibilityPropertiesEx(
int SelectedRoiId
);
Opens the Visibility Settings dialog window used for setting the visibility of the defined report object in time.
This function runs the View > Layers > Annotations command.
Description
ToggleAnnotations();
This function switches the annotation layer from ON to OFF state and vice versa.
This function runs the Edit Points command.
Description
VectorObjectContextCommand( intVecObjId
, char *VecObjCommand
, doubleX
, doubleY
);
This function is reserved for internal purposes, and it has no obvious functionality.
This function runs the Edit > Insert Arrow command.
Description
_InsertArrow();
This function displays the Insert Arrow dialog box.
See Also
InsertArrow
This function runs the Edit > Insert Text command.
Description
_InsertText();
This function opens the Insert Text dialog window.
See Also
InsertText