| Name | Type | Description |
|---|---|---|
viewer |
DitapViewer | 사용할 Ditap Viewer 인스턴스. The DitapViewer instance to use. |
analysisObjArray |
Array.<object> | 표시 할 분석 도구 배열. Array containing analysis tools to display. |
Example:
// 1. DitapViewer 생성 시 AnalysisToolPicker 생성 가능.
// analysisTools 사용할 측정 도구 작성. 작성된 분석 도구들을 담은 측정 도구 모음 위젯 생성.
// 활성화 - 전체 활성화(analysisTools: true) 또는 부분 활성화(활성화 시킬 기능만 true)
// 비활성화 - false 또는 전달 안함
const viewer = new Ditap.DitapViewer("container", {
analysisTools: {
visibility: true,
clipping: true,
split: true,
}
});
// 2. 단독으로 선언하여 활성화
const viewer = new Ditap.DitapViewer("ditapContainer");
// 사용할 분석 도구 모음 초기화
const analysisObjArray = [
new Ditap.InteractionVisibility(viewer),
new Ditap.InteractionClipping(viewer),
new Ditap.InteractionSplit(viewer),
];
// 편집 도구 모음 생성
const analysisToolPicker = new Ditap.AnalysisToolPicker(viewer, analysisObjArray);
Methods
분석 도구 모음 비활성화.
Deactivate the collection of analysis tools.
인스턴스 제거.
Destroys the instance.
분석 도구 모음 활성화.
Activate the collection of analysis tools.
이벤트 제거.
Remove the event registered on the window object.
Remove the event registered on the window object.
