gis.updateCFDObject

GIS-更新CFD对象

模块:GIS调用:piclient.emit('gis.updateCFDObject', {...})

更新CFD对象

输入

参数类型必填默认值说明
idstringString
objectTypestring00 表面着色模型、1 矢量场模型、2 粒子轨迹模型
filePathstringString文件路径
positionstring0.0, 0.0, 0.0位置
rotationstring0.0, -90.0, 90.0朝向
scalestring1.0, 1.0, 1.0缩放
elementScalestring0元素缩放
sampleGapstring0采样间隔
renderTypestring3渲染类型,0 cube、1 sphere、2 cone、3 arrow
centralizebooleantrue数据居中
inverseFacebooleantrue反转面

调用

typescript
piclient.emit("gis.updateCFDObject",{
	id: "String",
	objectType: "0", //0 表面着色模型、1 矢量场模型、2 粒子轨迹模型
	filePath: "String", //文件路径
	position: "0.0, 0.0, 0.0", //位置
	rotation: "0.0, -90.0, 90.0", //朝向
	scale: "1.0, 1.0, 1.0", //缩放
	elementScale: "0", //元素缩放
	sampleGap: "0", //采样间隔
	renderType: "3", //渲染类型,0 cube、1 sphere、2 cone、3 arrow
	centralize: true, //数据居中
	inverseFace: true, //反转面
})
← 返回 GIS 模块