@geode/opengeodeweb-viewer 1.37.0-rc.3 → 1.37.0-rc.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4863,6 +4863,89 @@
|
|
|
4863
4863
|
"additionalProperties": false
|
|
4864
4864
|
}
|
|
4865
4865
|
},
|
|
4866
|
+
"set_text_style": {
|
|
4867
|
+
"$id": "opengeodeweb_viewer.viewer.set_text_style",
|
|
4868
|
+
"rpc": "set_text_style",
|
|
4869
|
+
"type": "object",
|
|
4870
|
+
"properties": {
|
|
4871
|
+
"color": {
|
|
4872
|
+
"title": "TextColor",
|
|
4873
|
+
"type": "object",
|
|
4874
|
+
"properties": {
|
|
4875
|
+
"r": {
|
|
4876
|
+
"type": "integer",
|
|
4877
|
+
"minimum": 0,
|
|
4878
|
+
"maximum": 255
|
|
4879
|
+
},
|
|
4880
|
+
"g": {
|
|
4881
|
+
"type": "integer",
|
|
4882
|
+
"minimum": 0,
|
|
4883
|
+
"maximum": 255
|
|
4884
|
+
},
|
|
4885
|
+
"b": {
|
|
4886
|
+
"type": "integer",
|
|
4887
|
+
"minimum": 0,
|
|
4888
|
+
"maximum": 255
|
|
4889
|
+
}
|
|
4890
|
+
},
|
|
4891
|
+
"required": [
|
|
4892
|
+
"r",
|
|
4893
|
+
"g",
|
|
4894
|
+
"b"
|
|
4895
|
+
],
|
|
4896
|
+
"additionalProperties": false
|
|
4897
|
+
},
|
|
4898
|
+
"font_family": {
|
|
4899
|
+
"type": "string",
|
|
4900
|
+
"enum": [
|
|
4901
|
+
"arial",
|
|
4902
|
+
"courier",
|
|
4903
|
+
"times"
|
|
4904
|
+
]
|
|
4905
|
+
},
|
|
4906
|
+
"opacity": {
|
|
4907
|
+
"type": "number",
|
|
4908
|
+
"minimum": 0,
|
|
4909
|
+
"maximum": 1
|
|
4910
|
+
}
|
|
4911
|
+
},
|
|
4912
|
+
"required": [
|
|
4913
|
+
"color",
|
|
4914
|
+
"font_family",
|
|
4915
|
+
"opacity"
|
|
4916
|
+
],
|
|
4917
|
+
"additionalProperties": false,
|
|
4918
|
+
"response": {
|
|
4919
|
+
"type": "object",
|
|
4920
|
+
"properties": {},
|
|
4921
|
+
"required": [],
|
|
4922
|
+
"additionalProperties": false
|
|
4923
|
+
}
|
|
4924
|
+
},
|
|
4925
|
+
"set_orientation_widget": {
|
|
4926
|
+
"$id": "opengeodeweb_viewer.viewer.set_orientation_widget",
|
|
4927
|
+
"rpc": "set_orientation_widget",
|
|
4928
|
+
"type": "object",
|
|
4929
|
+
"properties": {
|
|
4930
|
+
"marker": {
|
|
4931
|
+
"type": "string",
|
|
4932
|
+
"enum": [
|
|
4933
|
+
"axes",
|
|
4934
|
+
"compass"
|
|
4935
|
+
]
|
|
4936
|
+
}
|
|
4937
|
+
},
|
|
4938
|
+
"required": [
|
|
4939
|
+
"marker"
|
|
4940
|
+
],
|
|
4941
|
+
"additionalProperties": false,
|
|
4942
|
+
"response": {
|
|
4943
|
+
"type": "object",
|
|
4944
|
+
"properties": {},
|
|
4945
|
+
"required": [],
|
|
4946
|
+
"additionalProperties": false
|
|
4947
|
+
}
|
|
4948
|
+
},
|
|
4866
4949
|
"set_background_color": {
|
|
4867
4950
|
"$id": "opengeodeweb_viewer.viewer.set_background_color",
|
|
4868
4951
|
"rpc": "set_background_color",
|
|
@@ -5336,6 +5419,39 @@
|
|
|
5336
5419
|
},
|
|
5337
5420
|
"minItems": 3,
|
|
5338
5421
|
"maxItems": 3
|
|
5422
|
+
},
|
|
5423
|
+
"color": {
|
|
5424
|
+
"title": "PlaneColor",
|
|
5425
|
+
"type": "object",
|
|
5426
|
+
"properties": {
|
|
5427
|
+
"red": {
|
|
5428
|
+
"type": "integer",
|
|
5429
|
+
"minimum": 0,
|
|
5430
|
+
"maximum": 255
|
|
5431
|
+
},
|
|
5432
|
+
"green": {
|
|
5433
|
+
"type": "integer",
|
|
5434
|
+
"minimum": 0,
|
|
5435
|
+
"maximum": 255
|
|
5436
|
+
},
|
|
5437
|
+
"blue": {
|
|
5438
|
+
"type": "integer",
|
|
5439
|
+
"minimum": 0,
|
|
5440
|
+
"maximum": 255
|
|
5441
|
+
},
|
|
5442
|
+
"alpha": {
|
|
5443
|
+
"type": "number",
|
|
5444
|
+
"minimum": 0,
|
|
5445
|
+
"maximum": 1
|
|
5446
|
+
}
|
|
5447
|
+
},
|
|
5448
|
+
"required": [
|
|
5449
|
+
"red",
|
|
5450
|
+
"green",
|
|
5451
|
+
"blue",
|
|
5452
|
+
"alpha"
|
|
5453
|
+
],
|
|
5454
|
+
"additionalProperties": false
|
|
5339
5455
|
}
|
|
5340
5456
|
},
|
|
5341
5457
|
"required": [
|
|
@@ -1316,6 +1316,32 @@ export interface ViewerSetZScalingParams {
|
|
|
1316
1316
|
export interface ViewerSetZScalingResponse {
|
|
1317
1317
|
}
|
|
1318
1318
|
|
|
1319
|
+
export interface ViewerSetTextStyleParams {
|
|
1320
|
+
color: TextColor;
|
|
1321
|
+
font_family: FontFamily;
|
|
1322
|
+
opacity: number;
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
export interface TextColor {
|
|
1326
|
+
b: number;
|
|
1327
|
+
g: number;
|
|
1328
|
+
r: number;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
export type FontFamily = "arial" | "courier" | "times";
|
|
1332
|
+
|
|
1333
|
+
export interface ViewerSetTextStyleResponse {
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
export interface ViewerSetOrientationWidgetParams {
|
|
1337
|
+
marker: Marker;
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
export type Marker = "axes" | "compass";
|
|
1341
|
+
|
|
1342
|
+
export interface ViewerSetOrientationWidgetResponse {
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1319
1345
|
export interface ViewerSetBackgroundColorParams {
|
|
1320
1346
|
color: ViewerSetBackgroundColorParamsColor;
|
|
1321
1347
|
}
|
|
@@ -1451,10 +1477,18 @@ export interface ViewerClippingPlanesParams {
|
|
|
1451
1477
|
}
|
|
1452
1478
|
|
|
1453
1479
|
export interface Plane {
|
|
1480
|
+
color?: PlaneColor;
|
|
1454
1481
|
normal: number[];
|
|
1455
1482
|
origin: number[];
|
|
1456
1483
|
}
|
|
1457
1484
|
|
|
1485
|
+
export interface PlaneColor {
|
|
1486
|
+
alpha: number;
|
|
1487
|
+
blue: number;
|
|
1488
|
+
green: number;
|
|
1489
|
+
red: number;
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1458
1492
|
export interface ViewerClippingPlanesResponse {
|
|
1459
1493
|
}
|
|
1460
1494
|
|
|
@@ -1681,6 +1715,8 @@ export interface Schemas {
|
|
|
1681
1715
|
readonly slice: (typeof json)["opengeodeweb_viewer"]["viewer"]["slice"] & TypedSchema<ViewerSliceParams, ViewerSliceResponse>;
|
|
1682
1716
|
readonly shrink: (typeof json)["opengeodeweb_viewer"]["viewer"]["shrink"] & TypedSchema<ViewerShrinkParams, ViewerShrinkResponse>;
|
|
1683
1717
|
readonly set_z_scaling: (typeof json)["opengeodeweb_viewer"]["viewer"]["set_z_scaling"] & TypedSchema<ViewerSetZScalingParams, ViewerSetZScalingResponse>;
|
|
1718
|
+
readonly set_text_style: (typeof json)["opengeodeweb_viewer"]["viewer"]["set_text_style"] & TypedSchema<ViewerSetTextStyleParams, ViewerSetTextStyleResponse>;
|
|
1719
|
+
readonly set_orientation_widget: (typeof json)["opengeodeweb_viewer"]["viewer"]["set_orientation_widget"] & TypedSchema<ViewerSetOrientationWidgetParams, ViewerSetOrientationWidgetResponse>;
|
|
1684
1720
|
readonly set_background_color: (typeof json)["opengeodeweb_viewer"]["viewer"]["set_background_color"] & TypedSchema<ViewerSetBackgroundColorParams, ViewerSetBackgroundColorResponse>;
|
|
1685
1721
|
readonly ruler: (typeof json)["opengeodeweb_viewer"]["viewer"]["ruler"] & TypedSchema<ViewerRulerParams, ViewerRulerResponse>;
|
|
1686
1722
|
readonly reset_visualization: (typeof json)["opengeodeweb_viewer"]["viewer"]["reset_visualization"] & TypedSchema<ViewerResetVisualizationParams, ViewerResetVisualizationResponse>;
|