Gets all the annotation ids contained in this view.
Annotations in this view range from [getFirstAnnotationId, ..., getAnnotationsCount - 1].
true if the call was successful.
Gets the default matrix of the annotation view.
This is the matrix returned by AnnotationResultInterface.getGroupMatrix. You may choose to import the annotation view with this matrix or with a custom matrix.
The default matrix of the annotation view.
Gets the annotation id of the first annotation contained in this view.
Annotations in this view range from [getFirstAnnotationId, ..., getAnnotationsCount - 1].
The annotation id of the first annotation in this annotation view.
An AnnotationViewInterface is defined as a plane.
The plane normal is the normal to the plane of this AnnotationViewInterface (unit length).
If pPlaneNormal is omitted, then a new Vector3 is allocated.
NB : getPlaneNormal = cross(getPlaneXAxis, getPlaneYAxis).
Optional pPlaneNormal: Vector3pPlaneNormal.
Gets the origin of the annotation view in the annotation frame.
If pPlaneOrigin is omitted, then a new Vector3 is allocated.
Optional pPlaneOrigin: Vector3pPlaneOrigin.
An AnnotationViewInterface is defined as a plane.
The pPlaneXAxis is the directional unit vector in the annotation view to the right of the annotation view. This is usually the direction of the text contained inside any annotation of this AnnotationViewInterface.
If pPlaneXAxis is omitted, then a new Vector3 is allocated.
NB : getPlaneXAxis = cross(getPlaneYAxis, getPlaneNormal).
Optional pPlaneXAxis: Vector3pPlaneXAxis.
An AnnotationViewInterface is defined as a plane.
The pPlaneYAxis is the directional unit vector in the annotation view to the up of the annotation view. This is usually the direction of the height of the text contained inside any annotation of this AnnotationViewInterface.
If pPlaneYAxis is omitted, then a new Vector3 is allocated.
NB : pPlaneYAxis = cross(getPlaneNormal, getPlaneXAxis).
Optional pPlaneYAxis: Vector3pPlaneYAxis.
Gets a deep copy of the internal data of the AnnotationViewInterface.
Please refer to JSON.stringify.
Each annotation may only be included once in the AnnotationRendererInterface. You may create clones of an annotation view with DataSessionInterface.createAnnotationView.
Optional pKey: anyThe internal AnnotationViewInterface data.
The AnnotationViewInterface interface contains the annotations data of an annotation view.
Please see Annotations for more explanations about annotations.
The AnnotationViewInterface features a 3D plane (X axis, Y Axis, Normal, Origin) from which 2D data (texts, 2D shapes, images) are positioned. The AnnotationViewInterface represents a set of annotations (Functional Tolerancing and Annotations, Product Manufacturing Information, Measures, etc ...) placed in a 3D plane. AnnotationViewInterfaces should be included in the AnnotationRendererInterface.
The AnnotationViewInterface is retrieved from an AnnotationResultInterface that was fetched from an AnnotationGetterInterface.
Below is some code to retrieve an AnnotationViewInterface from an id card request.
or with async calls :
Once retrieved, an AnnotationViewInterface may be included in an AnnotationRendererInterface to be displayed.
Or asynchronously :
Please make sure the destination browser supports promises before using async calls.
See