@vertexvis/stream-api 0.24.3-testing.0 → 0.24.4-canary.0
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.cjs.js
CHANGED
|
@@ -18365,6 +18365,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18365
18365
|
* @property {vertexvis.protobuf.stream.IPhantomAttributes|null} [phantomItems] StreamAttributes phantomItems
|
|
18366
18366
|
* @property {vertexvis.protobuf.stream.IFrameAttributes|null} [frames] StreamAttributes frames
|
|
18367
18367
|
* @property {vertexvis.protobuf.stream.ISceneComparisonAttributes|null} [sceneComparison] StreamAttributes sceneComparison
|
|
18368
|
+
* @property {vertexvis.protobuf.stream.ICrossSectioningAttributes|null} [crossSectioningAttributes] StreamAttributes crossSectioningAttributes
|
|
18368
18369
|
*/
|
|
18369
18370
|
|
|
18370
18371
|
/**
|
|
@@ -18462,6 +18463,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18462
18463
|
*/
|
|
18463
18464
|
StreamAttributes.prototype.sceneComparison = null;
|
|
18464
18465
|
|
|
18466
|
+
/**
|
|
18467
|
+
* StreamAttributes crossSectioningAttributes.
|
|
18468
|
+
* @member {vertexvis.protobuf.stream.ICrossSectioningAttributes|null|undefined} crossSectioningAttributes
|
|
18469
|
+
* @memberof vertexvis.protobuf.stream.StreamAttributes
|
|
18470
|
+
* @instance
|
|
18471
|
+
*/
|
|
18472
|
+
StreamAttributes.prototype.crossSectioningAttributes = null;
|
|
18473
|
+
|
|
18465
18474
|
/**
|
|
18466
18475
|
* Creates a new StreamAttributes instance using the specified properties.
|
|
18467
18476
|
* @function create
|
|
@@ -18506,6 +18515,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18506
18515
|
$root.vertexvis.protobuf.stream.FrameAttributes.encode(message.frames, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
18507
18516
|
if (message.sceneComparison != null && Object.hasOwnProperty.call(message, "sceneComparison"))
|
|
18508
18517
|
$root.vertexvis.protobuf.stream.SceneComparisonAttributes.encode(message.sceneComparison, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
|
|
18518
|
+
if (message.crossSectioningAttributes != null && Object.hasOwnProperty.call(message, "crossSectioningAttributes"))
|
|
18519
|
+
$root.vertexvis.protobuf.stream.CrossSectioningAttributes.encode(message.crossSectioningAttributes, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
|
|
18509
18520
|
return writer;
|
|
18510
18521
|
};
|
|
18511
18522
|
|
|
@@ -18570,6 +18581,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18570
18581
|
case 11:
|
|
18571
18582
|
message.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.decode(reader, reader.uint32());
|
|
18572
18583
|
break;
|
|
18584
|
+
case 12:
|
|
18585
|
+
message.crossSectioningAttributes = $root.vertexvis.protobuf.stream.CrossSectioningAttributes.decode(reader, reader.uint32());
|
|
18586
|
+
break;
|
|
18573
18587
|
default:
|
|
18574
18588
|
reader.skipType(tag & 7);
|
|
18575
18589
|
break;
|
|
@@ -18651,6 +18665,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18651
18665
|
if (error)
|
|
18652
18666
|
return "sceneComparison." + error;
|
|
18653
18667
|
}
|
|
18668
|
+
if (message.crossSectioningAttributes != null && message.hasOwnProperty("crossSectioningAttributes")) {
|
|
18669
|
+
let error = $root.vertexvis.protobuf.stream.CrossSectioningAttributes.verify(message.crossSectioningAttributes);
|
|
18670
|
+
if (error)
|
|
18671
|
+
return "crossSectioningAttributes." + error;
|
|
18672
|
+
}
|
|
18654
18673
|
return null;
|
|
18655
18674
|
};
|
|
18656
18675
|
|
|
@@ -18710,6 +18729,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18710
18729
|
throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.sceneComparison: object expected");
|
|
18711
18730
|
message.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.fromObject(object.sceneComparison);
|
|
18712
18731
|
}
|
|
18732
|
+
if (object.crossSectioningAttributes != null) {
|
|
18733
|
+
if (typeof object.crossSectioningAttributes !== "object")
|
|
18734
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.crossSectioningAttributes: object expected");
|
|
18735
|
+
message.crossSectioningAttributes = $root.vertexvis.protobuf.stream.CrossSectioningAttributes.fromObject(object.crossSectioningAttributes);
|
|
18736
|
+
}
|
|
18713
18737
|
return message;
|
|
18714
18738
|
};
|
|
18715
18739
|
|
|
@@ -18737,6 +18761,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18737
18761
|
object.phantomItems = null;
|
|
18738
18762
|
object.frames = null;
|
|
18739
18763
|
object.sceneComparison = null;
|
|
18764
|
+
object.crossSectioningAttributes = null;
|
|
18740
18765
|
}
|
|
18741
18766
|
if (message.depthBuffers != null && message.hasOwnProperty("depthBuffers"))
|
|
18742
18767
|
object.depthBuffers = $root.vertexvis.protobuf.stream.DepthBufferAttributes.toObject(message.depthBuffers, options);
|
|
@@ -18758,6 +18783,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18758
18783
|
object.frames = $root.vertexvis.protobuf.stream.FrameAttributes.toObject(message.frames, options);
|
|
18759
18784
|
if (message.sceneComparison != null && message.hasOwnProperty("sceneComparison"))
|
|
18760
18785
|
object.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.toObject(message.sceneComparison, options);
|
|
18786
|
+
if (message.crossSectioningAttributes != null && message.hasOwnProperty("crossSectioningAttributes"))
|
|
18787
|
+
object.crossSectioningAttributes = $root.vertexvis.protobuf.stream.CrossSectioningAttributes.toObject(message.crossSectioningAttributes, options);
|
|
18761
18788
|
return object;
|
|
18762
18789
|
};
|
|
18763
18790
|
|
|
@@ -19827,6 +19854,221 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
19827
19854
|
return SceneComparisonAttributes;
|
|
19828
19855
|
})();
|
|
19829
19856
|
|
|
19857
|
+
stream.CrossSectioningAttributes = (function() {
|
|
19858
|
+
|
|
19859
|
+
/**
|
|
19860
|
+
* Properties of a CrossSectioningAttributes.
|
|
19861
|
+
* @memberof vertexvis.protobuf.stream
|
|
19862
|
+
* @interface ICrossSectioningAttributes
|
|
19863
|
+
* @property {boolean|null} [endCapEnabled] CrossSectioningAttributes endCapEnabled
|
|
19864
|
+
* @property {vertexvis.protobuf.core.IRGBi|null} [endCapColor] CrossSectioningAttributes endCapColor
|
|
19865
|
+
*/
|
|
19866
|
+
|
|
19867
|
+
/**
|
|
19868
|
+
* Constructs a new CrossSectioningAttributes.
|
|
19869
|
+
* @memberof vertexvis.protobuf.stream
|
|
19870
|
+
* @classdesc Represents a CrossSectioningAttributes.
|
|
19871
|
+
* @implements ICrossSectioningAttributes
|
|
19872
|
+
* @constructor
|
|
19873
|
+
* @param {vertexvis.protobuf.stream.ICrossSectioningAttributes=} [properties] Properties to set
|
|
19874
|
+
*/
|
|
19875
|
+
function CrossSectioningAttributes(properties) {
|
|
19876
|
+
if (properties)
|
|
19877
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
19878
|
+
if (properties[keys[i]] != null)
|
|
19879
|
+
this[keys[i]] = properties[keys[i]];
|
|
19880
|
+
}
|
|
19881
|
+
|
|
19882
|
+
/**
|
|
19883
|
+
* CrossSectioningAttributes endCapEnabled.
|
|
19884
|
+
* @member {boolean} endCapEnabled
|
|
19885
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
19886
|
+
* @instance
|
|
19887
|
+
*/
|
|
19888
|
+
CrossSectioningAttributes.prototype.endCapEnabled = false;
|
|
19889
|
+
|
|
19890
|
+
/**
|
|
19891
|
+
* CrossSectioningAttributes endCapColor.
|
|
19892
|
+
* @member {vertexvis.protobuf.core.IRGBi|null|undefined} endCapColor
|
|
19893
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
19894
|
+
* @instance
|
|
19895
|
+
*/
|
|
19896
|
+
CrossSectioningAttributes.prototype.endCapColor = null;
|
|
19897
|
+
|
|
19898
|
+
/**
|
|
19899
|
+
* Creates a new CrossSectioningAttributes instance using the specified properties.
|
|
19900
|
+
* @function create
|
|
19901
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
19902
|
+
* @static
|
|
19903
|
+
* @param {vertexvis.protobuf.stream.ICrossSectioningAttributes=} [properties] Properties to set
|
|
19904
|
+
* @returns {vertexvis.protobuf.stream.CrossSectioningAttributes} CrossSectioningAttributes instance
|
|
19905
|
+
*/
|
|
19906
|
+
CrossSectioningAttributes.create = function create(properties) {
|
|
19907
|
+
return new CrossSectioningAttributes(properties);
|
|
19908
|
+
};
|
|
19909
|
+
|
|
19910
|
+
/**
|
|
19911
|
+
* Encodes the specified CrossSectioningAttributes message. Does not implicitly {@link vertexvis.protobuf.stream.CrossSectioningAttributes.verify|verify} messages.
|
|
19912
|
+
* @function encode
|
|
19913
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
19914
|
+
* @static
|
|
19915
|
+
* @param {vertexvis.protobuf.stream.ICrossSectioningAttributes} message CrossSectioningAttributes message or plain object to encode
|
|
19916
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
19917
|
+
* @returns {$protobuf.Writer} Writer
|
|
19918
|
+
*/
|
|
19919
|
+
CrossSectioningAttributes.encode = function encode(message, writer) {
|
|
19920
|
+
if (!writer)
|
|
19921
|
+
writer = $Writer.create();
|
|
19922
|
+
if (message.endCapEnabled != null && Object.hasOwnProperty.call(message, "endCapEnabled"))
|
|
19923
|
+
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.endCapEnabled);
|
|
19924
|
+
if (message.endCapColor != null && Object.hasOwnProperty.call(message, "endCapColor"))
|
|
19925
|
+
$root.vertexvis.protobuf.core.RGBi.encode(message.endCapColor, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
19926
|
+
return writer;
|
|
19927
|
+
};
|
|
19928
|
+
|
|
19929
|
+
/**
|
|
19930
|
+
* Encodes the specified CrossSectioningAttributes message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.CrossSectioningAttributes.verify|verify} messages.
|
|
19931
|
+
* @function encodeDelimited
|
|
19932
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
19933
|
+
* @static
|
|
19934
|
+
* @param {vertexvis.protobuf.stream.ICrossSectioningAttributes} message CrossSectioningAttributes message or plain object to encode
|
|
19935
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
19936
|
+
* @returns {$protobuf.Writer} Writer
|
|
19937
|
+
*/
|
|
19938
|
+
CrossSectioningAttributes.encodeDelimited = function encodeDelimited(message, writer) {
|
|
19939
|
+
return this.encode(message, writer).ldelim();
|
|
19940
|
+
};
|
|
19941
|
+
|
|
19942
|
+
/**
|
|
19943
|
+
* Decodes a CrossSectioningAttributes message from the specified reader or buffer.
|
|
19944
|
+
* @function decode
|
|
19945
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
19946
|
+
* @static
|
|
19947
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
19948
|
+
* @param {number} [length] Message length if known beforehand
|
|
19949
|
+
* @returns {vertexvis.protobuf.stream.CrossSectioningAttributes} CrossSectioningAttributes
|
|
19950
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19951
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19952
|
+
*/
|
|
19953
|
+
CrossSectioningAttributes.decode = function decode(reader, length) {
|
|
19954
|
+
if (!(reader instanceof $Reader))
|
|
19955
|
+
reader = $Reader.create(reader);
|
|
19956
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.CrossSectioningAttributes();
|
|
19957
|
+
while (reader.pos < end) {
|
|
19958
|
+
let tag = reader.uint32();
|
|
19959
|
+
switch (tag >>> 3) {
|
|
19960
|
+
case 1:
|
|
19961
|
+
message.endCapEnabled = reader.bool();
|
|
19962
|
+
break;
|
|
19963
|
+
case 2:
|
|
19964
|
+
message.endCapColor = $root.vertexvis.protobuf.core.RGBi.decode(reader, reader.uint32());
|
|
19965
|
+
break;
|
|
19966
|
+
default:
|
|
19967
|
+
reader.skipType(tag & 7);
|
|
19968
|
+
break;
|
|
19969
|
+
}
|
|
19970
|
+
}
|
|
19971
|
+
return message;
|
|
19972
|
+
};
|
|
19973
|
+
|
|
19974
|
+
/**
|
|
19975
|
+
* Decodes a CrossSectioningAttributes message from the specified reader or buffer, length delimited.
|
|
19976
|
+
* @function decodeDelimited
|
|
19977
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
19978
|
+
* @static
|
|
19979
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
19980
|
+
* @returns {vertexvis.protobuf.stream.CrossSectioningAttributes} CrossSectioningAttributes
|
|
19981
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19982
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19983
|
+
*/
|
|
19984
|
+
CrossSectioningAttributes.decodeDelimited = function decodeDelimited(reader) {
|
|
19985
|
+
if (!(reader instanceof $Reader))
|
|
19986
|
+
reader = new $Reader(reader);
|
|
19987
|
+
return this.decode(reader, reader.uint32());
|
|
19988
|
+
};
|
|
19989
|
+
|
|
19990
|
+
/**
|
|
19991
|
+
* Verifies a CrossSectioningAttributes message.
|
|
19992
|
+
* @function verify
|
|
19993
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
19994
|
+
* @static
|
|
19995
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
19996
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
19997
|
+
*/
|
|
19998
|
+
CrossSectioningAttributes.verify = function verify(message) {
|
|
19999
|
+
if (typeof message !== "object" || message === null)
|
|
20000
|
+
return "object expected";
|
|
20001
|
+
if (message.endCapEnabled != null && message.hasOwnProperty("endCapEnabled"))
|
|
20002
|
+
if (typeof message.endCapEnabled !== "boolean")
|
|
20003
|
+
return "endCapEnabled: boolean expected";
|
|
20004
|
+
if (message.endCapColor != null && message.hasOwnProperty("endCapColor")) {
|
|
20005
|
+
let error = $root.vertexvis.protobuf.core.RGBi.verify(message.endCapColor);
|
|
20006
|
+
if (error)
|
|
20007
|
+
return "endCapColor." + error;
|
|
20008
|
+
}
|
|
20009
|
+
return null;
|
|
20010
|
+
};
|
|
20011
|
+
|
|
20012
|
+
/**
|
|
20013
|
+
* Creates a CrossSectioningAttributes message from a plain object. Also converts values to their respective internal types.
|
|
20014
|
+
* @function fromObject
|
|
20015
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
20016
|
+
* @static
|
|
20017
|
+
* @param {Object.<string,*>} object Plain object
|
|
20018
|
+
* @returns {vertexvis.protobuf.stream.CrossSectioningAttributes} CrossSectioningAttributes
|
|
20019
|
+
*/
|
|
20020
|
+
CrossSectioningAttributes.fromObject = function fromObject(object) {
|
|
20021
|
+
if (object instanceof $root.vertexvis.protobuf.stream.CrossSectioningAttributes)
|
|
20022
|
+
return object;
|
|
20023
|
+
let message = new $root.vertexvis.protobuf.stream.CrossSectioningAttributes();
|
|
20024
|
+
if (object.endCapEnabled != null)
|
|
20025
|
+
message.endCapEnabled = Boolean(object.endCapEnabled);
|
|
20026
|
+
if (object.endCapColor != null) {
|
|
20027
|
+
if (typeof object.endCapColor !== "object")
|
|
20028
|
+
throw TypeError(".vertexvis.protobuf.stream.CrossSectioningAttributes.endCapColor: object expected");
|
|
20029
|
+
message.endCapColor = $root.vertexvis.protobuf.core.RGBi.fromObject(object.endCapColor);
|
|
20030
|
+
}
|
|
20031
|
+
return message;
|
|
20032
|
+
};
|
|
20033
|
+
|
|
20034
|
+
/**
|
|
20035
|
+
* Creates a plain object from a CrossSectioningAttributes message. Also converts values to other types if specified.
|
|
20036
|
+
* @function toObject
|
|
20037
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
20038
|
+
* @static
|
|
20039
|
+
* @param {vertexvis.protobuf.stream.CrossSectioningAttributes} message CrossSectioningAttributes
|
|
20040
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
20041
|
+
* @returns {Object.<string,*>} Plain object
|
|
20042
|
+
*/
|
|
20043
|
+
CrossSectioningAttributes.toObject = function toObject(message, options) {
|
|
20044
|
+
if (!options)
|
|
20045
|
+
options = {};
|
|
20046
|
+
let object = {};
|
|
20047
|
+
if (options.defaults) {
|
|
20048
|
+
object.endCapEnabled = false;
|
|
20049
|
+
object.endCapColor = null;
|
|
20050
|
+
}
|
|
20051
|
+
if (message.endCapEnabled != null && message.hasOwnProperty("endCapEnabled"))
|
|
20052
|
+
object.endCapEnabled = message.endCapEnabled;
|
|
20053
|
+
if (message.endCapColor != null && message.hasOwnProperty("endCapColor"))
|
|
20054
|
+
object.endCapColor = $root.vertexvis.protobuf.core.RGBi.toObject(message.endCapColor, options);
|
|
20055
|
+
return object;
|
|
20056
|
+
};
|
|
20057
|
+
|
|
20058
|
+
/**
|
|
20059
|
+
* Converts this CrossSectioningAttributes to JSON.
|
|
20060
|
+
* @function toJSON
|
|
20061
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioningAttributes
|
|
20062
|
+
* @instance
|
|
20063
|
+
* @returns {Object.<string,*>} JSON object
|
|
20064
|
+
*/
|
|
20065
|
+
CrossSectioningAttributes.prototype.toJSON = function toJSON() {
|
|
20066
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
20067
|
+
};
|
|
20068
|
+
|
|
20069
|
+
return CrossSectioningAttributes;
|
|
20070
|
+
})();
|
|
20071
|
+
|
|
19830
20072
|
stream.FrameAttributes = (function() {
|
|
19831
20073
|
|
|
19832
20074
|
/**
|
|
@@ -28380,6 +28622,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
28380
28622
|
* @property {vertexvis.protobuf.core.IBoundingBox3f|null} [boundingBox] FlyToPayload boundingBox
|
|
28381
28623
|
* @property {vertexvis.protobuf.stream.ICamera|null} [camera] FlyToPayload camera
|
|
28382
28624
|
* @property {vertexvis.protobuf.stream.ISceneViewStateIdentifier|null} [sceneViewStateIdentifier] FlyToPayload sceneViewStateIdentifier
|
|
28625
|
+
* @property {vertexvis.protobuf.stream.ISceneItemQueryExpression|null} [sceneItemQueryExpression] FlyToPayload sceneItemQueryExpression
|
|
28383
28626
|
* @property {vertexvis.protobuf.stream.ICamera|null} [baseCamera] FlyToPayload baseCamera
|
|
28384
28627
|
*/
|
|
28385
28628
|
|
|
@@ -28454,6 +28697,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
28454
28697
|
*/
|
|
28455
28698
|
FlyToPayload.prototype.sceneViewStateIdentifier = null;
|
|
28456
28699
|
|
|
28700
|
+
/**
|
|
28701
|
+
* FlyToPayload sceneItemQueryExpression.
|
|
28702
|
+
* @member {vertexvis.protobuf.stream.ISceneItemQueryExpression|null|undefined} sceneItemQueryExpression
|
|
28703
|
+
* @memberof vertexvis.protobuf.stream.FlyToPayload
|
|
28704
|
+
* @instance
|
|
28705
|
+
*/
|
|
28706
|
+
FlyToPayload.prototype.sceneItemQueryExpression = null;
|
|
28707
|
+
|
|
28457
28708
|
/**
|
|
28458
28709
|
* FlyToPayload baseCamera.
|
|
28459
28710
|
* @member {vertexvis.protobuf.stream.ICamera|null|undefined} baseCamera
|
|
@@ -28467,12 +28718,12 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
28467
28718
|
|
|
28468
28719
|
/**
|
|
28469
28720
|
* FlyToPayload flyToType.
|
|
28470
|
-
* @member {"itemId"|"itemSuppliedId"|"boundingBox"|"camera"|"sceneViewStateIdentifier"|undefined} flyToType
|
|
28721
|
+
* @member {"itemId"|"itemSuppliedId"|"boundingBox"|"camera"|"sceneViewStateIdentifier"|"sceneItemQueryExpression"|undefined} flyToType
|
|
28471
28722
|
* @memberof vertexvis.protobuf.stream.FlyToPayload
|
|
28472
28723
|
* @instance
|
|
28473
28724
|
*/
|
|
28474
28725
|
Object.defineProperty(FlyToPayload.prototype, "flyToType", {
|
|
28475
|
-
get: $util.oneOfGetter($oneOfFields = ["itemId", "itemSuppliedId", "boundingBox", "camera", "sceneViewStateIdentifier"]),
|
|
28726
|
+
get: $util.oneOfGetter($oneOfFields = ["itemId", "itemSuppliedId", "boundingBox", "camera", "sceneViewStateIdentifier", "sceneItemQueryExpression"]),
|
|
28476
28727
|
set: $util.oneOfSetter($oneOfFields)
|
|
28477
28728
|
});
|
|
28478
28729
|
|
|
@@ -28516,6 +28767,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
28516
28767
|
$root.vertexvis.protobuf.stream.Camera.encode(message.baseCamera, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
28517
28768
|
if (message.sceneViewStateIdentifier != null && Object.hasOwnProperty.call(message, "sceneViewStateIdentifier"))
|
|
28518
28769
|
$root.vertexvis.protobuf.stream.SceneViewStateIdentifier.encode(message.sceneViewStateIdentifier, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
|
|
28770
|
+
if (message.sceneItemQueryExpression != null && Object.hasOwnProperty.call(message, "sceneItemQueryExpression"))
|
|
28771
|
+
$root.vertexvis.protobuf.stream.SceneItemQueryExpression.encode(message.sceneItemQueryExpression, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
28519
28772
|
return writer;
|
|
28520
28773
|
};
|
|
28521
28774
|
|
|
@@ -28571,6 +28824,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
28571
28824
|
case 8:
|
|
28572
28825
|
message.sceneViewStateIdentifier = $root.vertexvis.protobuf.stream.SceneViewStateIdentifier.decode(reader, reader.uint32());
|
|
28573
28826
|
break;
|
|
28827
|
+
case 10:
|
|
28828
|
+
message.sceneItemQueryExpression = $root.vertexvis.protobuf.stream.SceneItemQueryExpression.decode(reader, reader.uint32());
|
|
28829
|
+
break;
|
|
28574
28830
|
case 7:
|
|
28575
28831
|
message.baseCamera = $root.vertexvis.protobuf.stream.Camera.decode(reader, reader.uint32());
|
|
28576
28832
|
break;
|
|
@@ -28665,6 +28921,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
28665
28921
|
return "sceneViewStateIdentifier." + error;
|
|
28666
28922
|
}
|
|
28667
28923
|
}
|
|
28924
|
+
if (message.sceneItemQueryExpression != null && message.hasOwnProperty("sceneItemQueryExpression")) {
|
|
28925
|
+
if (properties.flyToType === 1)
|
|
28926
|
+
return "flyToType: multiple values";
|
|
28927
|
+
properties.flyToType = 1;
|
|
28928
|
+
{
|
|
28929
|
+
let error = $root.vertexvis.protobuf.stream.SceneItemQueryExpression.verify(message.sceneItemQueryExpression);
|
|
28930
|
+
if (error)
|
|
28931
|
+
return "sceneItemQueryExpression." + error;
|
|
28932
|
+
}
|
|
28933
|
+
}
|
|
28668
28934
|
if (message.baseCamera != null && message.hasOwnProperty("baseCamera")) {
|
|
28669
28935
|
let error = $root.vertexvis.protobuf.stream.Camera.verify(message.baseCamera);
|
|
28670
28936
|
if (error)
|
|
@@ -28717,6 +28983,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
28717
28983
|
throw TypeError(".vertexvis.protobuf.stream.FlyToPayload.sceneViewStateIdentifier: object expected");
|
|
28718
28984
|
message.sceneViewStateIdentifier = $root.vertexvis.protobuf.stream.SceneViewStateIdentifier.fromObject(object.sceneViewStateIdentifier);
|
|
28719
28985
|
}
|
|
28986
|
+
if (object.sceneItemQueryExpression != null) {
|
|
28987
|
+
if (typeof object.sceneItemQueryExpression !== "object")
|
|
28988
|
+
throw TypeError(".vertexvis.protobuf.stream.FlyToPayload.sceneItemQueryExpression: object expected");
|
|
28989
|
+
message.sceneItemQueryExpression = $root.vertexvis.protobuf.stream.SceneItemQueryExpression.fromObject(object.sceneItemQueryExpression);
|
|
28990
|
+
}
|
|
28720
28991
|
if (object.baseCamera != null) {
|
|
28721
28992
|
if (typeof object.baseCamera !== "object")
|
|
28722
28993
|
throw TypeError(".vertexvis.protobuf.stream.FlyToPayload.baseCamera: object expected");
|
|
@@ -28774,6 +29045,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
28774
29045
|
if (options.oneofs)
|
|
28775
29046
|
object.flyToType = "sceneViewStateIdentifier";
|
|
28776
29047
|
}
|
|
29048
|
+
if (message.sceneItemQueryExpression != null && message.hasOwnProperty("sceneItemQueryExpression")) {
|
|
29049
|
+
object.sceneItemQueryExpression = $root.vertexvis.protobuf.stream.SceneItemQueryExpression.toObject(message.sceneItemQueryExpression, options);
|
|
29050
|
+
if (options.oneofs)
|
|
29051
|
+
object.flyToType = "sceneItemQueryExpression";
|
|
29052
|
+
}
|
|
28777
29053
|
return object;
|
|
28778
29054
|
};
|
|
28779
29055
|
|