123456789101112131415161718192021222324252627282930 |
- /**
- * 策略类
- */
- export class Strategy {
- /**
- * 统一坐标系统
- * @param {Object} model - 模型
- * @param {Object} worldPose - 世界姿态
- */
- unifiedCoordinateSystem(model, worldPose) {
- throw new Error('Method "unifiedCoordinateSystem" must be implemented.');
- }
- /**
- * 设置本地原点姿态
- * @param {Object} worldPose - 世界姿态
- */
- setLocalOriginPose(worldPose) {
- throw new Error('Method "setLocalOriginPose" must be implemented.');
- }
- /**
- * 转换本地到世界
- * @param {Object} model - 模型
- * @param {Object} localPosition - 本地位置
- */
- convertLocalToWorld(model, localPosition) {
- throw new Error('Method "convertLocalToWorld" must be implemented.');
- }
- }
|