import Annotation, { DrawOption } from './Annotation'; import Viewer from '../viewer/Viewer'; import ViewState from '../ViewState'; /** * Draws a 3D point annotation. */ export default class Point implements Annotation { /** * Color of the marker circle. */ color: string; /** * Radius of the marker circle. */ radius: number; /** * The X coordinate of the point. */ x: number; /** * The Y coordinate of the point. */ y: number; /** * The Z coordinate of the point. */ z: number; /** * The marker cirlce will be drawn when the distance between the point * and the section is smaller than this value. */ distanceThreshold: number; dimmedColor: string; distanceDimmedThreshold: number; draw(viewer: Viewer, viewState: ViewState, option: DrawOption): void; }