vtk_annotation
vtk_annotation_add
Usage
vtk_annotation_add objectId note_text
Description
Add the annotation 'note_text' to the object specified by 'objectId'.
Example
vtk_annotation_add 12345 "This is an annotation"
Returns
Nothing on success. An error message on failure.
vtk_annotation_count
Usage
vtk_annotation_count objectId
Description
Get the number of annotations attached to the object with id equal to 'objectId'.
Returns
The number of annotations.
vtk_annotation_delete
Usage
vtk_annotation_delete annotationId
Description
Delete the annotation with ID equal to 'annotationId'.
To retrieve the ID of an annotation you can use 'vtk_annotation_get'.
Returns
Nothing on success. An error message on failure.
vtk_annotation_get
Usage
vtk_annotation_get objectId noteIndex
Description
Returns: the noteIndexth annotation associated to the given object.
If either the object or the note index don't exist, then an error is returned.
A list of four (4) elements is returned.
* annotationId
* timestamp
* signature
* content
Returns
nodeId, timestamp, signature, content
vtk_annotation_modify
Usage
vtk_annotation_modify annotationId noteText
Description
Set the contents of the annotation with Id equal to 'annotationID' to the string given by 'noteText'.
To retrieve the ID of an annotation, see the method vtk_annotation_get.
Returns
Nothing