Name | Type | Default | Description |
---|---|---|---|
analysisClipping |
AnalysisClipping | 절단면 분석 대상 모델. The model targeted for clipping plane analysis. | |
ditapPaneManager |
DitapPaneManager | ||
options |
object | ||
options |
function |
closeCallback
|
optional 인스턴스 종료 콜백 |
Example:
const viewer = new Ditap.DitapViewer("ditapContainer");
const destination = Ditap.Cartesian3.fromDegrees(
126.978275264,
37.566642192,
400
);
// 카메라 이동
viewer.scene.camera.flyTo({
destination: destination,
});
const modelMatrix = Ditap.Transforms.eastNorthUpToFixedFrame(
Ditap.Cartesian3.fromDegrees(126.9782349646649, 37.56671536989183, 100)
);
const model = Ditap.Model.fromGltf({
id: "model_01",
url: "../../SampleData/models/GroundVehicle/GroundVehicle.glb",
modelMatrix: modelMatrix,
scale: 3,
});
viewer.scene.primitives.add(model);
// 1. AnalysisClipping 인스턴스 생성
const analysisClipping = new AnalysisClipping(viewer, model);
// 2. AnalysisClipping 인스턴스 할당
const popupAnalysisClipping = new Ditap.PopupAnalysisClipping(analysisClipping, viewer.ditapPaneManager);
popupAnalysisClipping.open();
Extends
Members
readonly analysisClipping : AnalysisClipping
선택 모델.
Select model
버튼 요소.
Button element
X축 체크박스를 감싸는 요소.
X axis checkbox wrapper
X축 체크박스.
X axis checkbox
Y축 체크박스를 감싸는 요소.
Y axis checkbox wrapper
Y axis checkbox
Y축 체크박스.
Y축 체크박스를 감싸는 요소.
Z axis checkbox wrapper
Z축 체크박스 요소.
Z axis checkbox
Z axis checkbox
X축 슬라이더 감싸는 요소.
X axis slider wrapper
X축 슬라이더 현재값 텍스트 요소.
X axis silider current text element
X축 슬라이더 최대값 텍스트 요소.
X axis silider maximum text element
X축 슬라이더 마이너스 버튼 요소.
X axis slider minus button
X축 슬라이더 최소값 텍스트 요소.
X axis silider minimum text element
X축 슬라이더 플러스 버튼 요소.
X axis slider plus button
X축 슬라이더 요소.
X axis slider
Y축 슬라이더 감싸는 요소.
Y axis slider wrapper
Y축 슬라이더 현재값 텍스트 요소.
Y axis silider current text element
Y축 슬라이더 최대값 텍스트 요소.
Y axis silider maximum text element
Y축 슬라이더 마이너스 버튼 요소.
Y axis slider minus button
Y축 슬라이더 최소값 텍스트 요소.
Y axis silider minimum text element
Y축 슬라이더 플러스 버튼 요소.
Y axis slider plus button
Y축 슬라이더 요소.
Y axis slider
Z축 슬라이더 감싸는 요소.
Z axis slider wrapper
Z축 슬라이더 현재값 텍스트 요소.
Z axis silider current text element
Z축 슬라이더 최대값 텍스트 요소.
Z axis silider maximum text element
Z축 슬라이더 마이너스 버튼 요소.
Z axis silider minus button
Z축 슬라이더 최소값 텍스트 요소.
Z axis silider minimum text element
Z축 슬라이더 플러스 버튼 요소.
Z axis silider plus button
Z축 슬라이더 요소.
Z axis silider
readonly planeX : Entity
X축 절단면 엔티티.
X axis ClippingPlane entity
readonly planeY : Entity
Y축 절단면 엔티티.
Y axis ClippingPlane entity
readonly planeZ : Entity
Z축 절단면 엔티티.
Z axis ClippingPlane entity
Methods
컨텐츠 영역에 요소 추가.
Append element to content.
Append element to content.
Name | Type | Description |
---|---|---|
element |
Element |
추가할 요소. Element to add. |
- Inherited From:
푸터 영역에 요소 추가.
Append element to footer.
Append element to footer.
Name | Type | Description |
---|---|---|
element |
Element | 추가할 요소. Element to add. |
- Inherited From:
헤더 영역에 요소 추가.
Append element to header.
Name | Type | Description |
---|---|---|
element |
Element |
추가할 요소. Element to add. |
- Inherited From:
팝업 닫기.
Close popup.
Name | Type | Description |
---|---|---|
element |
Element | 매개변수가 없는 경우 wrapper 오픈. If no parameter is entered, close wrapper. |
- Inherited From:
createCloseAlert() → DitapAlert
종료 팝업 생성.
Create exit popup.
Create exit popup.
Returns:
ditapAlert 종료 팝업.
Exit pop-up.
Exit pop-up.
팝업과 절단면 파괴.
Destroy popup and ClippingPlane
Name | Type | Default | Description |
---|---|---|---|
removePlane |
boolean |
true
|
optional
설정된 절단면 제거 여부. Whether to remove the set cutting plane. |
입력 축 슬라이더 래퍼 숨김.
Hide input axis slider wrapper
Name | Type | Description |
---|---|---|
type |
string | ["X", "Y", "Z"] |
팝업 열기.
Open popup.
Name | Type | Description |
---|---|---|
element |
Element | 매개변수가 없는 경우 wrapper 오픈. element If no parameter is entered, open wrapper. |
- Inherited From:
컨텐츠 영역 맨 앞에 요소 추가.
Prepend element to content.
Name | Type | Description |
---|---|---|
element |
Element |
추가할 요소. Element to add. |
- Inherited From:
푸터 영역 맨 앞에 요소 추가.
Prepend element to footer.
Name | Type | Description |
---|---|---|
element |
Element | 추가할 요소. Element to add. |
- Inherited From:
헤더 영역 맨 앞에 요소 추가.
Prepend element to header.
Prepend element to header.
Name | Type | Description |
---|---|---|
element |
Element |
추가할 요소. Element to add. |
- Inherited From:
컨텐츠 영역의 모든 자식 요소 제거.
Remove all children of content.
- Inherited From:
푸터 영역의 모든 자식 요소 제거.
Remove all children of footer.
- Inherited From:
헤더 영역의 모든 자식 요소 제거.
Remove all children of header.
Remove all children of header.
- Inherited From:
컨텐츠 영역의 자식 요소 제거.
Remove children of content.
Name | Type | Description |
---|---|---|
element |
Element |
제거할 요소. Element to remove. |
- Inherited From:
푸터 영역의 자식 요소 제거.
Remove children of footer.
Name | Type | Description |
---|---|---|
element |
Element | 제거할 요소. Element to remove. |
- Inherited From:
헤더 영역의 자식 요소 제거.
Remove children of header.
Name | Type | Description |
---|---|---|
element |
Element |
제거할 요소. Element to remove. |
- Inherited From:
팝업 인스턴스 초기화.
Reset this object
Name | Type | Default | Description |
---|---|---|---|
removePlane |
boolean |
true
|
optional
설정된 절단면 제거 여부. Whether to remove the set cutting plane. |
절단면 상태값 초기화.
Reset clipping plane information.
Reset clipping plane information.
X축 체크박스 설정
Set X axis checkbox
Name | Type | Description |
---|---|---|
value |
boolean | 체크 여부. Check value |
X축 슬라이더 현재값 설정.
Set X axis slider current text value
Name | Type | Description |
---|---|---|
value |
number | 슬라이더 현재값 (미터). Slider current value (meters). |
X축 슬라이더 최대값 설정.
Set X axis slider maximum text value
Name | Type | Description |
---|---|---|
value |
number | 슬라이더 최대값 (미터). Slider maximum value (meters). |
X축 슬라이더 최소값 설정.
Set X axis slider minimum text value
Name | Type | Description |
---|---|---|
value |
number | 슬라이더 최소값 (미터). Slider minimum value (meters). |
X축 슬라이더 값 설정.
Set X axis slider value
Name | Type | Description |
---|---|---|
value |
number | 슬라이더 값 (미터). Slider value (meters). |
Y축 체크박스 설정
Set Y axis checkbox
Name | Type | Description |
---|---|---|
value |
boolean | 체크 여부. Check value |
Y축 슬라이더 현재값 설정.
Set Y axis slider current text value
Name | Type | Description |
---|---|---|
value |
number | 슬라이더 현재값 (미터). Slider current value (meters). |
Y축 슬라이더 최대값 설정.
Set Y axis slider maximum text value
Name | Type | Description |
---|---|---|
value |
number | 슬라이더 최대값 (미터). Slider maximum value (meters). |
Y축 슬라이더 최소값 설정.
Set Y axis slider minimum text value
Name | Type | Description |
---|---|---|
value |
number | 슬라이더 최소값 (미터). Slider minimum value (meters). |
Y축 슬라이더 값 설정.
Set Y axis slider value
Name | Type | Description |
---|---|---|
value |
number | 슬라이더 값 (미터). Slider value (meters). |
Z축 체크박스 설정
Set Z axis checkbox
Name | Type | Description |
---|---|---|
value |
boolean | 체크 여부. Check value |
Z축 슬라이더 현재값 설정.
Set Z axis slider current text value
Name | Type | Description |
---|---|---|
value |
number | 슬라이더 현재값 (미터). Slider current value (meters). |
Z축 슬라이더 최대값 설정.
Set Z axis slider maximum text value
Name | Type | Description |
---|---|---|
value |
number | 슬라이더 최대값 (미터). Slider maximum value (meters). |
Z축 슬라이더 최소값 설정.
Set Z axis slider minimum text value
Name | Type | Description |
---|---|---|
value |
number | 슬라이더 최소값 (미터). Slider minimum value (meters). |
Z축 슬라이더 값 설정.
Set Z axis slider value
Name | Type | Description |
---|---|---|
value |
number | 슬라이더 값 (미터). Slider value (meters). |
입력 축 슬라이더 래퍼 표시.
Show input axis slider wrapper
Name | Type | Description |
---|---|---|
type |
string | ["X", "Y", "Z"] |
팝업 활성화 on/off 기능.
Function on and off.
Name | Type | Description |
---|---|---|
element |
Element | 매개변수가 없는 경우 wrapper 오픈.If no parameter is entered, toggle wrapper. |
- Inherited From:
선택 객체 정보 업데이트.
Select object information update.
※ 주의사항(Note).
rollback 내용도 초기화 됩니다.
Rollback contents are also initialized.
Select object information update.
※ 주의사항(Note).
rollback 내용도 초기화 됩니다.
Rollback contents are also initialized.