@vertexvis/stream-api 0.24.3-testing.1 → 0.24.3
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.
- package/dist/bundle.cjs.js +278 -2
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +278 -2
- package/dist/bundle.esm.js.map +1 -1
- package/package.json +6 -6
package/dist/bundle.esm.js
CHANGED
|
@@ -18361,6 +18361,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18361
18361
|
* @property {vertexvis.protobuf.stream.IPhantomAttributes|null} [phantomItems] StreamAttributes phantomItems
|
|
18362
18362
|
* @property {vertexvis.protobuf.stream.IFrameAttributes|null} [frames] StreamAttributes frames
|
|
18363
18363
|
* @property {vertexvis.protobuf.stream.ISceneComparisonAttributes|null} [sceneComparison] StreamAttributes sceneComparison
|
|
18364
|
+
* @property {vertexvis.protobuf.stream.ICrossSectioningAttributes|null} [crossSectioningAttributes] StreamAttributes crossSectioningAttributes
|
|
18364
18365
|
*/
|
|
18365
18366
|
|
|
18366
18367
|
/**
|
|
@@ -18458,6 +18459,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18458
18459
|
*/
|
|
18459
18460
|
StreamAttributes.prototype.sceneComparison = null;
|
|
18460
18461
|
|
|
18462
|
+
/**
|
|
18463
|
+
* StreamAttributes crossSectioningAttributes.
|
|
18464
|
+
* @member {vertexvis.protobuf.stream.ICrossSectioningAttributes|null|undefined} crossSectioningAttributes
|
|
18465
|
+
* @memberof vertexvis.protobuf.stream.StreamAttributes
|
|
18466
|
+
* @instance
|
|
18467
|
+
*/
|
|
18468
|
+
StreamAttributes.prototype.crossSectioningAttributes = null;
|
|
18469
|
+
|
|
18461
18470
|
/**
|
|
18462
18471
|
* Creates a new StreamAttributes instance using the specified properties.
|
|
18463
18472
|
* @function create
|
|
@@ -18502,6 +18511,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18502
18511
|
$root.vertexvis.protobuf.stream.FrameAttributes.encode(message.frames, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
18503
18512
|
if (message.sceneComparison != null && Object.hasOwnProperty.call(message, "sceneComparison"))
|
|
18504
18513
|
$root.vertexvis.protobuf.stream.SceneComparisonAttributes.encode(message.sceneComparison, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
|
|
18514
|
+
if (message.crossSectioningAttributes != null && Object.hasOwnProperty.call(message, "crossSectioningAttributes"))
|
|
18515
|
+
$root.vertexvis.protobuf.stream.CrossSectioningAttributes.encode(message.crossSectioningAttributes, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
|
|
18505
18516
|
return writer;
|
|
18506
18517
|
};
|
|
18507
18518
|
|
|
@@ -18566,6 +18577,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18566
18577
|
case 11:
|
|
18567
18578
|
message.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.decode(reader, reader.uint32());
|
|
18568
18579
|
break;
|
|
18580
|
+
case 12:
|
|
18581
|
+
message.crossSectioningAttributes = $root.vertexvis.protobuf.stream.CrossSectioningAttributes.decode(reader, reader.uint32());
|
|
18582
|
+
break;
|
|
18569
18583
|
default:
|
|
18570
18584
|
reader.skipType(tag & 7);
|
|
18571
18585
|
break;
|
|
@@ -18647,6 +18661,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18647
18661
|
if (error)
|
|
18648
18662
|
return "sceneComparison." + error;
|
|
18649
18663
|
}
|
|
18664
|
+
if (message.crossSectioningAttributes != null && message.hasOwnProperty("crossSectioningAttributes")) {
|
|
18665
|
+
let error = $root.vertexvis.protobuf.stream.CrossSectioningAttributes.verify(message.crossSectioningAttributes);
|
|
18666
|
+
if (error)
|
|
18667
|
+
return "crossSectioningAttributes." + error;
|
|
18668
|
+
}
|
|
18650
18669
|
return null;
|
|
18651
18670
|
};
|
|
18652
18671
|
|
|
@@ -18706,6 +18725,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18706
18725
|
throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.sceneComparison: object expected");
|
|
18707
18726
|
message.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.fromObject(object.sceneComparison);
|
|
18708
18727
|
}
|
|
18728
|
+
if (object.crossSectioningAttributes != null) {
|
|
18729
|
+
if (typeof object.crossSectioningAttributes !== "object")
|
|
18730
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.crossSectioningAttributes: object expected");
|
|
18731
|
+
message.crossSectioningAttributes = $root.vertexvis.protobuf.stream.CrossSectioningAttributes.fromObject(object.crossSectioningAttributes);
|
|
18732
|
+
}
|
|
18709
18733
|
return message;
|
|
18710
18734
|
};
|
|
18711
18735
|
|
|
@@ -18733,6 +18757,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18733
18757
|
object.phantomItems = null;
|
|
18734
18758
|
object.frames = null;
|
|
18735
18759
|
object.sceneComparison = null;
|
|
18760
|
+
object.crossSectioningAttributes = null;
|
|
18736
18761
|
}
|
|
18737
18762
|
if (message.depthBuffers != null && message.hasOwnProperty("depthBuffers"))
|
|
18738
18763
|
object.depthBuffers = $root.vertexvis.protobuf.stream.DepthBufferAttributes.toObject(message.depthBuffers, options);
|
|
@@ -18754,6 +18779,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18754
18779
|
object.frames = $root.vertexvis.protobuf.stream.FrameAttributes.toObject(message.frames, options);
|
|
18755
18780
|
if (message.sceneComparison != null && message.hasOwnProperty("sceneComparison"))
|
|
18756
18781
|
object.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.toObject(message.sceneComparison, options);
|
|
18782
|
+
if (message.crossSectioningAttributes != null && message.hasOwnProperty("crossSectioningAttributes"))
|
|
18783
|
+
object.crossSectioningAttributes = $root.vertexvis.protobuf.stream.CrossSectioningAttributes.toObject(message.crossSectioningAttributes, options);
|
|
18757
18784
|
return object;
|
|
18758
18785
|
};
|
|
18759
18786
|
|
|
@@ -19823,6 +19850,221 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
19823
19850
|
return SceneComparisonAttributes;
|
|
19824
19851
|
})();
|
|
19825
19852
|
|
|
19853
|
+
stream.CrossSectioningAttributes = (function() {
|
|
19854
|
+
|
|
19855
|
+
/**
|
|
19856
|
+
* Properties of a CrossSectioningAttributes.
|
|
19857
|
+
* @memberof vertexvis.protobuf.stream
|
|
19858
|
+
* @interface ICrossSectioningAttributes
|
|
19859
|
+
* @property {boolean|null} [endCapEnabled] CrossSectioningAttributes endCapEnabled
|
|
19860
|
+
* @property {vertexvis.protobuf.core.IRGBi|null} [endCapColor] CrossSectioningAttributes endCapColor
|
|
19861
|
+
*/
|
|
19862
|
+
|
|
19863
|
+
/**
|
|
19864
|
+
* Constructs a new CrossSectioningAttributes.
|
|
19865
|
+
* @memberof vertexvis.protobuf.stream
|
|
19866
|
+
* @classdesc Represents a CrossSectioningAttributes.
|
|
19867
|
+
* @implements ICrossSectioningAttributes
|
|
19868
|
+
* @constructor
|
|
19869
|
+
* @param {vertexvis.protobuf.stream.ICrossSectioningAttributes=} [properties] Properties to set
|
|
19870
|
+
*/
|
|
19871
|
+
function CrossSectioningAttributes(properties) {
|
|
19872
|
+
if (properties)
|
|
19873
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
19874
|
+
if (properties[keys[i]] != null)
|
|
19875
|
+
this[keys[i]] = properties[keys[i]];
|
|
19876
|
+
}
|
|
19877
|
+
|
|
19878
|
+
/**
|
|
19879
|
+
* CrossSectioningAttributes endCapEnabled.
|
|
19880
|
+
* @member {boolean} endCapEnabled
|
|
19881
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
19882
|
+
* @instance
|
|
19883
|
+
*/
|
|
19884
|
+
CrossSectioningAttributes.prototype.endCapEnabled = false;
|
|
19885
|
+
|
|
19886
|
+
/**
|
|
19887
|
+
* CrossSectioningAttributes endCapColor.
|
|
19888
|
+
* @member {vertexvis.protobuf.core.IRGBi|null|undefined} endCapColor
|
|
19889
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
19890
|
+
* @instance
|
|
19891
|
+
*/
|
|
19892
|
+
CrossSectioningAttributes.prototype.endCapColor = null;
|
|
19893
|
+
|
|
19894
|
+
/**
|
|
19895
|
+
* Creates a new CrossSectioningAttributes instance using the specified properties.
|
|
19896
|
+
* @function create
|
|
19897
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
19898
|
+
* @static
|
|
19899
|
+
* @param {vertexvis.protobuf.stream.ICrossSectioningAttributes=} [properties] Properties to set
|
|
19900
|
+
* @returns {vertexvis.protobuf.stream.CrossSectioningAttributes} CrossSectioningAttributes instance
|
|
19901
|
+
*/
|
|
19902
|
+
CrossSectioningAttributes.create = function create(properties) {
|
|
19903
|
+
return new CrossSectioningAttributes(properties);
|
|
19904
|
+
};
|
|
19905
|
+
|
|
19906
|
+
/**
|
|
19907
|
+
* Encodes the specified CrossSectioningAttributes message. Does not implicitly {@link vertexvis.protobuf.stream.CrossSectioningAttributes.verify|verify} messages.
|
|
19908
|
+
* @function encode
|
|
19909
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
19910
|
+
* @static
|
|
19911
|
+
* @param {vertexvis.protobuf.stream.ICrossSectioningAttributes} message CrossSectioningAttributes message or plain object to encode
|
|
19912
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
19913
|
+
* @returns {$protobuf.Writer} Writer
|
|
19914
|
+
*/
|
|
19915
|
+
CrossSectioningAttributes.encode = function encode(message, writer) {
|
|
19916
|
+
if (!writer)
|
|
19917
|
+
writer = $Writer.create();
|
|
19918
|
+
if (message.endCapEnabled != null && Object.hasOwnProperty.call(message, "endCapEnabled"))
|
|
19919
|
+
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.endCapEnabled);
|
|
19920
|
+
if (message.endCapColor != null && Object.hasOwnProperty.call(message, "endCapColor"))
|
|
19921
|
+
$root.vertexvis.protobuf.core.RGBi.encode(message.endCapColor, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
19922
|
+
return writer;
|
|
19923
|
+
};
|
|
19924
|
+
|
|
19925
|
+
/**
|
|
19926
|
+
* Encodes the specified CrossSectioningAttributes message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.CrossSectioningAttributes.verify|verify} messages.
|
|
19927
|
+
* @function encodeDelimited
|
|
19928
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
19929
|
+
* @static
|
|
19930
|
+
* @param {vertexvis.protobuf.stream.ICrossSectioningAttributes} message CrossSectioningAttributes message or plain object to encode
|
|
19931
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
19932
|
+
* @returns {$protobuf.Writer} Writer
|
|
19933
|
+
*/
|
|
19934
|
+
CrossSectioningAttributes.encodeDelimited = function encodeDelimited(message, writer) {
|
|
19935
|
+
return this.encode(message, writer).ldelim();
|
|
19936
|
+
};
|
|
19937
|
+
|
|
19938
|
+
/**
|
|
19939
|
+
* Decodes a CrossSectioningAttributes message from the specified reader or buffer.
|
|
19940
|
+
* @function decode
|
|
19941
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
19942
|
+
* @static
|
|
19943
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
19944
|
+
* @param {number} [length] Message length if known beforehand
|
|
19945
|
+
* @returns {vertexvis.protobuf.stream.CrossSectioningAttributes} CrossSectioningAttributes
|
|
19946
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19947
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19948
|
+
*/
|
|
19949
|
+
CrossSectioningAttributes.decode = function decode(reader, length) {
|
|
19950
|
+
if (!(reader instanceof $Reader))
|
|
19951
|
+
reader = $Reader.create(reader);
|
|
19952
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.CrossSectioningAttributes();
|
|
19953
|
+
while (reader.pos < end) {
|
|
19954
|
+
let tag = reader.uint32();
|
|
19955
|
+
switch (tag >>> 3) {
|
|
19956
|
+
case 1:
|
|
19957
|
+
message.endCapEnabled = reader.bool();
|
|
19958
|
+
break;
|
|
19959
|
+
case 2:
|
|
19960
|
+
message.endCapColor = $root.vertexvis.protobuf.core.RGBi.decode(reader, reader.uint32());
|
|
19961
|
+
break;
|
|
19962
|
+
default:
|
|
19963
|
+
reader.skipType(tag & 7);
|
|
19964
|
+
break;
|
|
19965
|
+
}
|
|
19966
|
+
}
|
|
19967
|
+
return message;
|
|
19968
|
+
};
|
|
19969
|
+
|
|
19970
|
+
/**
|
|
19971
|
+
* Decodes a CrossSectioningAttributes message from the specified reader or buffer, length delimited.
|
|
19972
|
+
* @function decodeDelimited
|
|
19973
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
19974
|
+
* @static
|
|
19975
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
19976
|
+
* @returns {vertexvis.protobuf.stream.CrossSectioningAttributes} CrossSectioningAttributes
|
|
19977
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19978
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19979
|
+
*/
|
|
19980
|
+
CrossSectioningAttributes.decodeDelimited = function decodeDelimited(reader) {
|
|
19981
|
+
if (!(reader instanceof $Reader))
|
|
19982
|
+
reader = new $Reader(reader);
|
|
19983
|
+
return this.decode(reader, reader.uint32());
|
|
19984
|
+
};
|
|
19985
|
+
|
|
19986
|
+
/**
|
|
19987
|
+
* Verifies a CrossSectioningAttributes message.
|
|
19988
|
+
* @function verify
|
|
19989
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
19990
|
+
* @static
|
|
19991
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
19992
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
19993
|
+
*/
|
|
19994
|
+
CrossSectioningAttributes.verify = function verify(message) {
|
|
19995
|
+
if (typeof message !== "object" || message === null)
|
|
19996
|
+
return "object expected";
|
|
19997
|
+
if (message.endCapEnabled != null && message.hasOwnProperty("endCapEnabled"))
|
|
19998
|
+
if (typeof message.endCapEnabled !== "boolean")
|
|
19999
|
+
return "endCapEnabled: boolean expected";
|
|
20000
|
+
if (message.endCapColor != null && message.hasOwnProperty("endCapColor")) {
|
|
20001
|
+
let error = $root.vertexvis.protobuf.core.RGBi.verify(message.endCapColor);
|
|
20002
|
+
if (error)
|
|
20003
|
+
return "endCapColor." + error;
|
|
20004
|
+
}
|
|
20005
|
+
return null;
|
|
20006
|
+
};
|
|
20007
|
+
|
|
20008
|
+
/**
|
|
20009
|
+
* Creates a CrossSectioningAttributes message from a plain object. Also converts values to their respective internal types.
|
|
20010
|
+
* @function fromObject
|
|
20011
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
20012
|
+
* @static
|
|
20013
|
+
* @param {Object.<string,*>} object Plain object
|
|
20014
|
+
* @returns {vertexvis.protobuf.stream.CrossSectioningAttributes} CrossSectioningAttributes
|
|
20015
|
+
*/
|
|
20016
|
+
CrossSectioningAttributes.fromObject = function fromObject(object) {
|
|
20017
|
+
if (object instanceof $root.vertexvis.protobuf.stream.CrossSectioningAttributes)
|
|
20018
|
+
return object;
|
|
20019
|
+
let message = new $root.vertexvis.protobuf.stream.CrossSectioningAttributes();
|
|
20020
|
+
if (object.endCapEnabled != null)
|
|
20021
|
+
message.endCapEnabled = Boolean(object.endCapEnabled);
|
|
20022
|
+
if (object.endCapColor != null) {
|
|
20023
|
+
if (typeof object.endCapColor !== "object")
|
|
20024
|
+
throw TypeError(".vertexvis.protobuf.stream.CrossSectioningAttributes.endCapColor: object expected");
|
|
20025
|
+
message.endCapColor = $root.vertexvis.protobuf.core.RGBi.fromObject(object.endCapColor);
|
|
20026
|
+
}
|
|
20027
|
+
return message;
|
|
20028
|
+
};
|
|
20029
|
+
|
|
20030
|
+
/**
|
|
20031
|
+
* Creates a plain object from a CrossSectioningAttributes message. Also converts values to other types if specified.
|
|
20032
|
+
* @function toObject
|
|
20033
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
20034
|
+
* @static
|
|
20035
|
+
* @param {vertexvis.protobuf.stream.CrossSectioningAttributes} message CrossSectioningAttributes
|
|
20036
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
20037
|
+
* @returns {Object.<string,*>} Plain object
|
|
20038
|
+
*/
|
|
20039
|
+
CrossSectioningAttributes.toObject = function toObject(message, options) {
|
|
20040
|
+
if (!options)
|
|
20041
|
+
options = {};
|
|
20042
|
+
let object = {};
|
|
20043
|
+
if (options.defaults) {
|
|
20044
|
+
object.endCapEnabled = false;
|
|
20045
|
+
object.endCapColor = null;
|
|
20046
|
+
}
|
|
20047
|
+
if (message.endCapEnabled != null && message.hasOwnProperty("endCapEnabled"))
|
|
20048
|
+
object.endCapEnabled = message.endCapEnabled;
|
|
20049
|
+
if (message.endCapColor != null && message.hasOwnProperty("endCapColor"))
|
|
20050
|
+
object.endCapColor = $root.vertexvis.protobuf.core.RGBi.toObject(message.endCapColor, options);
|
|
20051
|
+
return object;
|
|
20052
|
+
};
|
|
20053
|
+
|
|
20054
|
+
/**
|
|
20055
|
+
* Converts this CrossSectioningAttributes to JSON.
|
|
20056
|
+
* @function toJSON
|
|
20057
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
20058
|
+
* @instance
|
|
20059
|
+
* @returns {Object.<string,*>} JSON object
|
|
20060
|
+
*/
|
|
20061
|
+
CrossSectioningAttributes.prototype.toJSON = function toJSON() {
|
|
20062
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
20063
|
+
};
|
|
20064
|
+
|
|
20065
|
+
return CrossSectioningAttributes;
|
|
20066
|
+
})();
|
|
20067
|
+
|
|
19826
20068
|
stream.FrameAttributes = (function() {
|
|
19827
20069
|
|
|
19828
20070
|
/**
|
|
@@ -28376,6 +28618,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
28376
28618
|
* @property {vertexvis.protobuf.core.IBoundingBox3f|null} [boundingBox] FlyToPayload boundingBox
|
|
28377
28619
|
* @property {vertexvis.protobuf.stream.ICamera|null} [camera] FlyToPayload camera
|
|
28378
28620
|
* @property {vertexvis.protobuf.stream.ISceneViewStateIdentifier|null} [sceneViewStateIdentifier] FlyToPayload sceneViewStateIdentifier
|
|
28621
|
+
* @property {vertexvis.protobuf.stream.ISceneItemQueryExpression|null} [sceneItemQueryExpression] FlyToPayload sceneItemQueryExpression
|
|
28379
28622
|
* @property {vertexvis.protobuf.stream.ICamera|null} [baseCamera] FlyToPayload baseCamera
|
|
28380
28623
|
*/
|
|
28381
28624
|
|
|
@@ -28450,6 +28693,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
28450
28693
|
*/
|
|
28451
28694
|
FlyToPayload.prototype.sceneViewStateIdentifier = null;
|
|
28452
28695
|
|
|
28696
|
+
/**
|
|
28697
|
+
* FlyToPayload sceneItemQueryExpression.
|
|
28698
|
+
* @member {vertexvis.protobuf.stream.ISceneItemQueryExpression|null|undefined} sceneItemQueryExpression
|
|
28699
|
+
* @memberof vertexvis.protobuf.stream.FlyToPayload
|
|
28700
|
+
* @instance
|
|
28701
|
+
*/
|
|
28702
|
+
FlyToPayload.prototype.sceneItemQueryExpression = null;
|
|
28703
|
+
|
|
28453
28704
|
/**
|
|
28454
28705
|
* FlyToPayload baseCamera.
|
|
28455
28706
|
* @member {vertexvis.protobuf.stream.ICamera|null|undefined} baseCamera
|
|
@@ -28463,12 +28714,12 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
28463
28714
|
|
|
28464
28715
|
/**
|
|
28465
28716
|
* FlyToPayload flyToType.
|
|
28466
|
-
* @member {"itemId"|"itemSuppliedId"|"boundingBox"|"camera"|"sceneViewStateIdentifier"|undefined} flyToType
|
|
28717
|
+
* @member {"itemId"|"itemSuppliedId"|"boundingBox"|"camera"|"sceneViewStateIdentifier"|"sceneItemQueryExpression"|undefined} flyToType
|
|
28467
28718
|
* @memberof vertexvis.protobuf.stream.FlyToPayload
|
|
28468
28719
|
* @instance
|
|
28469
28720
|
*/
|
|
28470
28721
|
Object.defineProperty(FlyToPayload.prototype, "flyToType", {
|
|
28471
|
-
get: $util.oneOfGetter($oneOfFields = ["itemId", "itemSuppliedId", "boundingBox", "camera", "sceneViewStateIdentifier"]),
|
|
28722
|
+
get: $util.oneOfGetter($oneOfFields = ["itemId", "itemSuppliedId", "boundingBox", "camera", "sceneViewStateIdentifier", "sceneItemQueryExpression"]),
|
|
28472
28723
|
set: $util.oneOfSetter($oneOfFields)
|
|
28473
28724
|
});
|
|
28474
28725
|
|
|
@@ -28512,6 +28763,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
28512
28763
|
$root.vertexvis.protobuf.stream.Camera.encode(message.baseCamera, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
28513
28764
|
if (message.sceneViewStateIdentifier != null && Object.hasOwnProperty.call(message, "sceneViewStateIdentifier"))
|
|
28514
28765
|
$root.vertexvis.protobuf.stream.SceneViewStateIdentifier.encode(message.sceneViewStateIdentifier, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
|
|
28766
|
+
if (message.sceneItemQueryExpression != null && Object.hasOwnProperty.call(message, "sceneItemQueryExpression"))
|
|
28767
|
+
$root.vertexvis.protobuf.stream.SceneItemQueryExpression.encode(message.sceneItemQueryExpression, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
28515
28768
|
return writer;
|
|
28516
28769
|
};
|
|
28517
28770
|
|
|
@@ -28567,6 +28820,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
28567
28820
|
case 8:
|
|
28568
28821
|
message.sceneViewStateIdentifier = $root.vertexvis.protobuf.stream.SceneViewStateIdentifier.decode(reader, reader.uint32());
|
|
28569
28822
|
break;
|
|
28823
|
+
case 10:
|
|
28824
|
+
message.sceneItemQueryExpression = $root.vertexvis.protobuf.stream.SceneItemQueryExpression.decode(reader, reader.uint32());
|
|
28825
|
+
break;
|
|
28570
28826
|
case 7:
|
|
28571
28827
|
message.baseCamera = $root.vertexvis.protobuf.stream.Camera.decode(reader, reader.uint32());
|
|
28572
28828
|
break;
|
|
@@ -28661,6 +28917,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
28661
28917
|
return "sceneViewStateIdentifier." + error;
|
|
28662
28918
|
}
|
|
28663
28919
|
}
|
|
28920
|
+
if (message.sceneItemQueryExpression != null && message.hasOwnProperty("sceneItemQueryExpression")) {
|
|
28921
|
+
if (properties.flyToType === 1)
|
|
28922
|
+
return "flyToType: multiple values";
|
|
28923
|
+
properties.flyToType = 1;
|
|
28924
|
+
{
|
|
28925
|
+
let error = $root.vertexvis.protobuf.stream.SceneItemQueryExpression.verify(message.sceneItemQueryExpression);
|
|
28926
|
+
if (error)
|
|
28927
|
+
return "sceneItemQueryExpression." + error;
|
|
28928
|
+
}
|
|
28929
|
+
}
|
|
28664
28930
|
if (message.baseCamera != null && message.hasOwnProperty("baseCamera")) {
|
|
28665
28931
|
let error = $root.vertexvis.protobuf.stream.Camera.verify(message.baseCamera);
|
|
28666
28932
|
if (error)
|
|
@@ -28713,6 +28979,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
28713
28979
|
throw TypeError(".vertexvis.protobuf.stream.FlyToPayload.sceneViewStateIdentifier: object expected");
|
|
28714
28980
|
message.sceneViewStateIdentifier = $root.vertexvis.protobuf.stream.SceneViewStateIdentifier.fromObject(object.sceneViewStateIdentifier);
|
|
28715
28981
|
}
|
|
28982
|
+
if (object.sceneItemQueryExpression != null) {
|
|
28983
|
+
if (typeof object.sceneItemQueryExpression !== "object")
|
|
28984
|
+
throw TypeError(".vertexvis.protobuf.stream.FlyToPayload.sceneItemQueryExpression: object expected");
|
|
28985
|
+
message.sceneItemQueryExpression = $root.vertexvis.protobuf.stream.SceneItemQueryExpression.fromObject(object.sceneItemQueryExpression);
|
|
28986
|
+
}
|
|
28716
28987
|
if (object.baseCamera != null) {
|
|
28717
28988
|
if (typeof object.baseCamera !== "object")
|
|
28718
28989
|
throw TypeError(".vertexvis.protobuf.stream.FlyToPayload.baseCamera: object expected");
|
|
@@ -28770,6 +29041,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
28770
29041
|
if (options.oneofs)
|
|
28771
29042
|
object.flyToType = "sceneViewStateIdentifier";
|
|
28772
29043
|
}
|
|
29044
|
+
if (message.sceneItemQueryExpression != null && message.hasOwnProperty("sceneItemQueryExpression")) {
|
|
29045
|
+
object.sceneItemQueryExpression = $root.vertexvis.protobuf.stream.SceneItemQueryExpression.toObject(message.sceneItemQueryExpression, options);
|
|
29046
|
+
if (options.oneofs)
|
|
29047
|
+
object.flyToType = "sceneItemQueryExpression";
|
|
29048
|
+
}
|
|
28773
29049
|
return object;
|
|
28774
29050
|
};
|
|
28775
29051
|
|