@vertexvis/stream-api 0.12.0-canary.2 → 0.12.0-canary.20
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 +907 -96
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +907 -96
- package/dist/bundle.esm.js.map +1 -1
- package/dist/streamApi.d.ts +15 -2
- package/dist/types.d.ts +2 -0
- package/package.json +5 -5
package/dist/bundle.esm.js
CHANGED
|
@@ -7151,6 +7151,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
7151
7151
|
* @property {vertexvis.protobuf.stream.IDepthBufferAttributes|null} [depthBuffers] StreamAttributes depthBuffers
|
|
7152
7152
|
* @property {vertexvis.protobuf.stream.IFeatureLineAttributes|null} [featureLines] StreamAttributes featureLines
|
|
7153
7153
|
* @property {vertexvis.protobuf.stream.IFeatureHighlightAttributes|null} [featureHighlighting] StreamAttributes featureHighlighting
|
|
7154
|
+
* @property {vertexvis.protobuf.stream.IFeatureMapAttributes|null} [featureMaps] StreamAttributes featureMaps
|
|
7154
7155
|
*/
|
|
7155
7156
|
|
|
7156
7157
|
/**
|
|
@@ -7200,6 +7201,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
7200
7201
|
*/
|
|
7201
7202
|
StreamAttributes.prototype.featureHighlighting = null;
|
|
7202
7203
|
|
|
7204
|
+
/**
|
|
7205
|
+
* StreamAttributes featureMaps.
|
|
7206
|
+
* @member {vertexvis.protobuf.stream.IFeatureMapAttributes|null|undefined} featureMaps
|
|
7207
|
+
* @memberof vertexvis.protobuf.stream.StreamAttributes
|
|
7208
|
+
* @instance
|
|
7209
|
+
*/
|
|
7210
|
+
StreamAttributes.prototype.featureMaps = null;
|
|
7211
|
+
|
|
7203
7212
|
/**
|
|
7204
7213
|
* Creates a new StreamAttributes instance using the specified properties.
|
|
7205
7214
|
* @function create
|
|
@@ -7232,6 +7241,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
7232
7241
|
$root.vertexvis.protobuf.stream.FeatureLineAttributes.encode(message.featureLines, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
7233
7242
|
if (message.featureHighlighting != null && Object.hasOwnProperty.call(message, "featureHighlighting"))
|
|
7234
7243
|
$root.vertexvis.protobuf.stream.FeatureHighlightAttributes.encode(message.featureHighlighting, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
7244
|
+
if (message.featureMaps != null && Object.hasOwnProperty.call(message, "featureMaps"))
|
|
7245
|
+
$root.vertexvis.protobuf.stream.FeatureMapAttributes.encode(message.featureMaps, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
7235
7246
|
return writer;
|
|
7236
7247
|
};
|
|
7237
7248
|
|
|
@@ -7278,6 +7289,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
7278
7289
|
case 4:
|
|
7279
7290
|
message.featureHighlighting = $root.vertexvis.protobuf.stream.FeatureHighlightAttributes.decode(reader, reader.uint32());
|
|
7280
7291
|
break;
|
|
7292
|
+
case 5:
|
|
7293
|
+
message.featureMaps = $root.vertexvis.protobuf.stream.FeatureMapAttributes.decode(reader, reader.uint32());
|
|
7294
|
+
break;
|
|
7281
7295
|
default:
|
|
7282
7296
|
reader.skipType(tag & 7);
|
|
7283
7297
|
break;
|
|
@@ -7333,6 +7347,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
7333
7347
|
if (error)
|
|
7334
7348
|
return "featureHighlighting." + error;
|
|
7335
7349
|
}
|
|
7350
|
+
if (message.featureMaps != null && message.hasOwnProperty("featureMaps")) {
|
|
7351
|
+
let error = $root.vertexvis.protobuf.stream.FeatureMapAttributes.verify(message.featureMaps);
|
|
7352
|
+
if (error)
|
|
7353
|
+
return "featureMaps." + error;
|
|
7354
|
+
}
|
|
7336
7355
|
return null;
|
|
7337
7356
|
};
|
|
7338
7357
|
|
|
@@ -7368,6 +7387,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
7368
7387
|
throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.featureHighlighting: object expected");
|
|
7369
7388
|
message.featureHighlighting = $root.vertexvis.protobuf.stream.FeatureHighlightAttributes.fromObject(object.featureHighlighting);
|
|
7370
7389
|
}
|
|
7390
|
+
if (object.featureMaps != null) {
|
|
7391
|
+
if (typeof object.featureMaps !== "object")
|
|
7392
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.featureMaps: object expected");
|
|
7393
|
+
message.featureMaps = $root.vertexvis.protobuf.stream.FeatureMapAttributes.fromObject(object.featureMaps);
|
|
7394
|
+
}
|
|
7371
7395
|
return message;
|
|
7372
7396
|
};
|
|
7373
7397
|
|
|
@@ -7389,6 +7413,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
7389
7413
|
object.depthBuffers = null;
|
|
7390
7414
|
object.featureLines = null;
|
|
7391
7415
|
object.featureHighlighting = null;
|
|
7416
|
+
object.featureMaps = null;
|
|
7392
7417
|
}
|
|
7393
7418
|
if (message.experimentalGhosting != null && message.hasOwnProperty("experimentalGhosting"))
|
|
7394
7419
|
object.experimentalGhosting = $root.vertexvis.protobuf.stream.GhostingAttributes.toObject(message.experimentalGhosting, options);
|
|
@@ -7398,6 +7423,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
7398
7423
|
object.featureLines = $root.vertexvis.protobuf.stream.FeatureLineAttributes.toObject(message.featureLines, options);
|
|
7399
7424
|
if (message.featureHighlighting != null && message.hasOwnProperty("featureHighlighting"))
|
|
7400
7425
|
object.featureHighlighting = $root.vertexvis.protobuf.stream.FeatureHighlightAttributes.toObject(message.featureHighlighting, options);
|
|
7426
|
+
if (message.featureMaps != null && message.hasOwnProperty("featureMaps"))
|
|
7427
|
+
object.featureMaps = $root.vertexvis.protobuf.stream.FeatureMapAttributes.toObject(message.featureMaps, options);
|
|
7401
7428
|
return object;
|
|
7402
7429
|
};
|
|
7403
7430
|
|
|
@@ -7873,6 +7900,244 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
7873
7900
|
return DepthBufferAttributes;
|
|
7874
7901
|
})();
|
|
7875
7902
|
|
|
7903
|
+
stream.FeatureMapAttributes = (function() {
|
|
7904
|
+
|
|
7905
|
+
/**
|
|
7906
|
+
* Properties of a FeatureMapAttributes.
|
|
7907
|
+
* @memberof vertexvis.protobuf.stream
|
|
7908
|
+
* @interface IFeatureMapAttributes
|
|
7909
|
+
* @property {google.protobuf.IBoolValue|null} [enabled] FeatureMapAttributes enabled
|
|
7910
|
+
* @property {vertexvis.protobuf.stream.FrameType|null} [frameType] FeatureMapAttributes frameType
|
|
7911
|
+
*/
|
|
7912
|
+
|
|
7913
|
+
/**
|
|
7914
|
+
* Constructs a new FeatureMapAttributes.
|
|
7915
|
+
* @memberof vertexvis.protobuf.stream
|
|
7916
|
+
* @classdesc Represents a FeatureMapAttributes.
|
|
7917
|
+
* @implements IFeatureMapAttributes
|
|
7918
|
+
* @constructor
|
|
7919
|
+
* @param {vertexvis.protobuf.stream.IFeatureMapAttributes=} [properties] Properties to set
|
|
7920
|
+
*/
|
|
7921
|
+
function FeatureMapAttributes(properties) {
|
|
7922
|
+
if (properties)
|
|
7923
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
7924
|
+
if (properties[keys[i]] != null)
|
|
7925
|
+
this[keys[i]] = properties[keys[i]];
|
|
7926
|
+
}
|
|
7927
|
+
|
|
7928
|
+
/**
|
|
7929
|
+
* FeatureMapAttributes enabled.
|
|
7930
|
+
* @member {google.protobuf.IBoolValue|null|undefined} enabled
|
|
7931
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
7932
|
+
* @instance
|
|
7933
|
+
*/
|
|
7934
|
+
FeatureMapAttributes.prototype.enabled = null;
|
|
7935
|
+
|
|
7936
|
+
/**
|
|
7937
|
+
* FeatureMapAttributes frameType.
|
|
7938
|
+
* @member {vertexvis.protobuf.stream.FrameType} frameType
|
|
7939
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
7940
|
+
* @instance
|
|
7941
|
+
*/
|
|
7942
|
+
FeatureMapAttributes.prototype.frameType = 0;
|
|
7943
|
+
|
|
7944
|
+
/**
|
|
7945
|
+
* Creates a new FeatureMapAttributes instance using the specified properties.
|
|
7946
|
+
* @function create
|
|
7947
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
7948
|
+
* @static
|
|
7949
|
+
* @param {vertexvis.protobuf.stream.IFeatureMapAttributes=} [properties] Properties to set
|
|
7950
|
+
* @returns {vertexvis.protobuf.stream.FeatureMapAttributes} FeatureMapAttributes instance
|
|
7951
|
+
*/
|
|
7952
|
+
FeatureMapAttributes.create = function create(properties) {
|
|
7953
|
+
return new FeatureMapAttributes(properties);
|
|
7954
|
+
};
|
|
7955
|
+
|
|
7956
|
+
/**
|
|
7957
|
+
* Encodes the specified FeatureMapAttributes message. Does not implicitly {@link vertexvis.protobuf.stream.FeatureMapAttributes.verify|verify} messages.
|
|
7958
|
+
* @function encode
|
|
7959
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
7960
|
+
* @static
|
|
7961
|
+
* @param {vertexvis.protobuf.stream.IFeatureMapAttributes} message FeatureMapAttributes message or plain object to encode
|
|
7962
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
7963
|
+
* @returns {$protobuf.Writer} Writer
|
|
7964
|
+
*/
|
|
7965
|
+
FeatureMapAttributes.encode = function encode(message, writer) {
|
|
7966
|
+
if (!writer)
|
|
7967
|
+
writer = $Writer.create();
|
|
7968
|
+
if (message.enabled != null && Object.hasOwnProperty.call(message, "enabled"))
|
|
7969
|
+
$root.google.protobuf.BoolValue.encode(message.enabled, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
7970
|
+
if (message.frameType != null && Object.hasOwnProperty.call(message, "frameType"))
|
|
7971
|
+
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.frameType);
|
|
7972
|
+
return writer;
|
|
7973
|
+
};
|
|
7974
|
+
|
|
7975
|
+
/**
|
|
7976
|
+
* Encodes the specified FeatureMapAttributes message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.FeatureMapAttributes.verify|verify} messages.
|
|
7977
|
+
* @function encodeDelimited
|
|
7978
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
7979
|
+
* @static
|
|
7980
|
+
* @param {vertexvis.protobuf.stream.IFeatureMapAttributes} message FeatureMapAttributes message or plain object to encode
|
|
7981
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
7982
|
+
* @returns {$protobuf.Writer} Writer
|
|
7983
|
+
*/
|
|
7984
|
+
FeatureMapAttributes.encodeDelimited = function encodeDelimited(message, writer) {
|
|
7985
|
+
return this.encode(message, writer).ldelim();
|
|
7986
|
+
};
|
|
7987
|
+
|
|
7988
|
+
/**
|
|
7989
|
+
* Decodes a FeatureMapAttributes message from the specified reader or buffer.
|
|
7990
|
+
* @function decode
|
|
7991
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
7992
|
+
* @static
|
|
7993
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
7994
|
+
* @param {number} [length] Message length if known beforehand
|
|
7995
|
+
* @returns {vertexvis.protobuf.stream.FeatureMapAttributes} FeatureMapAttributes
|
|
7996
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7997
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7998
|
+
*/
|
|
7999
|
+
FeatureMapAttributes.decode = function decode(reader, length) {
|
|
8000
|
+
if (!(reader instanceof $Reader))
|
|
8001
|
+
reader = $Reader.create(reader);
|
|
8002
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.FeatureMapAttributes();
|
|
8003
|
+
while (reader.pos < end) {
|
|
8004
|
+
let tag = reader.uint32();
|
|
8005
|
+
switch (tag >>> 3) {
|
|
8006
|
+
case 1:
|
|
8007
|
+
message.enabled = $root.google.protobuf.BoolValue.decode(reader, reader.uint32());
|
|
8008
|
+
break;
|
|
8009
|
+
case 2:
|
|
8010
|
+
message.frameType = reader.int32();
|
|
8011
|
+
break;
|
|
8012
|
+
default:
|
|
8013
|
+
reader.skipType(tag & 7);
|
|
8014
|
+
break;
|
|
8015
|
+
}
|
|
8016
|
+
}
|
|
8017
|
+
return message;
|
|
8018
|
+
};
|
|
8019
|
+
|
|
8020
|
+
/**
|
|
8021
|
+
* Decodes a FeatureMapAttributes message from the specified reader or buffer, length delimited.
|
|
8022
|
+
* @function decodeDelimited
|
|
8023
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
8024
|
+
* @static
|
|
8025
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
8026
|
+
* @returns {vertexvis.protobuf.stream.FeatureMapAttributes} FeatureMapAttributes
|
|
8027
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8028
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8029
|
+
*/
|
|
8030
|
+
FeatureMapAttributes.decodeDelimited = function decodeDelimited(reader) {
|
|
8031
|
+
if (!(reader instanceof $Reader))
|
|
8032
|
+
reader = new $Reader(reader);
|
|
8033
|
+
return this.decode(reader, reader.uint32());
|
|
8034
|
+
};
|
|
8035
|
+
|
|
8036
|
+
/**
|
|
8037
|
+
* Verifies a FeatureMapAttributes message.
|
|
8038
|
+
* @function verify
|
|
8039
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
8040
|
+
* @static
|
|
8041
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
8042
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
8043
|
+
*/
|
|
8044
|
+
FeatureMapAttributes.verify = function verify(message) {
|
|
8045
|
+
if (typeof message !== "object" || message === null)
|
|
8046
|
+
return "object expected";
|
|
8047
|
+
if (message.enabled != null && message.hasOwnProperty("enabled")) {
|
|
8048
|
+
let error = $root.google.protobuf.BoolValue.verify(message.enabled);
|
|
8049
|
+
if (error)
|
|
8050
|
+
return "enabled." + error;
|
|
8051
|
+
}
|
|
8052
|
+
if (message.frameType != null && message.hasOwnProperty("frameType"))
|
|
8053
|
+
switch (message.frameType) {
|
|
8054
|
+
default:
|
|
8055
|
+
return "frameType: enum value expected";
|
|
8056
|
+
case 0:
|
|
8057
|
+
case 1:
|
|
8058
|
+
case 2:
|
|
8059
|
+
case 3:
|
|
8060
|
+
break;
|
|
8061
|
+
}
|
|
8062
|
+
return null;
|
|
8063
|
+
};
|
|
8064
|
+
|
|
8065
|
+
/**
|
|
8066
|
+
* Creates a FeatureMapAttributes message from a plain object. Also converts values to their respective internal types.
|
|
8067
|
+
* @function fromObject
|
|
8068
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
8069
|
+
* @static
|
|
8070
|
+
* @param {Object.<string,*>} object Plain object
|
|
8071
|
+
* @returns {vertexvis.protobuf.stream.FeatureMapAttributes} FeatureMapAttributes
|
|
8072
|
+
*/
|
|
8073
|
+
FeatureMapAttributes.fromObject = function fromObject(object) {
|
|
8074
|
+
if (object instanceof $root.vertexvis.protobuf.stream.FeatureMapAttributes)
|
|
8075
|
+
return object;
|
|
8076
|
+
let message = new $root.vertexvis.protobuf.stream.FeatureMapAttributes();
|
|
8077
|
+
if (object.enabled != null) {
|
|
8078
|
+
if (typeof object.enabled !== "object")
|
|
8079
|
+
throw TypeError(".vertexvis.protobuf.stream.FeatureMapAttributes.enabled: object expected");
|
|
8080
|
+
message.enabled = $root.google.protobuf.BoolValue.fromObject(object.enabled);
|
|
8081
|
+
}
|
|
8082
|
+
switch (object.frameType) {
|
|
8083
|
+
case "FRAME_TYPE_INVALID":
|
|
8084
|
+
case 0:
|
|
8085
|
+
message.frameType = 0;
|
|
8086
|
+
break;
|
|
8087
|
+
case "FRAME_TYPE_ALL":
|
|
8088
|
+
case 1:
|
|
8089
|
+
message.frameType = 1;
|
|
8090
|
+
break;
|
|
8091
|
+
case "FRAME_TYPE_TRANSITION":
|
|
8092
|
+
case 2:
|
|
8093
|
+
message.frameType = 2;
|
|
8094
|
+
break;
|
|
8095
|
+
case "FRAME_TYPE_FINAL":
|
|
8096
|
+
case 3:
|
|
8097
|
+
message.frameType = 3;
|
|
8098
|
+
break;
|
|
8099
|
+
}
|
|
8100
|
+
return message;
|
|
8101
|
+
};
|
|
8102
|
+
|
|
8103
|
+
/**
|
|
8104
|
+
* Creates a plain object from a FeatureMapAttributes message. Also converts values to other types if specified.
|
|
8105
|
+
* @function toObject
|
|
8106
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
8107
|
+
* @static
|
|
8108
|
+
* @param {vertexvis.protobuf.stream.FeatureMapAttributes} message FeatureMapAttributes
|
|
8109
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
8110
|
+
* @returns {Object.<string,*>} Plain object
|
|
8111
|
+
*/
|
|
8112
|
+
FeatureMapAttributes.toObject = function toObject(message, options) {
|
|
8113
|
+
if (!options)
|
|
8114
|
+
options = {};
|
|
8115
|
+
let object = {};
|
|
8116
|
+
if (options.defaults) {
|
|
8117
|
+
object.enabled = null;
|
|
8118
|
+
object.frameType = options.enums === String ? "FRAME_TYPE_INVALID" : 0;
|
|
8119
|
+
}
|
|
8120
|
+
if (message.enabled != null && message.hasOwnProperty("enabled"))
|
|
8121
|
+
object.enabled = $root.google.protobuf.BoolValue.toObject(message.enabled, options);
|
|
8122
|
+
if (message.frameType != null && message.hasOwnProperty("frameType"))
|
|
8123
|
+
object.frameType = options.enums === String ? $root.vertexvis.protobuf.stream.FrameType[message.frameType] : message.frameType;
|
|
8124
|
+
return object;
|
|
8125
|
+
};
|
|
8126
|
+
|
|
8127
|
+
/**
|
|
8128
|
+
* Converts this FeatureMapAttributes to JSON.
|
|
8129
|
+
* @function toJSON
|
|
8130
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
8131
|
+
* @instance
|
|
8132
|
+
* @returns {Object.<string,*>} JSON object
|
|
8133
|
+
*/
|
|
8134
|
+
FeatureMapAttributes.prototype.toJSON = function toJSON() {
|
|
8135
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
8136
|
+
};
|
|
8137
|
+
|
|
8138
|
+
return FeatureMapAttributes;
|
|
8139
|
+
})();
|
|
8140
|
+
|
|
7876
8141
|
stream.AnimationAttributes = (function() {
|
|
7877
8142
|
|
|
7878
8143
|
/**
|
|
@@ -9368,7 +9633,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9368
9633
|
* @memberof vertexvis.protobuf.stream
|
|
9369
9634
|
* @interface IFeatureHighlightAttributes
|
|
9370
9635
|
* @property {vertexvis.protobuf.core.IRGBi|null} [highlightColor] FeatureHighlightAttributes highlightColor
|
|
9371
|
-
* @property {
|
|
9636
|
+
* @property {google.protobuf.IFloatValue|null} [occludedOpacity] FeatureHighlightAttributes occludedOpacity
|
|
9372
9637
|
* @property {vertexvis.protobuf.stream.IFeatureLineAttributes|null} [outline] FeatureHighlightAttributes outline
|
|
9373
9638
|
*/
|
|
9374
9639
|
|
|
@@ -9397,11 +9662,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9397
9662
|
|
|
9398
9663
|
/**
|
|
9399
9664
|
* FeatureHighlightAttributes occludedOpacity.
|
|
9400
|
-
* @member {
|
|
9665
|
+
* @member {google.protobuf.IFloatValue|null|undefined} occludedOpacity
|
|
9401
9666
|
* @memberof vertexvis.protobuf.stream.FeatureHighlightAttributes
|
|
9402
9667
|
* @instance
|
|
9403
9668
|
*/
|
|
9404
|
-
FeatureHighlightAttributes.prototype.occludedOpacity =
|
|
9669
|
+
FeatureHighlightAttributes.prototype.occludedOpacity = null;
|
|
9405
9670
|
|
|
9406
9671
|
/**
|
|
9407
9672
|
* FeatureHighlightAttributes outline.
|
|
@@ -9438,7 +9703,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9438
9703
|
if (message.highlightColor != null && Object.hasOwnProperty.call(message, "highlightColor"))
|
|
9439
9704
|
$root.vertexvis.protobuf.core.RGBi.encode(message.highlightColor, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
9440
9705
|
if (message.occludedOpacity != null && Object.hasOwnProperty.call(message, "occludedOpacity"))
|
|
9441
|
-
writer.uint32(/* id 2, wireType
|
|
9706
|
+
$root.google.protobuf.FloatValue.encode(message.occludedOpacity, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
9442
9707
|
if (message.outline != null && Object.hasOwnProperty.call(message, "outline"))
|
|
9443
9708
|
$root.vertexvis.protobuf.stream.FeatureLineAttributes.encode(message.outline, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
9444
9709
|
return writer;
|
|
@@ -9479,7 +9744,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9479
9744
|
message.highlightColor = $root.vertexvis.protobuf.core.RGBi.decode(reader, reader.uint32());
|
|
9480
9745
|
break;
|
|
9481
9746
|
case 2:
|
|
9482
|
-
message.occludedOpacity = reader.
|
|
9747
|
+
message.occludedOpacity = $root.google.protobuf.FloatValue.decode(reader, reader.uint32());
|
|
9483
9748
|
break;
|
|
9484
9749
|
case 3:
|
|
9485
9750
|
message.outline = $root.vertexvis.protobuf.stream.FeatureLineAttributes.decode(reader, reader.uint32());
|
|
@@ -9524,9 +9789,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9524
9789
|
if (error)
|
|
9525
9790
|
return "highlightColor." + error;
|
|
9526
9791
|
}
|
|
9527
|
-
if (message.occludedOpacity != null && message.hasOwnProperty("occludedOpacity"))
|
|
9528
|
-
|
|
9529
|
-
|
|
9792
|
+
if (message.occludedOpacity != null && message.hasOwnProperty("occludedOpacity")) {
|
|
9793
|
+
let error = $root.google.protobuf.FloatValue.verify(message.occludedOpacity);
|
|
9794
|
+
if (error)
|
|
9795
|
+
return "occludedOpacity." + error;
|
|
9796
|
+
}
|
|
9530
9797
|
if (message.outline != null && message.hasOwnProperty("outline")) {
|
|
9531
9798
|
let error = $root.vertexvis.protobuf.stream.FeatureLineAttributes.verify(message.outline);
|
|
9532
9799
|
if (error)
|
|
@@ -9552,8 +9819,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9552
9819
|
throw TypeError(".vertexvis.protobuf.stream.FeatureHighlightAttributes.highlightColor: object expected");
|
|
9553
9820
|
message.highlightColor = $root.vertexvis.protobuf.core.RGBi.fromObject(object.highlightColor);
|
|
9554
9821
|
}
|
|
9555
|
-
if (object.occludedOpacity != null)
|
|
9556
|
-
|
|
9822
|
+
if (object.occludedOpacity != null) {
|
|
9823
|
+
if (typeof object.occludedOpacity !== "object")
|
|
9824
|
+
throw TypeError(".vertexvis.protobuf.stream.FeatureHighlightAttributes.occludedOpacity: object expected");
|
|
9825
|
+
message.occludedOpacity = $root.google.protobuf.FloatValue.fromObject(object.occludedOpacity);
|
|
9826
|
+
}
|
|
9557
9827
|
if (object.outline != null) {
|
|
9558
9828
|
if (typeof object.outline !== "object")
|
|
9559
9829
|
throw TypeError(".vertexvis.protobuf.stream.FeatureHighlightAttributes.outline: object expected");
|
|
@@ -9577,13 +9847,13 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9577
9847
|
let object = {};
|
|
9578
9848
|
if (options.defaults) {
|
|
9579
9849
|
object.highlightColor = null;
|
|
9580
|
-
object.occludedOpacity =
|
|
9850
|
+
object.occludedOpacity = null;
|
|
9581
9851
|
object.outline = null;
|
|
9582
9852
|
}
|
|
9583
9853
|
if (message.highlightColor != null && message.hasOwnProperty("highlightColor"))
|
|
9584
9854
|
object.highlightColor = $root.vertexvis.protobuf.core.RGBi.toObject(message.highlightColor, options);
|
|
9585
9855
|
if (message.occludedOpacity != null && message.hasOwnProperty("occludedOpacity"))
|
|
9586
|
-
object.occludedOpacity =
|
|
9856
|
+
object.occludedOpacity = $root.google.protobuf.FloatValue.toObject(message.occludedOpacity, options);
|
|
9587
9857
|
if (message.outline != null && message.hasOwnProperty("outline"))
|
|
9588
9858
|
object.outline = $root.vertexvis.protobuf.stream.FeatureLineAttributes.toObject(message.outline, options);
|
|
9589
9859
|
return object;
|
|
@@ -10828,6 +11098,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
10828
11098
|
* @property {vertexvis.protobuf.stream.ILoadSceneViewStatePayload|null} [loadSceneViewState] StreamRequest loadSceneViewState
|
|
10829
11099
|
* @property {vertexvis.protobuf.stream.IUpdateCrossSectioningPayload|null} [updateCrossSectioning] StreamRequest updateCrossSectioning
|
|
10830
11100
|
* @property {vertexvis.protobuf.stream.IGetStencilBufferPayload|null} [getStencilBuffer] StreamRequest getStencilBuffer
|
|
11101
|
+
* @property {vertexvis.protobuf.stream.IResetViewPlayload|null} [resetView] StreamRequest resetView
|
|
10831
11102
|
*/
|
|
10832
11103
|
|
|
10833
11104
|
/**
|
|
@@ -10989,17 +11260,25 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
10989
11260
|
*/
|
|
10990
11261
|
StreamRequest.prototype.getStencilBuffer = null;
|
|
10991
11262
|
|
|
11263
|
+
/**
|
|
11264
|
+
* StreamRequest resetView.
|
|
11265
|
+
* @member {vertexvis.protobuf.stream.IResetViewPlayload|null|undefined} resetView
|
|
11266
|
+
* @memberof vertexvis.protobuf.stream.StreamRequest
|
|
11267
|
+
* @instance
|
|
11268
|
+
*/
|
|
11269
|
+
StreamRequest.prototype.resetView = null;
|
|
11270
|
+
|
|
10992
11271
|
// OneOf field names bound to virtual getters and setters
|
|
10993
11272
|
let $oneOfFields;
|
|
10994
11273
|
|
|
10995
11274
|
/**
|
|
10996
11275
|
* StreamRequest payload.
|
|
10997
|
-
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"createSceneAlteration"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"getStencilBuffer"|undefined} payload
|
|
11276
|
+
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"createSceneAlteration"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"getStencilBuffer"|"resetView"|undefined} payload
|
|
10998
11277
|
* @memberof vertexvis.protobuf.stream.StreamRequest
|
|
10999
11278
|
* @instance
|
|
11000
11279
|
*/
|
|
11001
11280
|
Object.defineProperty(StreamRequest.prototype, "payload", {
|
|
11002
|
-
get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "createSceneAlteration", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "getStencilBuffer"]),
|
|
11281
|
+
get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "createSceneAlteration", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "getStencilBuffer", "resetView"]),
|
|
11003
11282
|
set: $util.oneOfSetter($oneOfFields)
|
|
11004
11283
|
});
|
|
11005
11284
|
|
|
@@ -11063,6 +11342,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
11063
11342
|
$root.vertexvis.protobuf.stream.UpdateCrossSectioningPayload.encode(message.updateCrossSectioning, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
|
|
11064
11343
|
if (message.getStencilBuffer != null && Object.hasOwnProperty.call(message, "getStencilBuffer"))
|
|
11065
11344
|
$root.vertexvis.protobuf.stream.GetStencilBufferPayload.encode(message.getStencilBuffer, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
|
|
11345
|
+
if (message.resetView != null && Object.hasOwnProperty.call(message, "resetView"))
|
|
11346
|
+
$root.vertexvis.protobuf.stream.ResetViewPlayload.encode(message.resetView, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
11066
11347
|
return writer;
|
|
11067
11348
|
};
|
|
11068
11349
|
|
|
@@ -11151,6 +11432,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
11151
11432
|
case 18:
|
|
11152
11433
|
message.getStencilBuffer = $root.vertexvis.protobuf.stream.GetStencilBufferPayload.decode(reader, reader.uint32());
|
|
11153
11434
|
break;
|
|
11435
|
+
case 19:
|
|
11436
|
+
message.resetView = $root.vertexvis.protobuf.stream.ResetViewPlayload.decode(reader, reader.uint32());
|
|
11437
|
+
break;
|
|
11154
11438
|
default:
|
|
11155
11439
|
reader.skipType(tag & 7);
|
|
11156
11440
|
break;
|
|
@@ -11360,6 +11644,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
11360
11644
|
return "getStencilBuffer." + error;
|
|
11361
11645
|
}
|
|
11362
11646
|
}
|
|
11647
|
+
if (message.resetView != null && message.hasOwnProperty("resetView")) {
|
|
11648
|
+
if (properties.payload === 1)
|
|
11649
|
+
return "payload: multiple values";
|
|
11650
|
+
properties.payload = 1;
|
|
11651
|
+
{
|
|
11652
|
+
let error = $root.vertexvis.protobuf.stream.ResetViewPlayload.verify(message.resetView);
|
|
11653
|
+
if (error)
|
|
11654
|
+
return "resetView." + error;
|
|
11655
|
+
}
|
|
11656
|
+
}
|
|
11363
11657
|
return null;
|
|
11364
11658
|
};
|
|
11365
11659
|
|
|
@@ -11465,6 +11759,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
11465
11759
|
throw TypeError(".vertexvis.protobuf.stream.StreamRequest.getStencilBuffer: object expected");
|
|
11466
11760
|
message.getStencilBuffer = $root.vertexvis.protobuf.stream.GetStencilBufferPayload.fromObject(object.getStencilBuffer);
|
|
11467
11761
|
}
|
|
11762
|
+
if (object.resetView != null) {
|
|
11763
|
+
if (typeof object.resetView !== "object")
|
|
11764
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamRequest.resetView: object expected");
|
|
11765
|
+
message.resetView = $root.vertexvis.protobuf.stream.ResetViewPlayload.fromObject(object.resetView);
|
|
11766
|
+
}
|
|
11468
11767
|
return message;
|
|
11469
11768
|
};
|
|
11470
11769
|
|
|
@@ -11570,6 +11869,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
11570
11869
|
if (options.oneofs)
|
|
11571
11870
|
object.payload = "getStencilBuffer";
|
|
11572
11871
|
}
|
|
11872
|
+
if (message.resetView != null && message.hasOwnProperty("resetView")) {
|
|
11873
|
+
object.resetView = $root.vertexvis.protobuf.stream.ResetViewPlayload.toObject(message.resetView, options);
|
|
11874
|
+
if (options.oneofs)
|
|
11875
|
+
object.payload = "resetView";
|
|
11876
|
+
}
|
|
11573
11877
|
return object;
|
|
11574
11878
|
};
|
|
11575
11879
|
|
|
@@ -13736,6 +14040,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13736
14040
|
* @property {Uint8Array|null} [image] DrawFramePayload image
|
|
13737
14041
|
* @property {Array.<string>|null} [frameCorrelationIds] DrawFramePayload frameCorrelationIds
|
|
13738
14042
|
* @property {google.protobuf.IBytesValue|null} [depthBuffer] DrawFramePayload depthBuffer
|
|
14043
|
+
* @property {google.protobuf.IBytesValue|null} [featureMap] DrawFramePayload featureMap
|
|
13739
14044
|
*/
|
|
13740
14045
|
|
|
13741
14046
|
/**
|
|
@@ -13802,6 +14107,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13802
14107
|
*/
|
|
13803
14108
|
DrawFramePayload.prototype.depthBuffer = null;
|
|
13804
14109
|
|
|
14110
|
+
/**
|
|
14111
|
+
* DrawFramePayload featureMap.
|
|
14112
|
+
* @member {google.protobuf.IBytesValue|null|undefined} featureMap
|
|
14113
|
+
* @memberof vertexvis.protobuf.stream.DrawFramePayload
|
|
14114
|
+
* @instance
|
|
14115
|
+
*/
|
|
14116
|
+
DrawFramePayload.prototype.featureMap = null;
|
|
14117
|
+
|
|
13805
14118
|
/**
|
|
13806
14119
|
* Creates a new DrawFramePayload instance using the specified properties.
|
|
13807
14120
|
* @function create
|
|
@@ -13839,6 +14152,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13839
14152
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.frameCorrelationIds[i]);
|
|
13840
14153
|
if (message.depthBuffer != null && Object.hasOwnProperty.call(message, "depthBuffer"))
|
|
13841
14154
|
$root.google.protobuf.BytesValue.encode(message.depthBuffer, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
14155
|
+
if (message.featureMap != null && Object.hasOwnProperty.call(message, "featureMap"))
|
|
14156
|
+
$root.google.protobuf.BytesValue.encode(message.featureMap, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
13842
14157
|
return writer;
|
|
13843
14158
|
};
|
|
13844
14159
|
|
|
@@ -13893,6 +14208,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13893
14208
|
case 6:
|
|
13894
14209
|
message.depthBuffer = $root.google.protobuf.BytesValue.decode(reader, reader.uint32());
|
|
13895
14210
|
break;
|
|
14211
|
+
case 7:
|
|
14212
|
+
message.featureMap = $root.google.protobuf.BytesValue.decode(reader, reader.uint32());
|
|
14213
|
+
break;
|
|
13896
14214
|
default:
|
|
13897
14215
|
reader.skipType(tag & 7);
|
|
13898
14216
|
break;
|
|
@@ -13956,6 +14274,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13956
14274
|
if (error)
|
|
13957
14275
|
return "depthBuffer." + error;
|
|
13958
14276
|
}
|
|
14277
|
+
if (message.featureMap != null && message.hasOwnProperty("featureMap")) {
|
|
14278
|
+
let error = $root.google.protobuf.BytesValue.verify(message.featureMap);
|
|
14279
|
+
if (error)
|
|
14280
|
+
return "featureMap." + error;
|
|
14281
|
+
}
|
|
13959
14282
|
return null;
|
|
13960
14283
|
};
|
|
13961
14284
|
|
|
@@ -14000,6 +14323,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14000
14323
|
throw TypeError(".vertexvis.protobuf.stream.DrawFramePayload.depthBuffer: object expected");
|
|
14001
14324
|
message.depthBuffer = $root.google.protobuf.BytesValue.fromObject(object.depthBuffer);
|
|
14002
14325
|
}
|
|
14326
|
+
if (object.featureMap != null) {
|
|
14327
|
+
if (typeof object.featureMap !== "object")
|
|
14328
|
+
throw TypeError(".vertexvis.protobuf.stream.DrawFramePayload.featureMap: object expected");
|
|
14329
|
+
message.featureMap = $root.google.protobuf.BytesValue.fromObject(object.featureMap);
|
|
14330
|
+
}
|
|
14003
14331
|
return message;
|
|
14004
14332
|
};
|
|
14005
14333
|
|
|
@@ -14030,6 +14358,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14030
14358
|
object.image = $util.newBuffer(object.image);
|
|
14031
14359
|
}
|
|
14032
14360
|
object.depthBuffer = null;
|
|
14361
|
+
object.featureMap = null;
|
|
14033
14362
|
}
|
|
14034
14363
|
if (message.sequenceNumber != null && message.hasOwnProperty("sequenceNumber"))
|
|
14035
14364
|
object.sequenceNumber = message.sequenceNumber;
|
|
@@ -14046,6 +14375,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14046
14375
|
}
|
|
14047
14376
|
if (message.depthBuffer != null && message.hasOwnProperty("depthBuffer"))
|
|
14048
14377
|
object.depthBuffer = $root.google.protobuf.BytesValue.toObject(message.depthBuffer, options);
|
|
14378
|
+
if (message.featureMap != null && message.hasOwnProperty("featureMap"))
|
|
14379
|
+
object.featureMap = $root.google.protobuf.BytesValue.toObject(message.featureMap, options);
|
|
14049
14380
|
return object;
|
|
14050
14381
|
};
|
|
14051
14382
|
|
|
@@ -15051,20 +15382,240 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15051
15382
|
/**
|
|
15052
15383
|
* Properties of a LoadSceneViewStatePayload.
|
|
15053
15384
|
* @memberof vertexvis.protobuf.stream
|
|
15054
|
-
* @interface ILoadSceneViewStatePayload
|
|
15055
|
-
* @property {vertexvis.protobuf.core.IUuid|null} [sceneViewStateId] LoadSceneViewStatePayload sceneViewStateId
|
|
15056
|
-
* @property {google.protobuf.IStringValue|null} [frameCorrelationId] LoadSceneViewStatePayload frameCorrelationId
|
|
15385
|
+
* @interface ILoadSceneViewStatePayload
|
|
15386
|
+
* @property {vertexvis.protobuf.core.IUuid|null} [sceneViewStateId] LoadSceneViewStatePayload sceneViewStateId
|
|
15387
|
+
* @property {google.protobuf.IStringValue|null} [frameCorrelationId] LoadSceneViewStatePayload frameCorrelationId
|
|
15388
|
+
*/
|
|
15389
|
+
|
|
15390
|
+
/**
|
|
15391
|
+
* Constructs a new LoadSceneViewStatePayload.
|
|
15392
|
+
* @memberof vertexvis.protobuf.stream
|
|
15393
|
+
* @classdesc Represents a LoadSceneViewStatePayload.
|
|
15394
|
+
* @implements ILoadSceneViewStatePayload
|
|
15395
|
+
* @constructor
|
|
15396
|
+
* @param {vertexvis.protobuf.stream.ILoadSceneViewStatePayload=} [properties] Properties to set
|
|
15397
|
+
*/
|
|
15398
|
+
function LoadSceneViewStatePayload(properties) {
|
|
15399
|
+
if (properties)
|
|
15400
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
15401
|
+
if (properties[keys[i]] != null)
|
|
15402
|
+
this[keys[i]] = properties[keys[i]];
|
|
15403
|
+
}
|
|
15404
|
+
|
|
15405
|
+
/**
|
|
15406
|
+
* LoadSceneViewStatePayload sceneViewStateId.
|
|
15407
|
+
* @member {vertexvis.protobuf.core.IUuid|null|undefined} sceneViewStateId
|
|
15408
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15409
|
+
* @instance
|
|
15410
|
+
*/
|
|
15411
|
+
LoadSceneViewStatePayload.prototype.sceneViewStateId = null;
|
|
15412
|
+
|
|
15413
|
+
/**
|
|
15414
|
+
* LoadSceneViewStatePayload frameCorrelationId.
|
|
15415
|
+
* @member {google.protobuf.IStringValue|null|undefined} frameCorrelationId
|
|
15416
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15417
|
+
* @instance
|
|
15418
|
+
*/
|
|
15419
|
+
LoadSceneViewStatePayload.prototype.frameCorrelationId = null;
|
|
15420
|
+
|
|
15421
|
+
/**
|
|
15422
|
+
* Creates a new LoadSceneViewStatePayload instance using the specified properties.
|
|
15423
|
+
* @function create
|
|
15424
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15425
|
+
* @static
|
|
15426
|
+
* @param {vertexvis.protobuf.stream.ILoadSceneViewStatePayload=} [properties] Properties to set
|
|
15427
|
+
* @returns {vertexvis.protobuf.stream.LoadSceneViewStatePayload} LoadSceneViewStatePayload instance
|
|
15428
|
+
*/
|
|
15429
|
+
LoadSceneViewStatePayload.create = function create(properties) {
|
|
15430
|
+
return new LoadSceneViewStatePayload(properties);
|
|
15431
|
+
};
|
|
15432
|
+
|
|
15433
|
+
/**
|
|
15434
|
+
* Encodes the specified LoadSceneViewStatePayload message. Does not implicitly {@link vertexvis.protobuf.stream.LoadSceneViewStatePayload.verify|verify} messages.
|
|
15435
|
+
* @function encode
|
|
15436
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15437
|
+
* @static
|
|
15438
|
+
* @param {vertexvis.protobuf.stream.ILoadSceneViewStatePayload} message LoadSceneViewStatePayload message or plain object to encode
|
|
15439
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15440
|
+
* @returns {$protobuf.Writer} Writer
|
|
15441
|
+
*/
|
|
15442
|
+
LoadSceneViewStatePayload.encode = function encode(message, writer) {
|
|
15443
|
+
if (!writer)
|
|
15444
|
+
writer = $Writer.create();
|
|
15445
|
+
if (message.sceneViewStateId != null && Object.hasOwnProperty.call(message, "sceneViewStateId"))
|
|
15446
|
+
$root.vertexvis.protobuf.core.Uuid.encode(message.sceneViewStateId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
15447
|
+
if (message.frameCorrelationId != null && Object.hasOwnProperty.call(message, "frameCorrelationId"))
|
|
15448
|
+
$root.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
15449
|
+
return writer;
|
|
15450
|
+
};
|
|
15451
|
+
|
|
15452
|
+
/**
|
|
15453
|
+
* Encodes the specified LoadSceneViewStatePayload message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.LoadSceneViewStatePayload.verify|verify} messages.
|
|
15454
|
+
* @function encodeDelimited
|
|
15455
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15456
|
+
* @static
|
|
15457
|
+
* @param {vertexvis.protobuf.stream.ILoadSceneViewStatePayload} message LoadSceneViewStatePayload message or plain object to encode
|
|
15458
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15459
|
+
* @returns {$protobuf.Writer} Writer
|
|
15460
|
+
*/
|
|
15461
|
+
LoadSceneViewStatePayload.encodeDelimited = function encodeDelimited(message, writer) {
|
|
15462
|
+
return this.encode(message, writer).ldelim();
|
|
15463
|
+
};
|
|
15464
|
+
|
|
15465
|
+
/**
|
|
15466
|
+
* Decodes a LoadSceneViewStatePayload message from the specified reader or buffer.
|
|
15467
|
+
* @function decode
|
|
15468
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15469
|
+
* @static
|
|
15470
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15471
|
+
* @param {number} [length] Message length if known beforehand
|
|
15472
|
+
* @returns {vertexvis.protobuf.stream.LoadSceneViewStatePayload} LoadSceneViewStatePayload
|
|
15473
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15474
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15475
|
+
*/
|
|
15476
|
+
LoadSceneViewStatePayload.decode = function decode(reader, length) {
|
|
15477
|
+
if (!(reader instanceof $Reader))
|
|
15478
|
+
reader = $Reader.create(reader);
|
|
15479
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.LoadSceneViewStatePayload();
|
|
15480
|
+
while (reader.pos < end) {
|
|
15481
|
+
let tag = reader.uint32();
|
|
15482
|
+
switch (tag >>> 3) {
|
|
15483
|
+
case 1:
|
|
15484
|
+
message.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.decode(reader, reader.uint32());
|
|
15485
|
+
break;
|
|
15486
|
+
case 2:
|
|
15487
|
+
message.frameCorrelationId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
|
|
15488
|
+
break;
|
|
15489
|
+
default:
|
|
15490
|
+
reader.skipType(tag & 7);
|
|
15491
|
+
break;
|
|
15492
|
+
}
|
|
15493
|
+
}
|
|
15494
|
+
return message;
|
|
15495
|
+
};
|
|
15496
|
+
|
|
15497
|
+
/**
|
|
15498
|
+
* Decodes a LoadSceneViewStatePayload message from the specified reader or buffer, length delimited.
|
|
15499
|
+
* @function decodeDelimited
|
|
15500
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15501
|
+
* @static
|
|
15502
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15503
|
+
* @returns {vertexvis.protobuf.stream.LoadSceneViewStatePayload} LoadSceneViewStatePayload
|
|
15504
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15505
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15506
|
+
*/
|
|
15507
|
+
LoadSceneViewStatePayload.decodeDelimited = function decodeDelimited(reader) {
|
|
15508
|
+
if (!(reader instanceof $Reader))
|
|
15509
|
+
reader = new $Reader(reader);
|
|
15510
|
+
return this.decode(reader, reader.uint32());
|
|
15511
|
+
};
|
|
15512
|
+
|
|
15513
|
+
/**
|
|
15514
|
+
* Verifies a LoadSceneViewStatePayload message.
|
|
15515
|
+
* @function verify
|
|
15516
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15517
|
+
* @static
|
|
15518
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
15519
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
15520
|
+
*/
|
|
15521
|
+
LoadSceneViewStatePayload.verify = function verify(message) {
|
|
15522
|
+
if (typeof message !== "object" || message === null)
|
|
15523
|
+
return "object expected";
|
|
15524
|
+
if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId")) {
|
|
15525
|
+
let error = $root.vertexvis.protobuf.core.Uuid.verify(message.sceneViewStateId);
|
|
15526
|
+
if (error)
|
|
15527
|
+
return "sceneViewStateId." + error;
|
|
15528
|
+
}
|
|
15529
|
+
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId")) {
|
|
15530
|
+
let error = $root.google.protobuf.StringValue.verify(message.frameCorrelationId);
|
|
15531
|
+
if (error)
|
|
15532
|
+
return "frameCorrelationId." + error;
|
|
15533
|
+
}
|
|
15534
|
+
return null;
|
|
15535
|
+
};
|
|
15536
|
+
|
|
15537
|
+
/**
|
|
15538
|
+
* Creates a LoadSceneViewStatePayload message from a plain object. Also converts values to their respective internal types.
|
|
15539
|
+
* @function fromObject
|
|
15540
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15541
|
+
* @static
|
|
15542
|
+
* @param {Object.<string,*>} object Plain object
|
|
15543
|
+
* @returns {vertexvis.protobuf.stream.LoadSceneViewStatePayload} LoadSceneViewStatePayload
|
|
15544
|
+
*/
|
|
15545
|
+
LoadSceneViewStatePayload.fromObject = function fromObject(object) {
|
|
15546
|
+
if (object instanceof $root.vertexvis.protobuf.stream.LoadSceneViewStatePayload)
|
|
15547
|
+
return object;
|
|
15548
|
+
let message = new $root.vertexvis.protobuf.stream.LoadSceneViewStatePayload();
|
|
15549
|
+
if (object.sceneViewStateId != null) {
|
|
15550
|
+
if (typeof object.sceneViewStateId !== "object")
|
|
15551
|
+
throw TypeError(".vertexvis.protobuf.stream.LoadSceneViewStatePayload.sceneViewStateId: object expected");
|
|
15552
|
+
message.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.fromObject(object.sceneViewStateId);
|
|
15553
|
+
}
|
|
15554
|
+
if (object.frameCorrelationId != null) {
|
|
15555
|
+
if (typeof object.frameCorrelationId !== "object")
|
|
15556
|
+
throw TypeError(".vertexvis.protobuf.stream.LoadSceneViewStatePayload.frameCorrelationId: object expected");
|
|
15557
|
+
message.frameCorrelationId = $root.google.protobuf.StringValue.fromObject(object.frameCorrelationId);
|
|
15558
|
+
}
|
|
15559
|
+
return message;
|
|
15560
|
+
};
|
|
15561
|
+
|
|
15562
|
+
/**
|
|
15563
|
+
* Creates a plain object from a LoadSceneViewStatePayload message. Also converts values to other types if specified.
|
|
15564
|
+
* @function toObject
|
|
15565
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15566
|
+
* @static
|
|
15567
|
+
* @param {vertexvis.protobuf.stream.LoadSceneViewStatePayload} message LoadSceneViewStatePayload
|
|
15568
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
15569
|
+
* @returns {Object.<string,*>} Plain object
|
|
15570
|
+
*/
|
|
15571
|
+
LoadSceneViewStatePayload.toObject = function toObject(message, options) {
|
|
15572
|
+
if (!options)
|
|
15573
|
+
options = {};
|
|
15574
|
+
let object = {};
|
|
15575
|
+
if (options.defaults) {
|
|
15576
|
+
object.sceneViewStateId = null;
|
|
15577
|
+
object.frameCorrelationId = null;
|
|
15578
|
+
}
|
|
15579
|
+
if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId"))
|
|
15580
|
+
object.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.toObject(message.sceneViewStateId, options);
|
|
15581
|
+
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
|
|
15582
|
+
object.frameCorrelationId = $root.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
|
|
15583
|
+
return object;
|
|
15584
|
+
};
|
|
15585
|
+
|
|
15586
|
+
/**
|
|
15587
|
+
* Converts this LoadSceneViewStatePayload to JSON.
|
|
15588
|
+
* @function toJSON
|
|
15589
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15590
|
+
* @instance
|
|
15591
|
+
* @returns {Object.<string,*>} JSON object
|
|
15592
|
+
*/
|
|
15593
|
+
LoadSceneViewStatePayload.prototype.toJSON = function toJSON() {
|
|
15594
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
15595
|
+
};
|
|
15596
|
+
|
|
15597
|
+
return LoadSceneViewStatePayload;
|
|
15598
|
+
})();
|
|
15599
|
+
|
|
15600
|
+
stream.ResetViewPlayload = (function() {
|
|
15601
|
+
|
|
15602
|
+
/**
|
|
15603
|
+
* Properties of a ResetViewPlayload.
|
|
15604
|
+
* @memberof vertexvis.protobuf.stream
|
|
15605
|
+
* @interface IResetViewPlayload
|
|
15606
|
+
* @property {google.protobuf.IStringValue|null} [frameCorrelationId] ResetViewPlayload frameCorrelationId
|
|
15607
|
+
* @property {boolean|null} [includeCamera] ResetViewPlayload includeCamera
|
|
15057
15608
|
*/
|
|
15058
15609
|
|
|
15059
15610
|
/**
|
|
15060
|
-
* Constructs a new
|
|
15611
|
+
* Constructs a new ResetViewPlayload.
|
|
15061
15612
|
* @memberof vertexvis.protobuf.stream
|
|
15062
|
-
* @classdesc Represents a
|
|
15063
|
-
* @implements
|
|
15613
|
+
* @classdesc Represents a ResetViewPlayload.
|
|
15614
|
+
* @implements IResetViewPlayload
|
|
15064
15615
|
* @constructor
|
|
15065
|
-
* @param {vertexvis.protobuf.stream.
|
|
15616
|
+
* @param {vertexvis.protobuf.stream.IResetViewPlayload=} [properties] Properties to set
|
|
15066
15617
|
*/
|
|
15067
|
-
function
|
|
15618
|
+
function ResetViewPlayload(properties) {
|
|
15068
15619
|
if (properties)
|
|
15069
15620
|
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
15070
15621
|
if (properties[keys[i]] != null)
|
|
@@ -15072,88 +15623,88 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15072
15623
|
}
|
|
15073
15624
|
|
|
15074
15625
|
/**
|
|
15075
|
-
*
|
|
15076
|
-
* @member {
|
|
15077
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15626
|
+
* ResetViewPlayload frameCorrelationId.
|
|
15627
|
+
* @member {google.protobuf.IStringValue|null|undefined} frameCorrelationId
|
|
15628
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15078
15629
|
* @instance
|
|
15079
15630
|
*/
|
|
15080
|
-
|
|
15631
|
+
ResetViewPlayload.prototype.frameCorrelationId = null;
|
|
15081
15632
|
|
|
15082
15633
|
/**
|
|
15083
|
-
*
|
|
15084
|
-
* @member {
|
|
15085
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15634
|
+
* ResetViewPlayload includeCamera.
|
|
15635
|
+
* @member {boolean} includeCamera
|
|
15636
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15086
15637
|
* @instance
|
|
15087
15638
|
*/
|
|
15088
|
-
|
|
15639
|
+
ResetViewPlayload.prototype.includeCamera = false;
|
|
15089
15640
|
|
|
15090
15641
|
/**
|
|
15091
|
-
* Creates a new
|
|
15642
|
+
* Creates a new ResetViewPlayload instance using the specified properties.
|
|
15092
15643
|
* @function create
|
|
15093
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15644
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15094
15645
|
* @static
|
|
15095
|
-
* @param {vertexvis.protobuf.stream.
|
|
15096
|
-
* @returns {vertexvis.protobuf.stream.
|
|
15646
|
+
* @param {vertexvis.protobuf.stream.IResetViewPlayload=} [properties] Properties to set
|
|
15647
|
+
* @returns {vertexvis.protobuf.stream.ResetViewPlayload} ResetViewPlayload instance
|
|
15097
15648
|
*/
|
|
15098
|
-
|
|
15099
|
-
return new
|
|
15649
|
+
ResetViewPlayload.create = function create(properties) {
|
|
15650
|
+
return new ResetViewPlayload(properties);
|
|
15100
15651
|
};
|
|
15101
15652
|
|
|
15102
15653
|
/**
|
|
15103
|
-
* Encodes the specified
|
|
15654
|
+
* Encodes the specified ResetViewPlayload message. Does not implicitly {@link vertexvis.protobuf.stream.ResetViewPlayload.verify|verify} messages.
|
|
15104
15655
|
* @function encode
|
|
15105
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15656
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15106
15657
|
* @static
|
|
15107
|
-
* @param {vertexvis.protobuf.stream.
|
|
15658
|
+
* @param {vertexvis.protobuf.stream.IResetViewPlayload} message ResetViewPlayload message or plain object to encode
|
|
15108
15659
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15109
15660
|
* @returns {$protobuf.Writer} Writer
|
|
15110
15661
|
*/
|
|
15111
|
-
|
|
15662
|
+
ResetViewPlayload.encode = function encode(message, writer) {
|
|
15112
15663
|
if (!writer)
|
|
15113
15664
|
writer = $Writer.create();
|
|
15114
|
-
if (message.sceneViewStateId != null && Object.hasOwnProperty.call(message, "sceneViewStateId"))
|
|
15115
|
-
$root.vertexvis.protobuf.core.Uuid.encode(message.sceneViewStateId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
15116
15665
|
if (message.frameCorrelationId != null && Object.hasOwnProperty.call(message, "frameCorrelationId"))
|
|
15117
|
-
$root.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id
|
|
15666
|
+
$root.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
15667
|
+
if (message.includeCamera != null && Object.hasOwnProperty.call(message, "includeCamera"))
|
|
15668
|
+
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.includeCamera);
|
|
15118
15669
|
return writer;
|
|
15119
15670
|
};
|
|
15120
15671
|
|
|
15121
15672
|
/**
|
|
15122
|
-
* Encodes the specified
|
|
15673
|
+
* Encodes the specified ResetViewPlayload message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.ResetViewPlayload.verify|verify} messages.
|
|
15123
15674
|
* @function encodeDelimited
|
|
15124
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15675
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15125
15676
|
* @static
|
|
15126
|
-
* @param {vertexvis.protobuf.stream.
|
|
15677
|
+
* @param {vertexvis.protobuf.stream.IResetViewPlayload} message ResetViewPlayload message or plain object to encode
|
|
15127
15678
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15128
15679
|
* @returns {$protobuf.Writer} Writer
|
|
15129
15680
|
*/
|
|
15130
|
-
|
|
15681
|
+
ResetViewPlayload.encodeDelimited = function encodeDelimited(message, writer) {
|
|
15131
15682
|
return this.encode(message, writer).ldelim();
|
|
15132
15683
|
};
|
|
15133
15684
|
|
|
15134
15685
|
/**
|
|
15135
|
-
* Decodes a
|
|
15686
|
+
* Decodes a ResetViewPlayload message from the specified reader or buffer.
|
|
15136
15687
|
* @function decode
|
|
15137
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15688
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15138
15689
|
* @static
|
|
15139
15690
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15140
15691
|
* @param {number} [length] Message length if known beforehand
|
|
15141
|
-
* @returns {vertexvis.protobuf.stream.
|
|
15692
|
+
* @returns {vertexvis.protobuf.stream.ResetViewPlayload} ResetViewPlayload
|
|
15142
15693
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15143
15694
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15144
15695
|
*/
|
|
15145
|
-
|
|
15696
|
+
ResetViewPlayload.decode = function decode(reader, length) {
|
|
15146
15697
|
if (!(reader instanceof $Reader))
|
|
15147
15698
|
reader = $Reader.create(reader);
|
|
15148
|
-
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.
|
|
15699
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.ResetViewPlayload();
|
|
15149
15700
|
while (reader.pos < end) {
|
|
15150
15701
|
let tag = reader.uint32();
|
|
15151
15702
|
switch (tag >>> 3) {
|
|
15152
15703
|
case 1:
|
|
15153
|
-
message.
|
|
15704
|
+
message.frameCorrelationId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
|
|
15154
15705
|
break;
|
|
15155
15706
|
case 2:
|
|
15156
|
-
message.
|
|
15707
|
+
message.includeCamera = reader.bool();
|
|
15157
15708
|
break;
|
|
15158
15709
|
default:
|
|
15159
15710
|
reader.skipType(tag & 7);
|
|
@@ -15164,106 +15715,101 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15164
15715
|
};
|
|
15165
15716
|
|
|
15166
15717
|
/**
|
|
15167
|
-
* Decodes a
|
|
15718
|
+
* Decodes a ResetViewPlayload message from the specified reader or buffer, length delimited.
|
|
15168
15719
|
* @function decodeDelimited
|
|
15169
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15720
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15170
15721
|
* @static
|
|
15171
15722
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15172
|
-
* @returns {vertexvis.protobuf.stream.
|
|
15723
|
+
* @returns {vertexvis.protobuf.stream.ResetViewPlayload} ResetViewPlayload
|
|
15173
15724
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15174
15725
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15175
15726
|
*/
|
|
15176
|
-
|
|
15727
|
+
ResetViewPlayload.decodeDelimited = function decodeDelimited(reader) {
|
|
15177
15728
|
if (!(reader instanceof $Reader))
|
|
15178
15729
|
reader = new $Reader(reader);
|
|
15179
15730
|
return this.decode(reader, reader.uint32());
|
|
15180
15731
|
};
|
|
15181
15732
|
|
|
15182
15733
|
/**
|
|
15183
|
-
* Verifies a
|
|
15734
|
+
* Verifies a ResetViewPlayload message.
|
|
15184
15735
|
* @function verify
|
|
15185
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15736
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15186
15737
|
* @static
|
|
15187
15738
|
* @param {Object.<string,*>} message Plain object to verify
|
|
15188
15739
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
15189
15740
|
*/
|
|
15190
|
-
|
|
15741
|
+
ResetViewPlayload.verify = function verify(message) {
|
|
15191
15742
|
if (typeof message !== "object" || message === null)
|
|
15192
15743
|
return "object expected";
|
|
15193
|
-
if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId")) {
|
|
15194
|
-
let error = $root.vertexvis.protobuf.core.Uuid.verify(message.sceneViewStateId);
|
|
15195
|
-
if (error)
|
|
15196
|
-
return "sceneViewStateId." + error;
|
|
15197
|
-
}
|
|
15198
15744
|
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId")) {
|
|
15199
15745
|
let error = $root.google.protobuf.StringValue.verify(message.frameCorrelationId);
|
|
15200
15746
|
if (error)
|
|
15201
15747
|
return "frameCorrelationId." + error;
|
|
15202
15748
|
}
|
|
15749
|
+
if (message.includeCamera != null && message.hasOwnProperty("includeCamera"))
|
|
15750
|
+
if (typeof message.includeCamera !== "boolean")
|
|
15751
|
+
return "includeCamera: boolean expected";
|
|
15203
15752
|
return null;
|
|
15204
15753
|
};
|
|
15205
15754
|
|
|
15206
15755
|
/**
|
|
15207
|
-
* Creates a
|
|
15756
|
+
* Creates a ResetViewPlayload message from a plain object. Also converts values to their respective internal types.
|
|
15208
15757
|
* @function fromObject
|
|
15209
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15758
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15210
15759
|
* @static
|
|
15211
15760
|
* @param {Object.<string,*>} object Plain object
|
|
15212
|
-
* @returns {vertexvis.protobuf.stream.
|
|
15761
|
+
* @returns {vertexvis.protobuf.stream.ResetViewPlayload} ResetViewPlayload
|
|
15213
15762
|
*/
|
|
15214
|
-
|
|
15215
|
-
if (object instanceof $root.vertexvis.protobuf.stream.
|
|
15763
|
+
ResetViewPlayload.fromObject = function fromObject(object) {
|
|
15764
|
+
if (object instanceof $root.vertexvis.protobuf.stream.ResetViewPlayload)
|
|
15216
15765
|
return object;
|
|
15217
|
-
let message = new $root.vertexvis.protobuf.stream.
|
|
15218
|
-
if (object.sceneViewStateId != null) {
|
|
15219
|
-
if (typeof object.sceneViewStateId !== "object")
|
|
15220
|
-
throw TypeError(".vertexvis.protobuf.stream.LoadSceneViewStatePayload.sceneViewStateId: object expected");
|
|
15221
|
-
message.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.fromObject(object.sceneViewStateId);
|
|
15222
|
-
}
|
|
15766
|
+
let message = new $root.vertexvis.protobuf.stream.ResetViewPlayload();
|
|
15223
15767
|
if (object.frameCorrelationId != null) {
|
|
15224
15768
|
if (typeof object.frameCorrelationId !== "object")
|
|
15225
|
-
throw TypeError(".vertexvis.protobuf.stream.
|
|
15769
|
+
throw TypeError(".vertexvis.protobuf.stream.ResetViewPlayload.frameCorrelationId: object expected");
|
|
15226
15770
|
message.frameCorrelationId = $root.google.protobuf.StringValue.fromObject(object.frameCorrelationId);
|
|
15227
15771
|
}
|
|
15772
|
+
if (object.includeCamera != null)
|
|
15773
|
+
message.includeCamera = Boolean(object.includeCamera);
|
|
15228
15774
|
return message;
|
|
15229
15775
|
};
|
|
15230
15776
|
|
|
15231
15777
|
/**
|
|
15232
|
-
* Creates a plain object from a
|
|
15778
|
+
* Creates a plain object from a ResetViewPlayload message. Also converts values to other types if specified.
|
|
15233
15779
|
* @function toObject
|
|
15234
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15780
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15235
15781
|
* @static
|
|
15236
|
-
* @param {vertexvis.protobuf.stream.
|
|
15782
|
+
* @param {vertexvis.protobuf.stream.ResetViewPlayload} message ResetViewPlayload
|
|
15237
15783
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
15238
15784
|
* @returns {Object.<string,*>} Plain object
|
|
15239
15785
|
*/
|
|
15240
|
-
|
|
15786
|
+
ResetViewPlayload.toObject = function toObject(message, options) {
|
|
15241
15787
|
if (!options)
|
|
15242
15788
|
options = {};
|
|
15243
15789
|
let object = {};
|
|
15244
15790
|
if (options.defaults) {
|
|
15245
|
-
object.sceneViewStateId = null;
|
|
15246
15791
|
object.frameCorrelationId = null;
|
|
15792
|
+
object.includeCamera = false;
|
|
15247
15793
|
}
|
|
15248
|
-
if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId"))
|
|
15249
|
-
object.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.toObject(message.sceneViewStateId, options);
|
|
15250
15794
|
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
|
|
15251
15795
|
object.frameCorrelationId = $root.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
|
|
15796
|
+
if (message.includeCamera != null && message.hasOwnProperty("includeCamera"))
|
|
15797
|
+
object.includeCamera = message.includeCamera;
|
|
15252
15798
|
return object;
|
|
15253
15799
|
};
|
|
15254
15800
|
|
|
15255
15801
|
/**
|
|
15256
|
-
* Converts this
|
|
15802
|
+
* Converts this ResetViewPlayload to JSON.
|
|
15257
15803
|
* @function toJSON
|
|
15258
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15804
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15259
15805
|
* @instance
|
|
15260
15806
|
* @returns {Object.<string,*>} JSON object
|
|
15261
15807
|
*/
|
|
15262
|
-
|
|
15808
|
+
ResetViewPlayload.prototype.toJSON = function toJSON() {
|
|
15263
15809
|
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
15264
15810
|
};
|
|
15265
15811
|
|
|
15266
|
-
return
|
|
15812
|
+
return ResetViewPlayload;
|
|
15267
15813
|
})();
|
|
15268
15814
|
|
|
15269
15815
|
stream.UpdateCrossSectioningPayload = (function() {
|
|
@@ -15492,6 +16038,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15492
16038
|
* Properties of a GetStencilBufferPayload.
|
|
15493
16039
|
* @memberof vertexvis.protobuf.stream
|
|
15494
16040
|
* @interface IGetStencilBufferPayload
|
|
16041
|
+
* @property {boolean|null} [includeDepthBuffer] GetStencilBufferPayload includeDepthBuffer
|
|
15495
16042
|
*/
|
|
15496
16043
|
|
|
15497
16044
|
/**
|
|
@@ -15509,6 +16056,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15509
16056
|
this[keys[i]] = properties[keys[i]];
|
|
15510
16057
|
}
|
|
15511
16058
|
|
|
16059
|
+
/**
|
|
16060
|
+
* GetStencilBufferPayload includeDepthBuffer.
|
|
16061
|
+
* @member {boolean} includeDepthBuffer
|
|
16062
|
+
* @memberof vertexvis.protobuf.stream.GetStencilBufferPayload
|
|
16063
|
+
* @instance
|
|
16064
|
+
*/
|
|
16065
|
+
GetStencilBufferPayload.prototype.includeDepthBuffer = false;
|
|
16066
|
+
|
|
15512
16067
|
/**
|
|
15513
16068
|
* Creates a new GetStencilBufferPayload instance using the specified properties.
|
|
15514
16069
|
* @function create
|
|
@@ -15533,6 +16088,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15533
16088
|
GetStencilBufferPayload.encode = function encode(message, writer) {
|
|
15534
16089
|
if (!writer)
|
|
15535
16090
|
writer = $Writer.create();
|
|
16091
|
+
if (message.includeDepthBuffer != null && Object.hasOwnProperty.call(message, "includeDepthBuffer"))
|
|
16092
|
+
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.includeDepthBuffer);
|
|
15536
16093
|
return writer;
|
|
15537
16094
|
};
|
|
15538
16095
|
|
|
@@ -15567,6 +16124,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15567
16124
|
while (reader.pos < end) {
|
|
15568
16125
|
let tag = reader.uint32();
|
|
15569
16126
|
switch (tag >>> 3) {
|
|
16127
|
+
case 1:
|
|
16128
|
+
message.includeDepthBuffer = reader.bool();
|
|
16129
|
+
break;
|
|
15570
16130
|
default:
|
|
15571
16131
|
reader.skipType(tag & 7);
|
|
15572
16132
|
break;
|
|
@@ -15602,6 +16162,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15602
16162
|
GetStencilBufferPayload.verify = function verify(message) {
|
|
15603
16163
|
if (typeof message !== "object" || message === null)
|
|
15604
16164
|
return "object expected";
|
|
16165
|
+
if (message.includeDepthBuffer != null && message.hasOwnProperty("includeDepthBuffer"))
|
|
16166
|
+
if (typeof message.includeDepthBuffer !== "boolean")
|
|
16167
|
+
return "includeDepthBuffer: boolean expected";
|
|
15605
16168
|
return null;
|
|
15606
16169
|
};
|
|
15607
16170
|
|
|
@@ -15616,7 +16179,10 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15616
16179
|
GetStencilBufferPayload.fromObject = function fromObject(object) {
|
|
15617
16180
|
if (object instanceof $root.vertexvis.protobuf.stream.GetStencilBufferPayload)
|
|
15618
16181
|
return object;
|
|
15619
|
-
|
|
16182
|
+
let message = new $root.vertexvis.protobuf.stream.GetStencilBufferPayload();
|
|
16183
|
+
if (object.includeDepthBuffer != null)
|
|
16184
|
+
message.includeDepthBuffer = Boolean(object.includeDepthBuffer);
|
|
16185
|
+
return message;
|
|
15620
16186
|
};
|
|
15621
16187
|
|
|
15622
16188
|
/**
|
|
@@ -15628,8 +16194,15 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15628
16194
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
15629
16195
|
* @returns {Object.<string,*>} Plain object
|
|
15630
16196
|
*/
|
|
15631
|
-
GetStencilBufferPayload.toObject = function toObject() {
|
|
15632
|
-
|
|
16197
|
+
GetStencilBufferPayload.toObject = function toObject(message, options) {
|
|
16198
|
+
if (!options)
|
|
16199
|
+
options = {};
|
|
16200
|
+
let object = {};
|
|
16201
|
+
if (options.defaults)
|
|
16202
|
+
object.includeDepthBuffer = false;
|
|
16203
|
+
if (message.includeDepthBuffer != null && message.hasOwnProperty("includeDepthBuffer"))
|
|
16204
|
+
object.includeDepthBuffer = message.includeDepthBuffer;
|
|
16205
|
+
return object;
|
|
15633
16206
|
};
|
|
15634
16207
|
|
|
15635
16208
|
/**
|
|
@@ -15669,6 +16242,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15669
16242
|
* @property {vertexvis.protobuf.stream.ILoadSceneViewStateResult|null} [loadSceneViewState] StreamResponse loadSceneViewState
|
|
15670
16243
|
* @property {vertexvis.protobuf.stream.IUpdateCrossSectioningResult|null} [updateCrossSectioning] StreamResponse updateCrossSectioning
|
|
15671
16244
|
* @property {vertexvis.protobuf.stream.IGetStencilBufferResult|null} [stencilBuffer] StreamResponse stencilBuffer
|
|
16245
|
+
* @property {vertexvis.protobuf.stream.IResetViewResult|null} [resetView] StreamResponse resetView
|
|
15672
16246
|
*/
|
|
15673
16247
|
|
|
15674
16248
|
/**
|
|
@@ -15822,17 +16396,25 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15822
16396
|
*/
|
|
15823
16397
|
StreamResponse.prototype.stencilBuffer = null;
|
|
15824
16398
|
|
|
16399
|
+
/**
|
|
16400
|
+
* StreamResponse resetView.
|
|
16401
|
+
* @member {vertexvis.protobuf.stream.IResetViewResult|null|undefined} resetView
|
|
16402
|
+
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
16403
|
+
* @instance
|
|
16404
|
+
*/
|
|
16405
|
+
StreamResponse.prototype.resetView = null;
|
|
16406
|
+
|
|
15825
16407
|
// OneOf field names bound to virtual getters and setters
|
|
15826
16408
|
let $oneOfFields;
|
|
15827
16409
|
|
|
15828
16410
|
/**
|
|
15829
16411
|
* StreamResponse result.
|
|
15830
|
-
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"reconnect"|"hitItems"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"stencilBuffer"|undefined} result
|
|
16412
|
+
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"reconnect"|"hitItems"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"stencilBuffer"|"resetView"|undefined} result
|
|
15831
16413
|
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
15832
16414
|
* @instance
|
|
15833
16415
|
*/
|
|
15834
16416
|
Object.defineProperty(StreamResponse.prototype, "result", {
|
|
15835
|
-
get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "reconnect", "hitItems", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "stencilBuffer"]),
|
|
16417
|
+
get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "reconnect", "hitItems", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "stencilBuffer", "resetView"]),
|
|
15836
16418
|
set: $util.oneOfSetter($oneOfFields)
|
|
15837
16419
|
});
|
|
15838
16420
|
|
|
@@ -15894,6 +16476,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15894
16476
|
$root.vertexvis.protobuf.stream.UpdateCrossSectioningResult.encode(message.updateCrossSectioning, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
|
|
15895
16477
|
if (message.stencilBuffer != null && Object.hasOwnProperty.call(message, "stencilBuffer"))
|
|
15896
16478
|
$root.vertexvis.protobuf.stream.GetStencilBufferResult.encode(message.stencilBuffer, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
|
|
16479
|
+
if (message.resetView != null && Object.hasOwnProperty.call(message, "resetView"))
|
|
16480
|
+
$root.vertexvis.protobuf.stream.ResetViewResult.encode(message.resetView, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
|
|
15897
16481
|
return writer;
|
|
15898
16482
|
};
|
|
15899
16483
|
|
|
@@ -15979,6 +16563,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15979
16563
|
case 17:
|
|
15980
16564
|
message.stencilBuffer = $root.vertexvis.protobuf.stream.GetStencilBufferResult.decode(reader, reader.uint32());
|
|
15981
16565
|
break;
|
|
16566
|
+
case 18:
|
|
16567
|
+
message.resetView = $root.vertexvis.protobuf.stream.ResetViewResult.decode(reader, reader.uint32());
|
|
16568
|
+
break;
|
|
15982
16569
|
default:
|
|
15983
16570
|
reader.skipType(tag & 7);
|
|
15984
16571
|
break;
|
|
@@ -16173,6 +16760,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
16173
16760
|
return "stencilBuffer." + error;
|
|
16174
16761
|
}
|
|
16175
16762
|
}
|
|
16763
|
+
if (message.resetView != null && message.hasOwnProperty("resetView")) {
|
|
16764
|
+
if (properties.result === 1)
|
|
16765
|
+
return "result: multiple values";
|
|
16766
|
+
properties.result = 1;
|
|
16767
|
+
{
|
|
16768
|
+
let error = $root.vertexvis.protobuf.stream.ResetViewResult.verify(message.resetView);
|
|
16769
|
+
if (error)
|
|
16770
|
+
return "resetView." + error;
|
|
16771
|
+
}
|
|
16772
|
+
}
|
|
16176
16773
|
return null;
|
|
16177
16774
|
};
|
|
16178
16775
|
|
|
@@ -16273,6 +16870,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
16273
16870
|
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.stencilBuffer: object expected");
|
|
16274
16871
|
message.stencilBuffer = $root.vertexvis.protobuf.stream.GetStencilBufferResult.fromObject(object.stencilBuffer);
|
|
16275
16872
|
}
|
|
16873
|
+
if (object.resetView != null) {
|
|
16874
|
+
if (typeof object.resetView !== "object")
|
|
16875
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.resetView: object expected");
|
|
16876
|
+
message.resetView = $root.vertexvis.protobuf.stream.ResetViewResult.fromObject(object.resetView);
|
|
16877
|
+
}
|
|
16276
16878
|
return message;
|
|
16277
16879
|
};
|
|
16278
16880
|
|
|
@@ -16372,6 +16974,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
16372
16974
|
if (options.oneofs)
|
|
16373
16975
|
object.result = "stencilBuffer";
|
|
16374
16976
|
}
|
|
16977
|
+
if (message.resetView != null && message.hasOwnProperty("resetView")) {
|
|
16978
|
+
object.resetView = $root.vertexvis.protobuf.stream.ResetViewResult.toObject(message.resetView, options);
|
|
16979
|
+
if (options.oneofs)
|
|
16980
|
+
object.result = "resetView";
|
|
16981
|
+
}
|
|
16375
16982
|
return object;
|
|
16376
16983
|
};
|
|
16377
16984
|
|
|
@@ -18840,6 +19447,166 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18840
19447
|
return LoadSceneViewStateResult;
|
|
18841
19448
|
})();
|
|
18842
19449
|
|
|
19450
|
+
stream.ResetViewResult = (function() {
|
|
19451
|
+
|
|
19452
|
+
/**
|
|
19453
|
+
* Properties of a ResetViewResult.
|
|
19454
|
+
* @memberof vertexvis.protobuf.stream
|
|
19455
|
+
* @interface IResetViewResult
|
|
19456
|
+
*/
|
|
19457
|
+
|
|
19458
|
+
/**
|
|
19459
|
+
* Constructs a new ResetViewResult.
|
|
19460
|
+
* @memberof vertexvis.protobuf.stream
|
|
19461
|
+
* @classdesc Represents a ResetViewResult.
|
|
19462
|
+
* @implements IResetViewResult
|
|
19463
|
+
* @constructor
|
|
19464
|
+
* @param {vertexvis.protobuf.stream.IResetViewResult=} [properties] Properties to set
|
|
19465
|
+
*/
|
|
19466
|
+
function ResetViewResult(properties) {
|
|
19467
|
+
if (properties)
|
|
19468
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
19469
|
+
if (properties[keys[i]] != null)
|
|
19470
|
+
this[keys[i]] = properties[keys[i]];
|
|
19471
|
+
}
|
|
19472
|
+
|
|
19473
|
+
/**
|
|
19474
|
+
* Creates a new ResetViewResult instance using the specified properties.
|
|
19475
|
+
* @function create
|
|
19476
|
+
* @memberof vertexvis.protobuf.stream.ResetViewResult
|
|
19477
|
+
* @static
|
|
19478
|
+
* @param {vertexvis.protobuf.stream.IResetViewResult=} [properties] Properties to set
|
|
19479
|
+
* @returns {vertexvis.protobuf.stream.ResetViewResult} ResetViewResult instance
|
|
19480
|
+
*/
|
|
19481
|
+
ResetViewResult.create = function create(properties) {
|
|
19482
|
+
return new ResetViewResult(properties);
|
|
19483
|
+
};
|
|
19484
|
+
|
|
19485
|
+
/**
|
|
19486
|
+
* Encodes the specified ResetViewResult message. Does not implicitly {@link vertexvis.protobuf.stream.ResetViewResult.verify|verify} messages.
|
|
19487
|
+
* @function encode
|
|
19488
|
+
* @memberof vertexvis.protobuf.stream.ResetViewResult
|
|
19489
|
+
* @static
|
|
19490
|
+
* @param {vertexvis.protobuf.stream.IResetViewResult} message ResetViewResult message or plain object to encode
|
|
19491
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
19492
|
+
* @returns {$protobuf.Writer} Writer
|
|
19493
|
+
*/
|
|
19494
|
+
ResetViewResult.encode = function encode(message, writer) {
|
|
19495
|
+
if (!writer)
|
|
19496
|
+
writer = $Writer.create();
|
|
19497
|
+
return writer;
|
|
19498
|
+
};
|
|
19499
|
+
|
|
19500
|
+
/**
|
|
19501
|
+
* Encodes the specified ResetViewResult message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.ResetViewResult.verify|verify} messages.
|
|
19502
|
+
* @function encodeDelimited
|
|
19503
|
+
* @memberof vertexvis.protobuf.stream.ResetViewResult
|
|
19504
|
+
* @static
|
|
19505
|
+
* @param {vertexvis.protobuf.stream.IResetViewResult} message ResetViewResult message or plain object to encode
|
|
19506
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
19507
|
+
* @returns {$protobuf.Writer} Writer
|
|
19508
|
+
*/
|
|
19509
|
+
ResetViewResult.encodeDelimited = function encodeDelimited(message, writer) {
|
|
19510
|
+
return this.encode(message, writer).ldelim();
|
|
19511
|
+
};
|
|
19512
|
+
|
|
19513
|
+
/**
|
|
19514
|
+
* Decodes a ResetViewResult message from the specified reader or buffer.
|
|
19515
|
+
* @function decode
|
|
19516
|
+
* @memberof vertexvis.protobuf.stream.ResetViewResult
|
|
19517
|
+
* @static
|
|
19518
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
19519
|
+
* @param {number} [length] Message length if known beforehand
|
|
19520
|
+
* @returns {vertexvis.protobuf.stream.ResetViewResult} ResetViewResult
|
|
19521
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19522
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19523
|
+
*/
|
|
19524
|
+
ResetViewResult.decode = function decode(reader, length) {
|
|
19525
|
+
if (!(reader instanceof $Reader))
|
|
19526
|
+
reader = $Reader.create(reader);
|
|
19527
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.ResetViewResult();
|
|
19528
|
+
while (reader.pos < end) {
|
|
19529
|
+
let tag = reader.uint32();
|
|
19530
|
+
switch (tag >>> 3) {
|
|
19531
|
+
default:
|
|
19532
|
+
reader.skipType(tag & 7);
|
|
19533
|
+
break;
|
|
19534
|
+
}
|
|
19535
|
+
}
|
|
19536
|
+
return message;
|
|
19537
|
+
};
|
|
19538
|
+
|
|
19539
|
+
/**
|
|
19540
|
+
* Decodes a ResetViewResult message from the specified reader or buffer, length delimited.
|
|
19541
|
+
* @function decodeDelimited
|
|
19542
|
+
* @memberof vertexvis.protobuf.stream.ResetViewResult
|
|
19543
|
+
* @static
|
|
19544
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
19545
|
+
* @returns {vertexvis.protobuf.stream.ResetViewResult} ResetViewResult
|
|
19546
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19547
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19548
|
+
*/
|
|
19549
|
+
ResetViewResult.decodeDelimited = function decodeDelimited(reader) {
|
|
19550
|
+
if (!(reader instanceof $Reader))
|
|
19551
|
+
reader = new $Reader(reader);
|
|
19552
|
+
return this.decode(reader, reader.uint32());
|
|
19553
|
+
};
|
|
19554
|
+
|
|
19555
|
+
/**
|
|
19556
|
+
* Verifies a ResetViewResult message.
|
|
19557
|
+
* @function verify
|
|
19558
|
+
* @memberof vertexvis.protobuf.stream.ResetViewResult
|
|
19559
|
+
* @static
|
|
19560
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
19561
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
19562
|
+
*/
|
|
19563
|
+
ResetViewResult.verify = function verify(message) {
|
|
19564
|
+
if (typeof message !== "object" || message === null)
|
|
19565
|
+
return "object expected";
|
|
19566
|
+
return null;
|
|
19567
|
+
};
|
|
19568
|
+
|
|
19569
|
+
/**
|
|
19570
|
+
* Creates a ResetViewResult message from a plain object. Also converts values to their respective internal types.
|
|
19571
|
+
* @function fromObject
|
|
19572
|
+
* @memberof vertexvis.protobuf.stream.ResetViewResult
|
|
19573
|
+
* @static
|
|
19574
|
+
* @param {Object.<string,*>} object Plain object
|
|
19575
|
+
* @returns {vertexvis.protobuf.stream.ResetViewResult} ResetViewResult
|
|
19576
|
+
*/
|
|
19577
|
+
ResetViewResult.fromObject = function fromObject(object) {
|
|
19578
|
+
if (object instanceof $root.vertexvis.protobuf.stream.ResetViewResult)
|
|
19579
|
+
return object;
|
|
19580
|
+
return new $root.vertexvis.protobuf.stream.ResetViewResult();
|
|
19581
|
+
};
|
|
19582
|
+
|
|
19583
|
+
/**
|
|
19584
|
+
* Creates a plain object from a ResetViewResult message. Also converts values to other types if specified.
|
|
19585
|
+
* @function toObject
|
|
19586
|
+
* @memberof vertexvis.protobuf.stream.ResetViewResult
|
|
19587
|
+
* @static
|
|
19588
|
+
* @param {vertexvis.protobuf.stream.ResetViewResult} message ResetViewResult
|
|
19589
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
19590
|
+
* @returns {Object.<string,*>} Plain object
|
|
19591
|
+
*/
|
|
19592
|
+
ResetViewResult.toObject = function toObject() {
|
|
19593
|
+
return {};
|
|
19594
|
+
};
|
|
19595
|
+
|
|
19596
|
+
/**
|
|
19597
|
+
* Converts this ResetViewResult to JSON.
|
|
19598
|
+
* @function toJSON
|
|
19599
|
+
* @memberof vertexvis.protobuf.stream.ResetViewResult
|
|
19600
|
+
* @instance
|
|
19601
|
+
* @returns {Object.<string,*>} JSON object
|
|
19602
|
+
*/
|
|
19603
|
+
ResetViewResult.prototype.toJSON = function toJSON() {
|
|
19604
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
19605
|
+
};
|
|
19606
|
+
|
|
19607
|
+
return ResetViewResult;
|
|
19608
|
+
})();
|
|
19609
|
+
|
|
18843
19610
|
stream.GetStencilBufferResult = (function() {
|
|
18844
19611
|
|
|
18845
19612
|
/**
|
|
@@ -18848,6 +19615,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18848
19615
|
* @interface IGetStencilBufferResult
|
|
18849
19616
|
* @property {Uint8Array|null} [stencilBuffer] GetStencilBufferResult stencilBuffer
|
|
18850
19617
|
* @property {vertexvis.protobuf.stream.IImageAttributes|null} [imageAttributes] GetStencilBufferResult imageAttributes
|
|
19618
|
+
* @property {google.protobuf.IBytesValue|null} [depthBuffer] GetStencilBufferResult depthBuffer
|
|
18851
19619
|
*/
|
|
18852
19620
|
|
|
18853
19621
|
/**
|
|
@@ -18881,6 +19649,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18881
19649
|
*/
|
|
18882
19650
|
GetStencilBufferResult.prototype.imageAttributes = null;
|
|
18883
19651
|
|
|
19652
|
+
/**
|
|
19653
|
+
* GetStencilBufferResult depthBuffer.
|
|
19654
|
+
* @member {google.protobuf.IBytesValue|null|undefined} depthBuffer
|
|
19655
|
+
* @memberof vertexvis.protobuf.stream.GetStencilBufferResult
|
|
19656
|
+
* @instance
|
|
19657
|
+
*/
|
|
19658
|
+
GetStencilBufferResult.prototype.depthBuffer = null;
|
|
19659
|
+
|
|
18884
19660
|
/**
|
|
18885
19661
|
* Creates a new GetStencilBufferResult instance using the specified properties.
|
|
18886
19662
|
* @function create
|
|
@@ -18909,6 +19685,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18909
19685
|
writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.stencilBuffer);
|
|
18910
19686
|
if (message.imageAttributes != null && Object.hasOwnProperty.call(message, "imageAttributes"))
|
|
18911
19687
|
$root.vertexvis.protobuf.stream.ImageAttributes.encode(message.imageAttributes, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
19688
|
+
if (message.depthBuffer != null && Object.hasOwnProperty.call(message, "depthBuffer"))
|
|
19689
|
+
$root.google.protobuf.BytesValue.encode(message.depthBuffer, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
18912
19690
|
return writer;
|
|
18913
19691
|
};
|
|
18914
19692
|
|
|
@@ -18949,6 +19727,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18949
19727
|
case 2:
|
|
18950
19728
|
message.imageAttributes = $root.vertexvis.protobuf.stream.ImageAttributes.decode(reader, reader.uint32());
|
|
18951
19729
|
break;
|
|
19730
|
+
case 3:
|
|
19731
|
+
message.depthBuffer = $root.google.protobuf.BytesValue.decode(reader, reader.uint32());
|
|
19732
|
+
break;
|
|
18952
19733
|
default:
|
|
18953
19734
|
reader.skipType(tag & 7);
|
|
18954
19735
|
break;
|
|
@@ -18992,6 +19773,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18992
19773
|
if (error)
|
|
18993
19774
|
return "imageAttributes." + error;
|
|
18994
19775
|
}
|
|
19776
|
+
if (message.depthBuffer != null && message.hasOwnProperty("depthBuffer")) {
|
|
19777
|
+
let error = $root.google.protobuf.BytesValue.verify(message.depthBuffer);
|
|
19778
|
+
if (error)
|
|
19779
|
+
return "depthBuffer." + error;
|
|
19780
|
+
}
|
|
18995
19781
|
return null;
|
|
18996
19782
|
};
|
|
18997
19783
|
|
|
@@ -19017,6 +19803,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
19017
19803
|
throw TypeError(".vertexvis.protobuf.stream.GetStencilBufferResult.imageAttributes: object expected");
|
|
19018
19804
|
message.imageAttributes = $root.vertexvis.protobuf.stream.ImageAttributes.fromObject(object.imageAttributes);
|
|
19019
19805
|
}
|
|
19806
|
+
if (object.depthBuffer != null) {
|
|
19807
|
+
if (typeof object.depthBuffer !== "object")
|
|
19808
|
+
throw TypeError(".vertexvis.protobuf.stream.GetStencilBufferResult.depthBuffer: object expected");
|
|
19809
|
+
message.depthBuffer = $root.google.protobuf.BytesValue.fromObject(object.depthBuffer);
|
|
19810
|
+
}
|
|
19020
19811
|
return message;
|
|
19021
19812
|
};
|
|
19022
19813
|
|
|
@@ -19042,11 +19833,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
19042
19833
|
object.stencilBuffer = $util.newBuffer(object.stencilBuffer);
|
|
19043
19834
|
}
|
|
19044
19835
|
object.imageAttributes = null;
|
|
19836
|
+
object.depthBuffer = null;
|
|
19045
19837
|
}
|
|
19046
19838
|
if (message.stencilBuffer != null && message.hasOwnProperty("stencilBuffer"))
|
|
19047
19839
|
object.stencilBuffer = options.bytes === String ? $util.base64.encode(message.stencilBuffer, 0, message.stencilBuffer.length) : options.bytes === Array ? Array.prototype.slice.call(message.stencilBuffer) : message.stencilBuffer;
|
|
19048
19840
|
if (message.imageAttributes != null && message.hasOwnProperty("imageAttributes"))
|
|
19049
19841
|
object.imageAttributes = $root.vertexvis.protobuf.stream.ImageAttributes.toObject(message.imageAttributes, options);
|
|
19842
|
+
if (message.depthBuffer != null && message.hasOwnProperty("depthBuffer"))
|
|
19843
|
+
object.depthBuffer = $root.google.protobuf.BytesValue.toObject(message.depthBuffer, options);
|
|
19050
19844
|
return object;
|
|
19051
19845
|
};
|
|
19052
19846
|
|
|
@@ -32753,6 +33547,22 @@ var StreamApi = /** @class */ (function () {
|
|
|
32753
33547
|
if (withResponse === void 0) { withResponse = true; }
|
|
32754
33548
|
return this.sendRequest({ createSceneAlteration: payload }, withResponse);
|
|
32755
33549
|
};
|
|
33550
|
+
/**
|
|
33551
|
+
* Sends a request to reset all overrides for a given scene and optionally to
|
|
33552
|
+
* reset the camera to that of the base scene.
|
|
33553
|
+
*
|
|
33554
|
+
* Use `withResponse` to indicate if the server should reply with a response.
|
|
33555
|
+
* If `false`, the returned promise will complete immediately. Otherwise,
|
|
33556
|
+
* it'll complete when a response is received.
|
|
33557
|
+
*
|
|
33558
|
+
* @param payload The payload of the request.
|
|
33559
|
+
* @param withResponse Indicates if the server should reply with a response.
|
|
33560
|
+
* Defaults to `true`.
|
|
33561
|
+
*/
|
|
33562
|
+
StreamApi.prototype.resetSceneView = function (payload, withResponse) {
|
|
33563
|
+
if (withResponse === void 0) { withResponse = true; }
|
|
33564
|
+
return this.sendRequest({ resetView: payload }, withResponse);
|
|
33565
|
+
};
|
|
32756
33566
|
/**
|
|
32757
33567
|
* Sends a request to tell the rendering pipeline that an interaction has
|
|
32758
33568
|
* ended.
|
|
@@ -32818,8 +33628,9 @@ var StreamApi = /** @class */ (function () {
|
|
|
32818
33628
|
/**
|
|
32819
33629
|
* Sends a request to get a stencil buffer image for the current scene view.
|
|
32820
33630
|
*/
|
|
32821
|
-
StreamApi.prototype.getStencilBuffer = function (withResponse) {
|
|
32822
|
-
|
|
33631
|
+
StreamApi.prototype.getStencilBuffer = function (payload, withResponse) {
|
|
33632
|
+
if (withResponse === void 0) { withResponse = true; }
|
|
33633
|
+
return this.sendRequest({ getStencilBuffer: payload }, withResponse);
|
|
32823
33634
|
};
|
|
32824
33635
|
/**
|
|
32825
33636
|
* Acknowledges a successful request by sending a reply back to the server
|