@vertexvis/stream-api 0.12.0-canary.2 → 0.12.0-canary.23
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.cjs.js
CHANGED
|
@@ -7155,6 +7155,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
7155
7155
|
* @property {vertexvis.protobuf.stream.IDepthBufferAttributes|null} [depthBuffers] StreamAttributes depthBuffers
|
|
7156
7156
|
* @property {vertexvis.protobuf.stream.IFeatureLineAttributes|null} [featureLines] StreamAttributes featureLines
|
|
7157
7157
|
* @property {vertexvis.protobuf.stream.IFeatureHighlightAttributes|null} [featureHighlighting] StreamAttributes featureHighlighting
|
|
7158
|
+
* @property {vertexvis.protobuf.stream.IFeatureMapAttributes|null} [featureMaps] StreamAttributes featureMaps
|
|
7158
7159
|
*/
|
|
7159
7160
|
|
|
7160
7161
|
/**
|
|
@@ -7204,6 +7205,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
7204
7205
|
*/
|
|
7205
7206
|
StreamAttributes.prototype.featureHighlighting = null;
|
|
7206
7207
|
|
|
7208
|
+
/**
|
|
7209
|
+
* StreamAttributes featureMaps.
|
|
7210
|
+
* @member {vertexvis.protobuf.stream.IFeatureMapAttributes|null|undefined} featureMaps
|
|
7211
|
+
* @memberof vertexvis.protobuf.stream.StreamAttributes
|
|
7212
|
+
* @instance
|
|
7213
|
+
*/
|
|
7214
|
+
StreamAttributes.prototype.featureMaps = null;
|
|
7215
|
+
|
|
7207
7216
|
/**
|
|
7208
7217
|
* Creates a new StreamAttributes instance using the specified properties.
|
|
7209
7218
|
* @function create
|
|
@@ -7236,6 +7245,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
7236
7245
|
$root.vertexvis.protobuf.stream.FeatureLineAttributes.encode(message.featureLines, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
7237
7246
|
if (message.featureHighlighting != null && Object.hasOwnProperty.call(message, "featureHighlighting"))
|
|
7238
7247
|
$root.vertexvis.protobuf.stream.FeatureHighlightAttributes.encode(message.featureHighlighting, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
7248
|
+
if (message.featureMaps != null && Object.hasOwnProperty.call(message, "featureMaps"))
|
|
7249
|
+
$root.vertexvis.protobuf.stream.FeatureMapAttributes.encode(message.featureMaps, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
7239
7250
|
return writer;
|
|
7240
7251
|
};
|
|
7241
7252
|
|
|
@@ -7282,6 +7293,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
7282
7293
|
case 4:
|
|
7283
7294
|
message.featureHighlighting = $root.vertexvis.protobuf.stream.FeatureHighlightAttributes.decode(reader, reader.uint32());
|
|
7284
7295
|
break;
|
|
7296
|
+
case 5:
|
|
7297
|
+
message.featureMaps = $root.vertexvis.protobuf.stream.FeatureMapAttributes.decode(reader, reader.uint32());
|
|
7298
|
+
break;
|
|
7285
7299
|
default:
|
|
7286
7300
|
reader.skipType(tag & 7);
|
|
7287
7301
|
break;
|
|
@@ -7337,6 +7351,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
7337
7351
|
if (error)
|
|
7338
7352
|
return "featureHighlighting." + error;
|
|
7339
7353
|
}
|
|
7354
|
+
if (message.featureMaps != null && message.hasOwnProperty("featureMaps")) {
|
|
7355
|
+
let error = $root.vertexvis.protobuf.stream.FeatureMapAttributes.verify(message.featureMaps);
|
|
7356
|
+
if (error)
|
|
7357
|
+
return "featureMaps." + error;
|
|
7358
|
+
}
|
|
7340
7359
|
return null;
|
|
7341
7360
|
};
|
|
7342
7361
|
|
|
@@ -7372,6 +7391,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
7372
7391
|
throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.featureHighlighting: object expected");
|
|
7373
7392
|
message.featureHighlighting = $root.vertexvis.protobuf.stream.FeatureHighlightAttributes.fromObject(object.featureHighlighting);
|
|
7374
7393
|
}
|
|
7394
|
+
if (object.featureMaps != null) {
|
|
7395
|
+
if (typeof object.featureMaps !== "object")
|
|
7396
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.featureMaps: object expected");
|
|
7397
|
+
message.featureMaps = $root.vertexvis.protobuf.stream.FeatureMapAttributes.fromObject(object.featureMaps);
|
|
7398
|
+
}
|
|
7375
7399
|
return message;
|
|
7376
7400
|
};
|
|
7377
7401
|
|
|
@@ -7393,6 +7417,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
7393
7417
|
object.depthBuffers = null;
|
|
7394
7418
|
object.featureLines = null;
|
|
7395
7419
|
object.featureHighlighting = null;
|
|
7420
|
+
object.featureMaps = null;
|
|
7396
7421
|
}
|
|
7397
7422
|
if (message.experimentalGhosting != null && message.hasOwnProperty("experimentalGhosting"))
|
|
7398
7423
|
object.experimentalGhosting = $root.vertexvis.protobuf.stream.GhostingAttributes.toObject(message.experimentalGhosting, options);
|
|
@@ -7402,6 +7427,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
7402
7427
|
object.featureLines = $root.vertexvis.protobuf.stream.FeatureLineAttributes.toObject(message.featureLines, options);
|
|
7403
7428
|
if (message.featureHighlighting != null && message.hasOwnProperty("featureHighlighting"))
|
|
7404
7429
|
object.featureHighlighting = $root.vertexvis.protobuf.stream.FeatureHighlightAttributes.toObject(message.featureHighlighting, options);
|
|
7430
|
+
if (message.featureMaps != null && message.hasOwnProperty("featureMaps"))
|
|
7431
|
+
object.featureMaps = $root.vertexvis.protobuf.stream.FeatureMapAttributes.toObject(message.featureMaps, options);
|
|
7405
7432
|
return object;
|
|
7406
7433
|
};
|
|
7407
7434
|
|
|
@@ -7877,6 +7904,244 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
7877
7904
|
return DepthBufferAttributes;
|
|
7878
7905
|
})();
|
|
7879
7906
|
|
|
7907
|
+
stream.FeatureMapAttributes = (function() {
|
|
7908
|
+
|
|
7909
|
+
/**
|
|
7910
|
+
* Properties of a FeatureMapAttributes.
|
|
7911
|
+
* @memberof vertexvis.protobuf.stream
|
|
7912
|
+
* @interface IFeatureMapAttributes
|
|
7913
|
+
* @property {google.protobuf.IBoolValue|null} [enabled] FeatureMapAttributes enabled
|
|
7914
|
+
* @property {vertexvis.protobuf.stream.FrameType|null} [frameType] FeatureMapAttributes frameType
|
|
7915
|
+
*/
|
|
7916
|
+
|
|
7917
|
+
/**
|
|
7918
|
+
* Constructs a new FeatureMapAttributes.
|
|
7919
|
+
* @memberof vertexvis.protobuf.stream
|
|
7920
|
+
* @classdesc Represents a FeatureMapAttributes.
|
|
7921
|
+
* @implements IFeatureMapAttributes
|
|
7922
|
+
* @constructor
|
|
7923
|
+
* @param {vertexvis.protobuf.stream.IFeatureMapAttributes=} [properties] Properties to set
|
|
7924
|
+
*/
|
|
7925
|
+
function FeatureMapAttributes(properties) {
|
|
7926
|
+
if (properties)
|
|
7927
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
7928
|
+
if (properties[keys[i]] != null)
|
|
7929
|
+
this[keys[i]] = properties[keys[i]];
|
|
7930
|
+
}
|
|
7931
|
+
|
|
7932
|
+
/**
|
|
7933
|
+
* FeatureMapAttributes enabled.
|
|
7934
|
+
* @member {google.protobuf.IBoolValue|null|undefined} enabled
|
|
7935
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
7936
|
+
* @instance
|
|
7937
|
+
*/
|
|
7938
|
+
FeatureMapAttributes.prototype.enabled = null;
|
|
7939
|
+
|
|
7940
|
+
/**
|
|
7941
|
+
* FeatureMapAttributes frameType.
|
|
7942
|
+
* @member {vertexvis.protobuf.stream.FrameType} frameType
|
|
7943
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
7944
|
+
* @instance
|
|
7945
|
+
*/
|
|
7946
|
+
FeatureMapAttributes.prototype.frameType = 0;
|
|
7947
|
+
|
|
7948
|
+
/**
|
|
7949
|
+
* Creates a new FeatureMapAttributes instance using the specified properties.
|
|
7950
|
+
* @function create
|
|
7951
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
7952
|
+
* @static
|
|
7953
|
+
* @param {vertexvis.protobuf.stream.IFeatureMapAttributes=} [properties] Properties to set
|
|
7954
|
+
* @returns {vertexvis.protobuf.stream.FeatureMapAttributes} FeatureMapAttributes instance
|
|
7955
|
+
*/
|
|
7956
|
+
FeatureMapAttributes.create = function create(properties) {
|
|
7957
|
+
return new FeatureMapAttributes(properties);
|
|
7958
|
+
};
|
|
7959
|
+
|
|
7960
|
+
/**
|
|
7961
|
+
* Encodes the specified FeatureMapAttributes message. Does not implicitly {@link vertexvis.protobuf.stream.FeatureMapAttributes.verify|verify} messages.
|
|
7962
|
+
* @function encode
|
|
7963
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
7964
|
+
* @static
|
|
7965
|
+
* @param {vertexvis.protobuf.stream.IFeatureMapAttributes} message FeatureMapAttributes message or plain object to encode
|
|
7966
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
7967
|
+
* @returns {$protobuf.Writer} Writer
|
|
7968
|
+
*/
|
|
7969
|
+
FeatureMapAttributes.encode = function encode(message, writer) {
|
|
7970
|
+
if (!writer)
|
|
7971
|
+
writer = $Writer.create();
|
|
7972
|
+
if (message.enabled != null && Object.hasOwnProperty.call(message, "enabled"))
|
|
7973
|
+
$root.google.protobuf.BoolValue.encode(message.enabled, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
7974
|
+
if (message.frameType != null && Object.hasOwnProperty.call(message, "frameType"))
|
|
7975
|
+
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.frameType);
|
|
7976
|
+
return writer;
|
|
7977
|
+
};
|
|
7978
|
+
|
|
7979
|
+
/**
|
|
7980
|
+
* Encodes the specified FeatureMapAttributes message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.FeatureMapAttributes.verify|verify} messages.
|
|
7981
|
+
* @function encodeDelimited
|
|
7982
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
7983
|
+
* @static
|
|
7984
|
+
* @param {vertexvis.protobuf.stream.IFeatureMapAttributes} message FeatureMapAttributes message or plain object to encode
|
|
7985
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
7986
|
+
* @returns {$protobuf.Writer} Writer
|
|
7987
|
+
*/
|
|
7988
|
+
FeatureMapAttributes.encodeDelimited = function encodeDelimited(message, writer) {
|
|
7989
|
+
return this.encode(message, writer).ldelim();
|
|
7990
|
+
};
|
|
7991
|
+
|
|
7992
|
+
/**
|
|
7993
|
+
* Decodes a FeatureMapAttributes message from the specified reader or buffer.
|
|
7994
|
+
* @function decode
|
|
7995
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
7996
|
+
* @static
|
|
7997
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
7998
|
+
* @param {number} [length] Message length if known beforehand
|
|
7999
|
+
* @returns {vertexvis.protobuf.stream.FeatureMapAttributes} FeatureMapAttributes
|
|
8000
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8001
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8002
|
+
*/
|
|
8003
|
+
FeatureMapAttributes.decode = function decode(reader, length) {
|
|
8004
|
+
if (!(reader instanceof $Reader))
|
|
8005
|
+
reader = $Reader.create(reader);
|
|
8006
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.FeatureMapAttributes();
|
|
8007
|
+
while (reader.pos < end) {
|
|
8008
|
+
let tag = reader.uint32();
|
|
8009
|
+
switch (tag >>> 3) {
|
|
8010
|
+
case 1:
|
|
8011
|
+
message.enabled = $root.google.protobuf.BoolValue.decode(reader, reader.uint32());
|
|
8012
|
+
break;
|
|
8013
|
+
case 2:
|
|
8014
|
+
message.frameType = reader.int32();
|
|
8015
|
+
break;
|
|
8016
|
+
default:
|
|
8017
|
+
reader.skipType(tag & 7);
|
|
8018
|
+
break;
|
|
8019
|
+
}
|
|
8020
|
+
}
|
|
8021
|
+
return message;
|
|
8022
|
+
};
|
|
8023
|
+
|
|
8024
|
+
/**
|
|
8025
|
+
* Decodes a FeatureMapAttributes message from the specified reader or buffer, length delimited.
|
|
8026
|
+
* @function decodeDelimited
|
|
8027
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
8028
|
+
* @static
|
|
8029
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
8030
|
+
* @returns {vertexvis.protobuf.stream.FeatureMapAttributes} FeatureMapAttributes
|
|
8031
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8032
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8033
|
+
*/
|
|
8034
|
+
FeatureMapAttributes.decodeDelimited = function decodeDelimited(reader) {
|
|
8035
|
+
if (!(reader instanceof $Reader))
|
|
8036
|
+
reader = new $Reader(reader);
|
|
8037
|
+
return this.decode(reader, reader.uint32());
|
|
8038
|
+
};
|
|
8039
|
+
|
|
8040
|
+
/**
|
|
8041
|
+
* Verifies a FeatureMapAttributes message.
|
|
8042
|
+
* @function verify
|
|
8043
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
8044
|
+
* @static
|
|
8045
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
8046
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
8047
|
+
*/
|
|
8048
|
+
FeatureMapAttributes.verify = function verify(message) {
|
|
8049
|
+
if (typeof message !== "object" || message === null)
|
|
8050
|
+
return "object expected";
|
|
8051
|
+
if (message.enabled != null && message.hasOwnProperty("enabled")) {
|
|
8052
|
+
let error = $root.google.protobuf.BoolValue.verify(message.enabled);
|
|
8053
|
+
if (error)
|
|
8054
|
+
return "enabled." + error;
|
|
8055
|
+
}
|
|
8056
|
+
if (message.frameType != null && message.hasOwnProperty("frameType"))
|
|
8057
|
+
switch (message.frameType) {
|
|
8058
|
+
default:
|
|
8059
|
+
return "frameType: enum value expected";
|
|
8060
|
+
case 0:
|
|
8061
|
+
case 1:
|
|
8062
|
+
case 2:
|
|
8063
|
+
case 3:
|
|
8064
|
+
break;
|
|
8065
|
+
}
|
|
8066
|
+
return null;
|
|
8067
|
+
};
|
|
8068
|
+
|
|
8069
|
+
/**
|
|
8070
|
+
* Creates a FeatureMapAttributes message from a plain object. Also converts values to their respective internal types.
|
|
8071
|
+
* @function fromObject
|
|
8072
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
8073
|
+
* @static
|
|
8074
|
+
* @param {Object.<string,*>} object Plain object
|
|
8075
|
+
* @returns {vertexvis.protobuf.stream.FeatureMapAttributes} FeatureMapAttributes
|
|
8076
|
+
*/
|
|
8077
|
+
FeatureMapAttributes.fromObject = function fromObject(object) {
|
|
8078
|
+
if (object instanceof $root.vertexvis.protobuf.stream.FeatureMapAttributes)
|
|
8079
|
+
return object;
|
|
8080
|
+
let message = new $root.vertexvis.protobuf.stream.FeatureMapAttributes();
|
|
8081
|
+
if (object.enabled != null) {
|
|
8082
|
+
if (typeof object.enabled !== "object")
|
|
8083
|
+
throw TypeError(".vertexvis.protobuf.stream.FeatureMapAttributes.enabled: object expected");
|
|
8084
|
+
message.enabled = $root.google.protobuf.BoolValue.fromObject(object.enabled);
|
|
8085
|
+
}
|
|
8086
|
+
switch (object.frameType) {
|
|
8087
|
+
case "FRAME_TYPE_INVALID":
|
|
8088
|
+
case 0:
|
|
8089
|
+
message.frameType = 0;
|
|
8090
|
+
break;
|
|
8091
|
+
case "FRAME_TYPE_ALL":
|
|
8092
|
+
case 1:
|
|
8093
|
+
message.frameType = 1;
|
|
8094
|
+
break;
|
|
8095
|
+
case "FRAME_TYPE_TRANSITION":
|
|
8096
|
+
case 2:
|
|
8097
|
+
message.frameType = 2;
|
|
8098
|
+
break;
|
|
8099
|
+
case "FRAME_TYPE_FINAL":
|
|
8100
|
+
case 3:
|
|
8101
|
+
message.frameType = 3;
|
|
8102
|
+
break;
|
|
8103
|
+
}
|
|
8104
|
+
return message;
|
|
8105
|
+
};
|
|
8106
|
+
|
|
8107
|
+
/**
|
|
8108
|
+
* Creates a plain object from a FeatureMapAttributes message. Also converts values to other types if specified.
|
|
8109
|
+
* @function toObject
|
|
8110
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
8111
|
+
* @static
|
|
8112
|
+
* @param {vertexvis.protobuf.stream.FeatureMapAttributes} message FeatureMapAttributes
|
|
8113
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
8114
|
+
* @returns {Object.<string,*>} Plain object
|
|
8115
|
+
*/
|
|
8116
|
+
FeatureMapAttributes.toObject = function toObject(message, options) {
|
|
8117
|
+
if (!options)
|
|
8118
|
+
options = {};
|
|
8119
|
+
let object = {};
|
|
8120
|
+
if (options.defaults) {
|
|
8121
|
+
object.enabled = null;
|
|
8122
|
+
object.frameType = options.enums === String ? "FRAME_TYPE_INVALID" : 0;
|
|
8123
|
+
}
|
|
8124
|
+
if (message.enabled != null && message.hasOwnProperty("enabled"))
|
|
8125
|
+
object.enabled = $root.google.protobuf.BoolValue.toObject(message.enabled, options);
|
|
8126
|
+
if (message.frameType != null && message.hasOwnProperty("frameType"))
|
|
8127
|
+
object.frameType = options.enums === String ? $root.vertexvis.protobuf.stream.FrameType[message.frameType] : message.frameType;
|
|
8128
|
+
return object;
|
|
8129
|
+
};
|
|
8130
|
+
|
|
8131
|
+
/**
|
|
8132
|
+
* Converts this FeatureMapAttributes to JSON.
|
|
8133
|
+
* @function toJSON
|
|
8134
|
+
* @memberof vertexvis.protobuf.stream.FeatureMapAttributes
|
|
8135
|
+
* @instance
|
|
8136
|
+
* @returns {Object.<string,*>} JSON object
|
|
8137
|
+
*/
|
|
8138
|
+
FeatureMapAttributes.prototype.toJSON = function toJSON() {
|
|
8139
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
8140
|
+
};
|
|
8141
|
+
|
|
8142
|
+
return FeatureMapAttributes;
|
|
8143
|
+
})();
|
|
8144
|
+
|
|
7880
8145
|
stream.AnimationAttributes = (function() {
|
|
7881
8146
|
|
|
7882
8147
|
/**
|
|
@@ -9372,7 +9637,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9372
9637
|
* @memberof vertexvis.protobuf.stream
|
|
9373
9638
|
* @interface IFeatureHighlightAttributes
|
|
9374
9639
|
* @property {vertexvis.protobuf.core.IRGBi|null} [highlightColor] FeatureHighlightAttributes highlightColor
|
|
9375
|
-
* @property {
|
|
9640
|
+
* @property {google.protobuf.IFloatValue|null} [occludedOpacity] FeatureHighlightAttributes occludedOpacity
|
|
9376
9641
|
* @property {vertexvis.protobuf.stream.IFeatureLineAttributes|null} [outline] FeatureHighlightAttributes outline
|
|
9377
9642
|
*/
|
|
9378
9643
|
|
|
@@ -9401,11 +9666,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9401
9666
|
|
|
9402
9667
|
/**
|
|
9403
9668
|
* FeatureHighlightAttributes occludedOpacity.
|
|
9404
|
-
* @member {
|
|
9669
|
+
* @member {google.protobuf.IFloatValue|null|undefined} occludedOpacity
|
|
9405
9670
|
* @memberof vertexvis.protobuf.stream.FeatureHighlightAttributes
|
|
9406
9671
|
* @instance
|
|
9407
9672
|
*/
|
|
9408
|
-
FeatureHighlightAttributes.prototype.occludedOpacity =
|
|
9673
|
+
FeatureHighlightAttributes.prototype.occludedOpacity = null;
|
|
9409
9674
|
|
|
9410
9675
|
/**
|
|
9411
9676
|
* FeatureHighlightAttributes outline.
|
|
@@ -9442,7 +9707,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9442
9707
|
if (message.highlightColor != null && Object.hasOwnProperty.call(message, "highlightColor"))
|
|
9443
9708
|
$root.vertexvis.protobuf.core.RGBi.encode(message.highlightColor, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
9444
9709
|
if (message.occludedOpacity != null && Object.hasOwnProperty.call(message, "occludedOpacity"))
|
|
9445
|
-
writer.uint32(/* id 2, wireType
|
|
9710
|
+
$root.google.protobuf.FloatValue.encode(message.occludedOpacity, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
9446
9711
|
if (message.outline != null && Object.hasOwnProperty.call(message, "outline"))
|
|
9447
9712
|
$root.vertexvis.protobuf.stream.FeatureLineAttributes.encode(message.outline, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
9448
9713
|
return writer;
|
|
@@ -9483,7 +9748,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9483
9748
|
message.highlightColor = $root.vertexvis.protobuf.core.RGBi.decode(reader, reader.uint32());
|
|
9484
9749
|
break;
|
|
9485
9750
|
case 2:
|
|
9486
|
-
message.occludedOpacity = reader.
|
|
9751
|
+
message.occludedOpacity = $root.google.protobuf.FloatValue.decode(reader, reader.uint32());
|
|
9487
9752
|
break;
|
|
9488
9753
|
case 3:
|
|
9489
9754
|
message.outline = $root.vertexvis.protobuf.stream.FeatureLineAttributes.decode(reader, reader.uint32());
|
|
@@ -9528,9 +9793,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9528
9793
|
if (error)
|
|
9529
9794
|
return "highlightColor." + error;
|
|
9530
9795
|
}
|
|
9531
|
-
if (message.occludedOpacity != null && message.hasOwnProperty("occludedOpacity"))
|
|
9532
|
-
|
|
9533
|
-
|
|
9796
|
+
if (message.occludedOpacity != null && message.hasOwnProperty("occludedOpacity")) {
|
|
9797
|
+
let error = $root.google.protobuf.FloatValue.verify(message.occludedOpacity);
|
|
9798
|
+
if (error)
|
|
9799
|
+
return "occludedOpacity." + error;
|
|
9800
|
+
}
|
|
9534
9801
|
if (message.outline != null && message.hasOwnProperty("outline")) {
|
|
9535
9802
|
let error = $root.vertexvis.protobuf.stream.FeatureLineAttributes.verify(message.outline);
|
|
9536
9803
|
if (error)
|
|
@@ -9556,8 +9823,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9556
9823
|
throw TypeError(".vertexvis.protobuf.stream.FeatureHighlightAttributes.highlightColor: object expected");
|
|
9557
9824
|
message.highlightColor = $root.vertexvis.protobuf.core.RGBi.fromObject(object.highlightColor);
|
|
9558
9825
|
}
|
|
9559
|
-
if (object.occludedOpacity != null)
|
|
9560
|
-
|
|
9826
|
+
if (object.occludedOpacity != null) {
|
|
9827
|
+
if (typeof object.occludedOpacity !== "object")
|
|
9828
|
+
throw TypeError(".vertexvis.protobuf.stream.FeatureHighlightAttributes.occludedOpacity: object expected");
|
|
9829
|
+
message.occludedOpacity = $root.google.protobuf.FloatValue.fromObject(object.occludedOpacity);
|
|
9830
|
+
}
|
|
9561
9831
|
if (object.outline != null) {
|
|
9562
9832
|
if (typeof object.outline !== "object")
|
|
9563
9833
|
throw TypeError(".vertexvis.protobuf.stream.FeatureHighlightAttributes.outline: object expected");
|
|
@@ -9581,13 +9851,13 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9581
9851
|
let object = {};
|
|
9582
9852
|
if (options.defaults) {
|
|
9583
9853
|
object.highlightColor = null;
|
|
9584
|
-
object.occludedOpacity =
|
|
9854
|
+
object.occludedOpacity = null;
|
|
9585
9855
|
object.outline = null;
|
|
9586
9856
|
}
|
|
9587
9857
|
if (message.highlightColor != null && message.hasOwnProperty("highlightColor"))
|
|
9588
9858
|
object.highlightColor = $root.vertexvis.protobuf.core.RGBi.toObject(message.highlightColor, options);
|
|
9589
9859
|
if (message.occludedOpacity != null && message.hasOwnProperty("occludedOpacity"))
|
|
9590
|
-
object.occludedOpacity =
|
|
9860
|
+
object.occludedOpacity = $root.google.protobuf.FloatValue.toObject(message.occludedOpacity, options);
|
|
9591
9861
|
if (message.outline != null && message.hasOwnProperty("outline"))
|
|
9592
9862
|
object.outline = $root.vertexvis.protobuf.stream.FeatureLineAttributes.toObject(message.outline, options);
|
|
9593
9863
|
return object;
|
|
@@ -10832,6 +11102,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
10832
11102
|
* @property {vertexvis.protobuf.stream.ILoadSceneViewStatePayload|null} [loadSceneViewState] StreamRequest loadSceneViewState
|
|
10833
11103
|
* @property {vertexvis.protobuf.stream.IUpdateCrossSectioningPayload|null} [updateCrossSectioning] StreamRequest updateCrossSectioning
|
|
10834
11104
|
* @property {vertexvis.protobuf.stream.IGetStencilBufferPayload|null} [getStencilBuffer] StreamRequest getStencilBuffer
|
|
11105
|
+
* @property {vertexvis.protobuf.stream.IResetViewPlayload|null} [resetView] StreamRequest resetView
|
|
10835
11106
|
*/
|
|
10836
11107
|
|
|
10837
11108
|
/**
|
|
@@ -10993,17 +11264,25 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
10993
11264
|
*/
|
|
10994
11265
|
StreamRequest.prototype.getStencilBuffer = null;
|
|
10995
11266
|
|
|
11267
|
+
/**
|
|
11268
|
+
* StreamRequest resetView.
|
|
11269
|
+
* @member {vertexvis.protobuf.stream.IResetViewPlayload|null|undefined} resetView
|
|
11270
|
+
* @memberof vertexvis.protobuf.stream.StreamRequest
|
|
11271
|
+
* @instance
|
|
11272
|
+
*/
|
|
11273
|
+
StreamRequest.prototype.resetView = null;
|
|
11274
|
+
|
|
10996
11275
|
// OneOf field names bound to virtual getters and setters
|
|
10997
11276
|
let $oneOfFields;
|
|
10998
11277
|
|
|
10999
11278
|
/**
|
|
11000
11279
|
* StreamRequest payload.
|
|
11001
|
-
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"createSceneAlteration"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"getStencilBuffer"|undefined} payload
|
|
11280
|
+
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"createSceneAlteration"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"getStencilBuffer"|"resetView"|undefined} payload
|
|
11002
11281
|
* @memberof vertexvis.protobuf.stream.StreamRequest
|
|
11003
11282
|
* @instance
|
|
11004
11283
|
*/
|
|
11005
11284
|
Object.defineProperty(StreamRequest.prototype, "payload", {
|
|
11006
|
-
get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "createSceneAlteration", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "getStencilBuffer"]),
|
|
11285
|
+
get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "createSceneAlteration", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "getStencilBuffer", "resetView"]),
|
|
11007
11286
|
set: $util.oneOfSetter($oneOfFields)
|
|
11008
11287
|
});
|
|
11009
11288
|
|
|
@@ -11067,6 +11346,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
11067
11346
|
$root.vertexvis.protobuf.stream.UpdateCrossSectioningPayload.encode(message.updateCrossSectioning, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
|
|
11068
11347
|
if (message.getStencilBuffer != null && Object.hasOwnProperty.call(message, "getStencilBuffer"))
|
|
11069
11348
|
$root.vertexvis.protobuf.stream.GetStencilBufferPayload.encode(message.getStencilBuffer, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
|
|
11349
|
+
if (message.resetView != null && Object.hasOwnProperty.call(message, "resetView"))
|
|
11350
|
+
$root.vertexvis.protobuf.stream.ResetViewPlayload.encode(message.resetView, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
11070
11351
|
return writer;
|
|
11071
11352
|
};
|
|
11072
11353
|
|
|
@@ -11155,6 +11436,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
11155
11436
|
case 18:
|
|
11156
11437
|
message.getStencilBuffer = $root.vertexvis.protobuf.stream.GetStencilBufferPayload.decode(reader, reader.uint32());
|
|
11157
11438
|
break;
|
|
11439
|
+
case 19:
|
|
11440
|
+
message.resetView = $root.vertexvis.protobuf.stream.ResetViewPlayload.decode(reader, reader.uint32());
|
|
11441
|
+
break;
|
|
11158
11442
|
default:
|
|
11159
11443
|
reader.skipType(tag & 7);
|
|
11160
11444
|
break;
|
|
@@ -11364,6 +11648,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
11364
11648
|
return "getStencilBuffer." + error;
|
|
11365
11649
|
}
|
|
11366
11650
|
}
|
|
11651
|
+
if (message.resetView != null && message.hasOwnProperty("resetView")) {
|
|
11652
|
+
if (properties.payload === 1)
|
|
11653
|
+
return "payload: multiple values";
|
|
11654
|
+
properties.payload = 1;
|
|
11655
|
+
{
|
|
11656
|
+
let error = $root.vertexvis.protobuf.stream.ResetViewPlayload.verify(message.resetView);
|
|
11657
|
+
if (error)
|
|
11658
|
+
return "resetView." + error;
|
|
11659
|
+
}
|
|
11660
|
+
}
|
|
11367
11661
|
return null;
|
|
11368
11662
|
};
|
|
11369
11663
|
|
|
@@ -11469,6 +11763,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
11469
11763
|
throw TypeError(".vertexvis.protobuf.stream.StreamRequest.getStencilBuffer: object expected");
|
|
11470
11764
|
message.getStencilBuffer = $root.vertexvis.protobuf.stream.GetStencilBufferPayload.fromObject(object.getStencilBuffer);
|
|
11471
11765
|
}
|
|
11766
|
+
if (object.resetView != null) {
|
|
11767
|
+
if (typeof object.resetView !== "object")
|
|
11768
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamRequest.resetView: object expected");
|
|
11769
|
+
message.resetView = $root.vertexvis.protobuf.stream.ResetViewPlayload.fromObject(object.resetView);
|
|
11770
|
+
}
|
|
11472
11771
|
return message;
|
|
11473
11772
|
};
|
|
11474
11773
|
|
|
@@ -11574,6 +11873,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
11574
11873
|
if (options.oneofs)
|
|
11575
11874
|
object.payload = "getStencilBuffer";
|
|
11576
11875
|
}
|
|
11876
|
+
if (message.resetView != null && message.hasOwnProperty("resetView")) {
|
|
11877
|
+
object.resetView = $root.vertexvis.protobuf.stream.ResetViewPlayload.toObject(message.resetView, options);
|
|
11878
|
+
if (options.oneofs)
|
|
11879
|
+
object.payload = "resetView";
|
|
11880
|
+
}
|
|
11577
11881
|
return object;
|
|
11578
11882
|
};
|
|
11579
11883
|
|
|
@@ -13740,6 +14044,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13740
14044
|
* @property {Uint8Array|null} [image] DrawFramePayload image
|
|
13741
14045
|
* @property {Array.<string>|null} [frameCorrelationIds] DrawFramePayload frameCorrelationIds
|
|
13742
14046
|
* @property {google.protobuf.IBytesValue|null} [depthBuffer] DrawFramePayload depthBuffer
|
|
14047
|
+
* @property {google.protobuf.IBytesValue|null} [featureMap] DrawFramePayload featureMap
|
|
13743
14048
|
*/
|
|
13744
14049
|
|
|
13745
14050
|
/**
|
|
@@ -13806,6 +14111,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13806
14111
|
*/
|
|
13807
14112
|
DrawFramePayload.prototype.depthBuffer = null;
|
|
13808
14113
|
|
|
14114
|
+
/**
|
|
14115
|
+
* DrawFramePayload featureMap.
|
|
14116
|
+
* @member {google.protobuf.IBytesValue|null|undefined} featureMap
|
|
14117
|
+
* @memberof vertexvis.protobuf.stream.DrawFramePayload
|
|
14118
|
+
* @instance
|
|
14119
|
+
*/
|
|
14120
|
+
DrawFramePayload.prototype.featureMap = null;
|
|
14121
|
+
|
|
13809
14122
|
/**
|
|
13810
14123
|
* Creates a new DrawFramePayload instance using the specified properties.
|
|
13811
14124
|
* @function create
|
|
@@ -13843,6 +14156,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13843
14156
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.frameCorrelationIds[i]);
|
|
13844
14157
|
if (message.depthBuffer != null && Object.hasOwnProperty.call(message, "depthBuffer"))
|
|
13845
14158
|
$root.google.protobuf.BytesValue.encode(message.depthBuffer, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
14159
|
+
if (message.featureMap != null && Object.hasOwnProperty.call(message, "featureMap"))
|
|
14160
|
+
$root.google.protobuf.BytesValue.encode(message.featureMap, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
13846
14161
|
return writer;
|
|
13847
14162
|
};
|
|
13848
14163
|
|
|
@@ -13897,6 +14212,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13897
14212
|
case 6:
|
|
13898
14213
|
message.depthBuffer = $root.google.protobuf.BytesValue.decode(reader, reader.uint32());
|
|
13899
14214
|
break;
|
|
14215
|
+
case 7:
|
|
14216
|
+
message.featureMap = $root.google.protobuf.BytesValue.decode(reader, reader.uint32());
|
|
14217
|
+
break;
|
|
13900
14218
|
default:
|
|
13901
14219
|
reader.skipType(tag & 7);
|
|
13902
14220
|
break;
|
|
@@ -13960,6 +14278,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13960
14278
|
if (error)
|
|
13961
14279
|
return "depthBuffer." + error;
|
|
13962
14280
|
}
|
|
14281
|
+
if (message.featureMap != null && message.hasOwnProperty("featureMap")) {
|
|
14282
|
+
let error = $root.google.protobuf.BytesValue.verify(message.featureMap);
|
|
14283
|
+
if (error)
|
|
14284
|
+
return "featureMap." + error;
|
|
14285
|
+
}
|
|
13963
14286
|
return null;
|
|
13964
14287
|
};
|
|
13965
14288
|
|
|
@@ -14004,6 +14327,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14004
14327
|
throw TypeError(".vertexvis.protobuf.stream.DrawFramePayload.depthBuffer: object expected");
|
|
14005
14328
|
message.depthBuffer = $root.google.protobuf.BytesValue.fromObject(object.depthBuffer);
|
|
14006
14329
|
}
|
|
14330
|
+
if (object.featureMap != null) {
|
|
14331
|
+
if (typeof object.featureMap !== "object")
|
|
14332
|
+
throw TypeError(".vertexvis.protobuf.stream.DrawFramePayload.featureMap: object expected");
|
|
14333
|
+
message.featureMap = $root.google.protobuf.BytesValue.fromObject(object.featureMap);
|
|
14334
|
+
}
|
|
14007
14335
|
return message;
|
|
14008
14336
|
};
|
|
14009
14337
|
|
|
@@ -14034,6 +14362,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14034
14362
|
object.image = $util.newBuffer(object.image);
|
|
14035
14363
|
}
|
|
14036
14364
|
object.depthBuffer = null;
|
|
14365
|
+
object.featureMap = null;
|
|
14037
14366
|
}
|
|
14038
14367
|
if (message.sequenceNumber != null && message.hasOwnProperty("sequenceNumber"))
|
|
14039
14368
|
object.sequenceNumber = message.sequenceNumber;
|
|
@@ -14050,6 +14379,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14050
14379
|
}
|
|
14051
14380
|
if (message.depthBuffer != null && message.hasOwnProperty("depthBuffer"))
|
|
14052
14381
|
object.depthBuffer = $root.google.protobuf.BytesValue.toObject(message.depthBuffer, options);
|
|
14382
|
+
if (message.featureMap != null && message.hasOwnProperty("featureMap"))
|
|
14383
|
+
object.featureMap = $root.google.protobuf.BytesValue.toObject(message.featureMap, options);
|
|
14053
14384
|
return object;
|
|
14054
14385
|
};
|
|
14055
14386
|
|
|
@@ -15055,20 +15386,240 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15055
15386
|
/**
|
|
15056
15387
|
* Properties of a LoadSceneViewStatePayload.
|
|
15057
15388
|
* @memberof vertexvis.protobuf.stream
|
|
15058
|
-
* @interface ILoadSceneViewStatePayload
|
|
15059
|
-
* @property {vertexvis.protobuf.core.IUuid|null} [sceneViewStateId] LoadSceneViewStatePayload sceneViewStateId
|
|
15060
|
-
* @property {google.protobuf.IStringValue|null} [frameCorrelationId] LoadSceneViewStatePayload frameCorrelationId
|
|
15389
|
+
* @interface ILoadSceneViewStatePayload
|
|
15390
|
+
* @property {vertexvis.protobuf.core.IUuid|null} [sceneViewStateId] LoadSceneViewStatePayload sceneViewStateId
|
|
15391
|
+
* @property {google.protobuf.IStringValue|null} [frameCorrelationId] LoadSceneViewStatePayload frameCorrelationId
|
|
15392
|
+
*/
|
|
15393
|
+
|
|
15394
|
+
/**
|
|
15395
|
+
* Constructs a new LoadSceneViewStatePayload.
|
|
15396
|
+
* @memberof vertexvis.protobuf.stream
|
|
15397
|
+
* @classdesc Represents a LoadSceneViewStatePayload.
|
|
15398
|
+
* @implements ILoadSceneViewStatePayload
|
|
15399
|
+
* @constructor
|
|
15400
|
+
* @param {vertexvis.protobuf.stream.ILoadSceneViewStatePayload=} [properties] Properties to set
|
|
15401
|
+
*/
|
|
15402
|
+
function LoadSceneViewStatePayload(properties) {
|
|
15403
|
+
if (properties)
|
|
15404
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
15405
|
+
if (properties[keys[i]] != null)
|
|
15406
|
+
this[keys[i]] = properties[keys[i]];
|
|
15407
|
+
}
|
|
15408
|
+
|
|
15409
|
+
/**
|
|
15410
|
+
* LoadSceneViewStatePayload sceneViewStateId.
|
|
15411
|
+
* @member {vertexvis.protobuf.core.IUuid|null|undefined} sceneViewStateId
|
|
15412
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15413
|
+
* @instance
|
|
15414
|
+
*/
|
|
15415
|
+
LoadSceneViewStatePayload.prototype.sceneViewStateId = null;
|
|
15416
|
+
|
|
15417
|
+
/**
|
|
15418
|
+
* LoadSceneViewStatePayload frameCorrelationId.
|
|
15419
|
+
* @member {google.protobuf.IStringValue|null|undefined} frameCorrelationId
|
|
15420
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15421
|
+
* @instance
|
|
15422
|
+
*/
|
|
15423
|
+
LoadSceneViewStatePayload.prototype.frameCorrelationId = null;
|
|
15424
|
+
|
|
15425
|
+
/**
|
|
15426
|
+
* Creates a new LoadSceneViewStatePayload instance using the specified properties.
|
|
15427
|
+
* @function create
|
|
15428
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15429
|
+
* @static
|
|
15430
|
+
* @param {vertexvis.protobuf.stream.ILoadSceneViewStatePayload=} [properties] Properties to set
|
|
15431
|
+
* @returns {vertexvis.protobuf.stream.LoadSceneViewStatePayload} LoadSceneViewStatePayload instance
|
|
15432
|
+
*/
|
|
15433
|
+
LoadSceneViewStatePayload.create = function create(properties) {
|
|
15434
|
+
return new LoadSceneViewStatePayload(properties);
|
|
15435
|
+
};
|
|
15436
|
+
|
|
15437
|
+
/**
|
|
15438
|
+
* Encodes the specified LoadSceneViewStatePayload message. Does not implicitly {@link vertexvis.protobuf.stream.LoadSceneViewStatePayload.verify|verify} messages.
|
|
15439
|
+
* @function encode
|
|
15440
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15441
|
+
* @static
|
|
15442
|
+
* @param {vertexvis.protobuf.stream.ILoadSceneViewStatePayload} message LoadSceneViewStatePayload message or plain object to encode
|
|
15443
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15444
|
+
* @returns {$protobuf.Writer} Writer
|
|
15445
|
+
*/
|
|
15446
|
+
LoadSceneViewStatePayload.encode = function encode(message, writer) {
|
|
15447
|
+
if (!writer)
|
|
15448
|
+
writer = $Writer.create();
|
|
15449
|
+
if (message.sceneViewStateId != null && Object.hasOwnProperty.call(message, "sceneViewStateId"))
|
|
15450
|
+
$root.vertexvis.protobuf.core.Uuid.encode(message.sceneViewStateId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
15451
|
+
if (message.frameCorrelationId != null && Object.hasOwnProperty.call(message, "frameCorrelationId"))
|
|
15452
|
+
$root.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
15453
|
+
return writer;
|
|
15454
|
+
};
|
|
15455
|
+
|
|
15456
|
+
/**
|
|
15457
|
+
* Encodes the specified LoadSceneViewStatePayload message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.LoadSceneViewStatePayload.verify|verify} messages.
|
|
15458
|
+
* @function encodeDelimited
|
|
15459
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15460
|
+
* @static
|
|
15461
|
+
* @param {vertexvis.protobuf.stream.ILoadSceneViewStatePayload} message LoadSceneViewStatePayload message or plain object to encode
|
|
15462
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15463
|
+
* @returns {$protobuf.Writer} Writer
|
|
15464
|
+
*/
|
|
15465
|
+
LoadSceneViewStatePayload.encodeDelimited = function encodeDelimited(message, writer) {
|
|
15466
|
+
return this.encode(message, writer).ldelim();
|
|
15467
|
+
};
|
|
15468
|
+
|
|
15469
|
+
/**
|
|
15470
|
+
* Decodes a LoadSceneViewStatePayload message from the specified reader or buffer.
|
|
15471
|
+
* @function decode
|
|
15472
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15473
|
+
* @static
|
|
15474
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15475
|
+
* @param {number} [length] Message length if known beforehand
|
|
15476
|
+
* @returns {vertexvis.protobuf.stream.LoadSceneViewStatePayload} LoadSceneViewStatePayload
|
|
15477
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15478
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15479
|
+
*/
|
|
15480
|
+
LoadSceneViewStatePayload.decode = function decode(reader, length) {
|
|
15481
|
+
if (!(reader instanceof $Reader))
|
|
15482
|
+
reader = $Reader.create(reader);
|
|
15483
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.LoadSceneViewStatePayload();
|
|
15484
|
+
while (reader.pos < end) {
|
|
15485
|
+
let tag = reader.uint32();
|
|
15486
|
+
switch (tag >>> 3) {
|
|
15487
|
+
case 1:
|
|
15488
|
+
message.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.decode(reader, reader.uint32());
|
|
15489
|
+
break;
|
|
15490
|
+
case 2:
|
|
15491
|
+
message.frameCorrelationId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
|
|
15492
|
+
break;
|
|
15493
|
+
default:
|
|
15494
|
+
reader.skipType(tag & 7);
|
|
15495
|
+
break;
|
|
15496
|
+
}
|
|
15497
|
+
}
|
|
15498
|
+
return message;
|
|
15499
|
+
};
|
|
15500
|
+
|
|
15501
|
+
/**
|
|
15502
|
+
* Decodes a LoadSceneViewStatePayload message from the specified reader or buffer, length delimited.
|
|
15503
|
+
* @function decodeDelimited
|
|
15504
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15505
|
+
* @static
|
|
15506
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15507
|
+
* @returns {vertexvis.protobuf.stream.LoadSceneViewStatePayload} LoadSceneViewStatePayload
|
|
15508
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15509
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15510
|
+
*/
|
|
15511
|
+
LoadSceneViewStatePayload.decodeDelimited = function decodeDelimited(reader) {
|
|
15512
|
+
if (!(reader instanceof $Reader))
|
|
15513
|
+
reader = new $Reader(reader);
|
|
15514
|
+
return this.decode(reader, reader.uint32());
|
|
15515
|
+
};
|
|
15516
|
+
|
|
15517
|
+
/**
|
|
15518
|
+
* Verifies a LoadSceneViewStatePayload message.
|
|
15519
|
+
* @function verify
|
|
15520
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15521
|
+
* @static
|
|
15522
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
15523
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
15524
|
+
*/
|
|
15525
|
+
LoadSceneViewStatePayload.verify = function verify(message) {
|
|
15526
|
+
if (typeof message !== "object" || message === null)
|
|
15527
|
+
return "object expected";
|
|
15528
|
+
if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId")) {
|
|
15529
|
+
let error = $root.vertexvis.protobuf.core.Uuid.verify(message.sceneViewStateId);
|
|
15530
|
+
if (error)
|
|
15531
|
+
return "sceneViewStateId." + error;
|
|
15532
|
+
}
|
|
15533
|
+
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId")) {
|
|
15534
|
+
let error = $root.google.protobuf.StringValue.verify(message.frameCorrelationId);
|
|
15535
|
+
if (error)
|
|
15536
|
+
return "frameCorrelationId." + error;
|
|
15537
|
+
}
|
|
15538
|
+
return null;
|
|
15539
|
+
};
|
|
15540
|
+
|
|
15541
|
+
/**
|
|
15542
|
+
* Creates a LoadSceneViewStatePayload message from a plain object. Also converts values to their respective internal types.
|
|
15543
|
+
* @function fromObject
|
|
15544
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15545
|
+
* @static
|
|
15546
|
+
* @param {Object.<string,*>} object Plain object
|
|
15547
|
+
* @returns {vertexvis.protobuf.stream.LoadSceneViewStatePayload} LoadSceneViewStatePayload
|
|
15548
|
+
*/
|
|
15549
|
+
LoadSceneViewStatePayload.fromObject = function fromObject(object) {
|
|
15550
|
+
if (object instanceof $root.vertexvis.protobuf.stream.LoadSceneViewStatePayload)
|
|
15551
|
+
return object;
|
|
15552
|
+
let message = new $root.vertexvis.protobuf.stream.LoadSceneViewStatePayload();
|
|
15553
|
+
if (object.sceneViewStateId != null) {
|
|
15554
|
+
if (typeof object.sceneViewStateId !== "object")
|
|
15555
|
+
throw TypeError(".vertexvis.protobuf.stream.LoadSceneViewStatePayload.sceneViewStateId: object expected");
|
|
15556
|
+
message.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.fromObject(object.sceneViewStateId);
|
|
15557
|
+
}
|
|
15558
|
+
if (object.frameCorrelationId != null) {
|
|
15559
|
+
if (typeof object.frameCorrelationId !== "object")
|
|
15560
|
+
throw TypeError(".vertexvis.protobuf.stream.LoadSceneViewStatePayload.frameCorrelationId: object expected");
|
|
15561
|
+
message.frameCorrelationId = $root.google.protobuf.StringValue.fromObject(object.frameCorrelationId);
|
|
15562
|
+
}
|
|
15563
|
+
return message;
|
|
15564
|
+
};
|
|
15565
|
+
|
|
15566
|
+
/**
|
|
15567
|
+
* Creates a plain object from a LoadSceneViewStatePayload message. Also converts values to other types if specified.
|
|
15568
|
+
* @function toObject
|
|
15569
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15570
|
+
* @static
|
|
15571
|
+
* @param {vertexvis.protobuf.stream.LoadSceneViewStatePayload} message LoadSceneViewStatePayload
|
|
15572
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
15573
|
+
* @returns {Object.<string,*>} Plain object
|
|
15574
|
+
*/
|
|
15575
|
+
LoadSceneViewStatePayload.toObject = function toObject(message, options) {
|
|
15576
|
+
if (!options)
|
|
15577
|
+
options = {};
|
|
15578
|
+
let object = {};
|
|
15579
|
+
if (options.defaults) {
|
|
15580
|
+
object.sceneViewStateId = null;
|
|
15581
|
+
object.frameCorrelationId = null;
|
|
15582
|
+
}
|
|
15583
|
+
if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId"))
|
|
15584
|
+
object.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.toObject(message.sceneViewStateId, options);
|
|
15585
|
+
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
|
|
15586
|
+
object.frameCorrelationId = $root.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
|
|
15587
|
+
return object;
|
|
15588
|
+
};
|
|
15589
|
+
|
|
15590
|
+
/**
|
|
15591
|
+
* Converts this LoadSceneViewStatePayload to JSON.
|
|
15592
|
+
* @function toJSON
|
|
15593
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
15594
|
+
* @instance
|
|
15595
|
+
* @returns {Object.<string,*>} JSON object
|
|
15596
|
+
*/
|
|
15597
|
+
LoadSceneViewStatePayload.prototype.toJSON = function toJSON() {
|
|
15598
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
15599
|
+
};
|
|
15600
|
+
|
|
15601
|
+
return LoadSceneViewStatePayload;
|
|
15602
|
+
})();
|
|
15603
|
+
|
|
15604
|
+
stream.ResetViewPlayload = (function() {
|
|
15605
|
+
|
|
15606
|
+
/**
|
|
15607
|
+
* Properties of a ResetViewPlayload.
|
|
15608
|
+
* @memberof vertexvis.protobuf.stream
|
|
15609
|
+
* @interface IResetViewPlayload
|
|
15610
|
+
* @property {google.protobuf.IStringValue|null} [frameCorrelationId] ResetViewPlayload frameCorrelationId
|
|
15611
|
+
* @property {boolean|null} [includeCamera] ResetViewPlayload includeCamera
|
|
15061
15612
|
*/
|
|
15062
15613
|
|
|
15063
15614
|
/**
|
|
15064
|
-
* Constructs a new
|
|
15615
|
+
* Constructs a new ResetViewPlayload.
|
|
15065
15616
|
* @memberof vertexvis.protobuf.stream
|
|
15066
|
-
* @classdesc Represents a
|
|
15067
|
-
* @implements
|
|
15617
|
+
* @classdesc Represents a ResetViewPlayload.
|
|
15618
|
+
* @implements IResetViewPlayload
|
|
15068
15619
|
* @constructor
|
|
15069
|
-
* @param {vertexvis.protobuf.stream.
|
|
15620
|
+
* @param {vertexvis.protobuf.stream.IResetViewPlayload=} [properties] Properties to set
|
|
15070
15621
|
*/
|
|
15071
|
-
function
|
|
15622
|
+
function ResetViewPlayload(properties) {
|
|
15072
15623
|
if (properties)
|
|
15073
15624
|
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
15074
15625
|
if (properties[keys[i]] != null)
|
|
@@ -15076,88 +15627,88 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15076
15627
|
}
|
|
15077
15628
|
|
|
15078
15629
|
/**
|
|
15079
|
-
*
|
|
15080
|
-
* @member {
|
|
15081
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15630
|
+
* ResetViewPlayload frameCorrelationId.
|
|
15631
|
+
* @member {google.protobuf.IStringValue|null|undefined} frameCorrelationId
|
|
15632
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15082
15633
|
* @instance
|
|
15083
15634
|
*/
|
|
15084
|
-
|
|
15635
|
+
ResetViewPlayload.prototype.frameCorrelationId = null;
|
|
15085
15636
|
|
|
15086
15637
|
/**
|
|
15087
|
-
*
|
|
15088
|
-
* @member {
|
|
15089
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15638
|
+
* ResetViewPlayload includeCamera.
|
|
15639
|
+
* @member {boolean} includeCamera
|
|
15640
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15090
15641
|
* @instance
|
|
15091
15642
|
*/
|
|
15092
|
-
|
|
15643
|
+
ResetViewPlayload.prototype.includeCamera = false;
|
|
15093
15644
|
|
|
15094
15645
|
/**
|
|
15095
|
-
* Creates a new
|
|
15646
|
+
* Creates a new ResetViewPlayload instance using the specified properties.
|
|
15096
15647
|
* @function create
|
|
15097
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15648
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15098
15649
|
* @static
|
|
15099
|
-
* @param {vertexvis.protobuf.stream.
|
|
15100
|
-
* @returns {vertexvis.protobuf.stream.
|
|
15650
|
+
* @param {vertexvis.protobuf.stream.IResetViewPlayload=} [properties] Properties to set
|
|
15651
|
+
* @returns {vertexvis.protobuf.stream.ResetViewPlayload} ResetViewPlayload instance
|
|
15101
15652
|
*/
|
|
15102
|
-
|
|
15103
|
-
return new
|
|
15653
|
+
ResetViewPlayload.create = function create(properties) {
|
|
15654
|
+
return new ResetViewPlayload(properties);
|
|
15104
15655
|
};
|
|
15105
15656
|
|
|
15106
15657
|
/**
|
|
15107
|
-
* Encodes the specified
|
|
15658
|
+
* Encodes the specified ResetViewPlayload message. Does not implicitly {@link vertexvis.protobuf.stream.ResetViewPlayload.verify|verify} messages.
|
|
15108
15659
|
* @function encode
|
|
15109
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15660
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15110
15661
|
* @static
|
|
15111
|
-
* @param {vertexvis.protobuf.stream.
|
|
15662
|
+
* @param {vertexvis.protobuf.stream.IResetViewPlayload} message ResetViewPlayload message or plain object to encode
|
|
15112
15663
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15113
15664
|
* @returns {$protobuf.Writer} Writer
|
|
15114
15665
|
*/
|
|
15115
|
-
|
|
15666
|
+
ResetViewPlayload.encode = function encode(message, writer) {
|
|
15116
15667
|
if (!writer)
|
|
15117
15668
|
writer = $Writer.create();
|
|
15118
|
-
if (message.sceneViewStateId != null && Object.hasOwnProperty.call(message, "sceneViewStateId"))
|
|
15119
|
-
$root.vertexvis.protobuf.core.Uuid.encode(message.sceneViewStateId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
15120
15669
|
if (message.frameCorrelationId != null && Object.hasOwnProperty.call(message, "frameCorrelationId"))
|
|
15121
|
-
$root.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id
|
|
15670
|
+
$root.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
15671
|
+
if (message.includeCamera != null && Object.hasOwnProperty.call(message, "includeCamera"))
|
|
15672
|
+
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.includeCamera);
|
|
15122
15673
|
return writer;
|
|
15123
15674
|
};
|
|
15124
15675
|
|
|
15125
15676
|
/**
|
|
15126
|
-
* Encodes the specified
|
|
15677
|
+
* Encodes the specified ResetViewPlayload message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.ResetViewPlayload.verify|verify} messages.
|
|
15127
15678
|
* @function encodeDelimited
|
|
15128
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15679
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15129
15680
|
* @static
|
|
15130
|
-
* @param {vertexvis.protobuf.stream.
|
|
15681
|
+
* @param {vertexvis.protobuf.stream.IResetViewPlayload} message ResetViewPlayload message or plain object to encode
|
|
15131
15682
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15132
15683
|
* @returns {$protobuf.Writer} Writer
|
|
15133
15684
|
*/
|
|
15134
|
-
|
|
15685
|
+
ResetViewPlayload.encodeDelimited = function encodeDelimited(message, writer) {
|
|
15135
15686
|
return this.encode(message, writer).ldelim();
|
|
15136
15687
|
};
|
|
15137
15688
|
|
|
15138
15689
|
/**
|
|
15139
|
-
* Decodes a
|
|
15690
|
+
* Decodes a ResetViewPlayload message from the specified reader or buffer.
|
|
15140
15691
|
* @function decode
|
|
15141
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15692
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15142
15693
|
* @static
|
|
15143
15694
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15144
15695
|
* @param {number} [length] Message length if known beforehand
|
|
15145
|
-
* @returns {vertexvis.protobuf.stream.
|
|
15696
|
+
* @returns {vertexvis.protobuf.stream.ResetViewPlayload} ResetViewPlayload
|
|
15146
15697
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15147
15698
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15148
15699
|
*/
|
|
15149
|
-
|
|
15700
|
+
ResetViewPlayload.decode = function decode(reader, length) {
|
|
15150
15701
|
if (!(reader instanceof $Reader))
|
|
15151
15702
|
reader = $Reader.create(reader);
|
|
15152
|
-
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.
|
|
15703
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.ResetViewPlayload();
|
|
15153
15704
|
while (reader.pos < end) {
|
|
15154
15705
|
let tag = reader.uint32();
|
|
15155
15706
|
switch (tag >>> 3) {
|
|
15156
15707
|
case 1:
|
|
15157
|
-
message.
|
|
15708
|
+
message.frameCorrelationId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
|
|
15158
15709
|
break;
|
|
15159
15710
|
case 2:
|
|
15160
|
-
message.
|
|
15711
|
+
message.includeCamera = reader.bool();
|
|
15161
15712
|
break;
|
|
15162
15713
|
default:
|
|
15163
15714
|
reader.skipType(tag & 7);
|
|
@@ -15168,106 +15719,101 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15168
15719
|
};
|
|
15169
15720
|
|
|
15170
15721
|
/**
|
|
15171
|
-
* Decodes a
|
|
15722
|
+
* Decodes a ResetViewPlayload message from the specified reader or buffer, length delimited.
|
|
15172
15723
|
* @function decodeDelimited
|
|
15173
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15724
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15174
15725
|
* @static
|
|
15175
15726
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15176
|
-
* @returns {vertexvis.protobuf.stream.
|
|
15727
|
+
* @returns {vertexvis.protobuf.stream.ResetViewPlayload} ResetViewPlayload
|
|
15177
15728
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15178
15729
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15179
15730
|
*/
|
|
15180
|
-
|
|
15731
|
+
ResetViewPlayload.decodeDelimited = function decodeDelimited(reader) {
|
|
15181
15732
|
if (!(reader instanceof $Reader))
|
|
15182
15733
|
reader = new $Reader(reader);
|
|
15183
15734
|
return this.decode(reader, reader.uint32());
|
|
15184
15735
|
};
|
|
15185
15736
|
|
|
15186
15737
|
/**
|
|
15187
|
-
* Verifies a
|
|
15738
|
+
* Verifies a ResetViewPlayload message.
|
|
15188
15739
|
* @function verify
|
|
15189
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15740
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15190
15741
|
* @static
|
|
15191
15742
|
* @param {Object.<string,*>} message Plain object to verify
|
|
15192
15743
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
15193
15744
|
*/
|
|
15194
|
-
|
|
15745
|
+
ResetViewPlayload.verify = function verify(message) {
|
|
15195
15746
|
if (typeof message !== "object" || message === null)
|
|
15196
15747
|
return "object expected";
|
|
15197
|
-
if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId")) {
|
|
15198
|
-
let error = $root.vertexvis.protobuf.core.Uuid.verify(message.sceneViewStateId);
|
|
15199
|
-
if (error)
|
|
15200
|
-
return "sceneViewStateId." + error;
|
|
15201
|
-
}
|
|
15202
15748
|
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId")) {
|
|
15203
15749
|
let error = $root.google.protobuf.StringValue.verify(message.frameCorrelationId);
|
|
15204
15750
|
if (error)
|
|
15205
15751
|
return "frameCorrelationId." + error;
|
|
15206
15752
|
}
|
|
15753
|
+
if (message.includeCamera != null && message.hasOwnProperty("includeCamera"))
|
|
15754
|
+
if (typeof message.includeCamera !== "boolean")
|
|
15755
|
+
return "includeCamera: boolean expected";
|
|
15207
15756
|
return null;
|
|
15208
15757
|
};
|
|
15209
15758
|
|
|
15210
15759
|
/**
|
|
15211
|
-
* Creates a
|
|
15760
|
+
* Creates a ResetViewPlayload message from a plain object. Also converts values to their respective internal types.
|
|
15212
15761
|
* @function fromObject
|
|
15213
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15762
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15214
15763
|
* @static
|
|
15215
15764
|
* @param {Object.<string,*>} object Plain object
|
|
15216
|
-
* @returns {vertexvis.protobuf.stream.
|
|
15765
|
+
* @returns {vertexvis.protobuf.stream.ResetViewPlayload} ResetViewPlayload
|
|
15217
15766
|
*/
|
|
15218
|
-
|
|
15219
|
-
if (object instanceof $root.vertexvis.protobuf.stream.
|
|
15767
|
+
ResetViewPlayload.fromObject = function fromObject(object) {
|
|
15768
|
+
if (object instanceof $root.vertexvis.protobuf.stream.ResetViewPlayload)
|
|
15220
15769
|
return object;
|
|
15221
|
-
let message = new $root.vertexvis.protobuf.stream.
|
|
15222
|
-
if (object.sceneViewStateId != null) {
|
|
15223
|
-
if (typeof object.sceneViewStateId !== "object")
|
|
15224
|
-
throw TypeError(".vertexvis.protobuf.stream.LoadSceneViewStatePayload.sceneViewStateId: object expected");
|
|
15225
|
-
message.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.fromObject(object.sceneViewStateId);
|
|
15226
|
-
}
|
|
15770
|
+
let message = new $root.vertexvis.protobuf.stream.ResetViewPlayload();
|
|
15227
15771
|
if (object.frameCorrelationId != null) {
|
|
15228
15772
|
if (typeof object.frameCorrelationId !== "object")
|
|
15229
|
-
throw TypeError(".vertexvis.protobuf.stream.
|
|
15773
|
+
throw TypeError(".vertexvis.protobuf.stream.ResetViewPlayload.frameCorrelationId: object expected");
|
|
15230
15774
|
message.frameCorrelationId = $root.google.protobuf.StringValue.fromObject(object.frameCorrelationId);
|
|
15231
15775
|
}
|
|
15776
|
+
if (object.includeCamera != null)
|
|
15777
|
+
message.includeCamera = Boolean(object.includeCamera);
|
|
15232
15778
|
return message;
|
|
15233
15779
|
};
|
|
15234
15780
|
|
|
15235
15781
|
/**
|
|
15236
|
-
* Creates a plain object from a
|
|
15782
|
+
* Creates a plain object from a ResetViewPlayload message. Also converts values to other types if specified.
|
|
15237
15783
|
* @function toObject
|
|
15238
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15784
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15239
15785
|
* @static
|
|
15240
|
-
* @param {vertexvis.protobuf.stream.
|
|
15786
|
+
* @param {vertexvis.protobuf.stream.ResetViewPlayload} message ResetViewPlayload
|
|
15241
15787
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
15242
15788
|
* @returns {Object.<string,*>} Plain object
|
|
15243
15789
|
*/
|
|
15244
|
-
|
|
15790
|
+
ResetViewPlayload.toObject = function toObject(message, options) {
|
|
15245
15791
|
if (!options)
|
|
15246
15792
|
options = {};
|
|
15247
15793
|
let object = {};
|
|
15248
15794
|
if (options.defaults) {
|
|
15249
|
-
object.sceneViewStateId = null;
|
|
15250
15795
|
object.frameCorrelationId = null;
|
|
15796
|
+
object.includeCamera = false;
|
|
15251
15797
|
}
|
|
15252
|
-
if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId"))
|
|
15253
|
-
object.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.toObject(message.sceneViewStateId, options);
|
|
15254
15798
|
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
|
|
15255
15799
|
object.frameCorrelationId = $root.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
|
|
15800
|
+
if (message.includeCamera != null && message.hasOwnProperty("includeCamera"))
|
|
15801
|
+
object.includeCamera = message.includeCamera;
|
|
15256
15802
|
return object;
|
|
15257
15803
|
};
|
|
15258
15804
|
|
|
15259
15805
|
/**
|
|
15260
|
-
* Converts this
|
|
15806
|
+
* Converts this ResetViewPlayload to JSON.
|
|
15261
15807
|
* @function toJSON
|
|
15262
|
-
* @memberof vertexvis.protobuf.stream.
|
|
15808
|
+
* @memberof vertexvis.protobuf.stream.ResetViewPlayload
|
|
15263
15809
|
* @instance
|
|
15264
15810
|
* @returns {Object.<string,*>} JSON object
|
|
15265
15811
|
*/
|
|
15266
|
-
|
|
15812
|
+
ResetViewPlayload.prototype.toJSON = function toJSON() {
|
|
15267
15813
|
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
15268
15814
|
};
|
|
15269
15815
|
|
|
15270
|
-
return
|
|
15816
|
+
return ResetViewPlayload;
|
|
15271
15817
|
})();
|
|
15272
15818
|
|
|
15273
15819
|
stream.UpdateCrossSectioningPayload = (function() {
|
|
@@ -15496,6 +16042,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15496
16042
|
* Properties of a GetStencilBufferPayload.
|
|
15497
16043
|
* @memberof vertexvis.protobuf.stream
|
|
15498
16044
|
* @interface IGetStencilBufferPayload
|
|
16045
|
+
* @property {boolean|null} [includeDepthBuffer] GetStencilBufferPayload includeDepthBuffer
|
|
15499
16046
|
*/
|
|
15500
16047
|
|
|
15501
16048
|
/**
|
|
@@ -15513,6 +16060,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15513
16060
|
this[keys[i]] = properties[keys[i]];
|
|
15514
16061
|
}
|
|
15515
16062
|
|
|
16063
|
+
/**
|
|
16064
|
+
* GetStencilBufferPayload includeDepthBuffer.
|
|
16065
|
+
* @member {boolean} includeDepthBuffer
|
|
16066
|
+
* @memberof vertexvis.protobuf.stream.GetStencilBufferPayload
|
|
16067
|
+
* @instance
|
|
16068
|
+
*/
|
|
16069
|
+
GetStencilBufferPayload.prototype.includeDepthBuffer = false;
|
|
16070
|
+
|
|
15516
16071
|
/**
|
|
15517
16072
|
* Creates a new GetStencilBufferPayload instance using the specified properties.
|
|
15518
16073
|
* @function create
|
|
@@ -15537,6 +16092,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15537
16092
|
GetStencilBufferPayload.encode = function encode(message, writer) {
|
|
15538
16093
|
if (!writer)
|
|
15539
16094
|
writer = $Writer.create();
|
|
16095
|
+
if (message.includeDepthBuffer != null && Object.hasOwnProperty.call(message, "includeDepthBuffer"))
|
|
16096
|
+
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.includeDepthBuffer);
|
|
15540
16097
|
return writer;
|
|
15541
16098
|
};
|
|
15542
16099
|
|
|
@@ -15571,6 +16128,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15571
16128
|
while (reader.pos < end) {
|
|
15572
16129
|
let tag = reader.uint32();
|
|
15573
16130
|
switch (tag >>> 3) {
|
|
16131
|
+
case 1:
|
|
16132
|
+
message.includeDepthBuffer = reader.bool();
|
|
16133
|
+
break;
|
|
15574
16134
|
default:
|
|
15575
16135
|
reader.skipType(tag & 7);
|
|
15576
16136
|
break;
|
|
@@ -15606,6 +16166,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15606
16166
|
GetStencilBufferPayload.verify = function verify(message) {
|
|
15607
16167
|
if (typeof message !== "object" || message === null)
|
|
15608
16168
|
return "object expected";
|
|
16169
|
+
if (message.includeDepthBuffer != null && message.hasOwnProperty("includeDepthBuffer"))
|
|
16170
|
+
if (typeof message.includeDepthBuffer !== "boolean")
|
|
16171
|
+
return "includeDepthBuffer: boolean expected";
|
|
15609
16172
|
return null;
|
|
15610
16173
|
};
|
|
15611
16174
|
|
|
@@ -15620,7 +16183,10 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15620
16183
|
GetStencilBufferPayload.fromObject = function fromObject(object) {
|
|
15621
16184
|
if (object instanceof $root.vertexvis.protobuf.stream.GetStencilBufferPayload)
|
|
15622
16185
|
return object;
|
|
15623
|
-
|
|
16186
|
+
let message = new $root.vertexvis.protobuf.stream.GetStencilBufferPayload();
|
|
16187
|
+
if (object.includeDepthBuffer != null)
|
|
16188
|
+
message.includeDepthBuffer = Boolean(object.includeDepthBuffer);
|
|
16189
|
+
return message;
|
|
15624
16190
|
};
|
|
15625
16191
|
|
|
15626
16192
|
/**
|
|
@@ -15632,8 +16198,15 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15632
16198
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
15633
16199
|
* @returns {Object.<string,*>} Plain object
|
|
15634
16200
|
*/
|
|
15635
|
-
GetStencilBufferPayload.toObject = function toObject() {
|
|
15636
|
-
|
|
16201
|
+
GetStencilBufferPayload.toObject = function toObject(message, options) {
|
|
16202
|
+
if (!options)
|
|
16203
|
+
options = {};
|
|
16204
|
+
let object = {};
|
|
16205
|
+
if (options.defaults)
|
|
16206
|
+
object.includeDepthBuffer = false;
|
|
16207
|
+
if (message.includeDepthBuffer != null && message.hasOwnProperty("includeDepthBuffer"))
|
|
16208
|
+
object.includeDepthBuffer = message.includeDepthBuffer;
|
|
16209
|
+
return object;
|
|
15637
16210
|
};
|
|
15638
16211
|
|
|
15639
16212
|
/**
|
|
@@ -15673,6 +16246,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15673
16246
|
* @property {vertexvis.protobuf.stream.ILoadSceneViewStateResult|null} [loadSceneViewState] StreamResponse loadSceneViewState
|
|
15674
16247
|
* @property {vertexvis.protobuf.stream.IUpdateCrossSectioningResult|null} [updateCrossSectioning] StreamResponse updateCrossSectioning
|
|
15675
16248
|
* @property {vertexvis.protobuf.stream.IGetStencilBufferResult|null} [stencilBuffer] StreamResponse stencilBuffer
|
|
16249
|
+
* @property {vertexvis.protobuf.stream.IResetViewResult|null} [resetView] StreamResponse resetView
|
|
15676
16250
|
*/
|
|
15677
16251
|
|
|
15678
16252
|
/**
|
|
@@ -15826,17 +16400,25 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15826
16400
|
*/
|
|
15827
16401
|
StreamResponse.prototype.stencilBuffer = null;
|
|
15828
16402
|
|
|
16403
|
+
/**
|
|
16404
|
+
* StreamResponse resetView.
|
|
16405
|
+
* @member {vertexvis.protobuf.stream.IResetViewResult|null|undefined} resetView
|
|
16406
|
+
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
16407
|
+
* @instance
|
|
16408
|
+
*/
|
|
16409
|
+
StreamResponse.prototype.resetView = null;
|
|
16410
|
+
|
|
15829
16411
|
// OneOf field names bound to virtual getters and setters
|
|
15830
16412
|
let $oneOfFields;
|
|
15831
16413
|
|
|
15832
16414
|
/**
|
|
15833
16415
|
* StreamResponse result.
|
|
15834
|
-
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"reconnect"|"hitItems"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"stencilBuffer"|undefined} result
|
|
16416
|
+
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"reconnect"|"hitItems"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"stencilBuffer"|"resetView"|undefined} result
|
|
15835
16417
|
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
15836
16418
|
* @instance
|
|
15837
16419
|
*/
|
|
15838
16420
|
Object.defineProperty(StreamResponse.prototype, "result", {
|
|
15839
|
-
get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "reconnect", "hitItems", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "stencilBuffer"]),
|
|
16421
|
+
get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "reconnect", "hitItems", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "stencilBuffer", "resetView"]),
|
|
15840
16422
|
set: $util.oneOfSetter($oneOfFields)
|
|
15841
16423
|
});
|
|
15842
16424
|
|
|
@@ -15898,6 +16480,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15898
16480
|
$root.vertexvis.protobuf.stream.UpdateCrossSectioningResult.encode(message.updateCrossSectioning, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
|
|
15899
16481
|
if (message.stencilBuffer != null && Object.hasOwnProperty.call(message, "stencilBuffer"))
|
|
15900
16482
|
$root.vertexvis.protobuf.stream.GetStencilBufferResult.encode(message.stencilBuffer, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
|
|
16483
|
+
if (message.resetView != null && Object.hasOwnProperty.call(message, "resetView"))
|
|
16484
|
+
$root.vertexvis.protobuf.stream.ResetViewResult.encode(message.resetView, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
|
|
15901
16485
|
return writer;
|
|
15902
16486
|
};
|
|
15903
16487
|
|
|
@@ -15983,6 +16567,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15983
16567
|
case 17:
|
|
15984
16568
|
message.stencilBuffer = $root.vertexvis.protobuf.stream.GetStencilBufferResult.decode(reader, reader.uint32());
|
|
15985
16569
|
break;
|
|
16570
|
+
case 18:
|
|
16571
|
+
message.resetView = $root.vertexvis.protobuf.stream.ResetViewResult.decode(reader, reader.uint32());
|
|
16572
|
+
break;
|
|
15986
16573
|
default:
|
|
15987
16574
|
reader.skipType(tag & 7);
|
|
15988
16575
|
break;
|
|
@@ -16177,6 +16764,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
16177
16764
|
return "stencilBuffer." + error;
|
|
16178
16765
|
}
|
|
16179
16766
|
}
|
|
16767
|
+
if (message.resetView != null && message.hasOwnProperty("resetView")) {
|
|
16768
|
+
if (properties.result === 1)
|
|
16769
|
+
return "result: multiple values";
|
|
16770
|
+
properties.result = 1;
|
|
16771
|
+
{
|
|
16772
|
+
let error = $root.vertexvis.protobuf.stream.ResetViewResult.verify(message.resetView);
|
|
16773
|
+
if (error)
|
|
16774
|
+
return "resetView." + error;
|
|
16775
|
+
}
|
|
16776
|
+
}
|
|
16180
16777
|
return null;
|
|
16181
16778
|
};
|
|
16182
16779
|
|
|
@@ -16277,6 +16874,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
16277
16874
|
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.stencilBuffer: object expected");
|
|
16278
16875
|
message.stencilBuffer = $root.vertexvis.protobuf.stream.GetStencilBufferResult.fromObject(object.stencilBuffer);
|
|
16279
16876
|
}
|
|
16877
|
+
if (object.resetView != null) {
|
|
16878
|
+
if (typeof object.resetView !== "object")
|
|
16879
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.resetView: object expected");
|
|
16880
|
+
message.resetView = $root.vertexvis.protobuf.stream.ResetViewResult.fromObject(object.resetView);
|
|
16881
|
+
}
|
|
16280
16882
|
return message;
|
|
16281
16883
|
};
|
|
16282
16884
|
|
|
@@ -16376,6 +16978,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
16376
16978
|
if (options.oneofs)
|
|
16377
16979
|
object.result = "stencilBuffer";
|
|
16378
16980
|
}
|
|
16981
|
+
if (message.resetView != null && message.hasOwnProperty("resetView")) {
|
|
16982
|
+
object.resetView = $root.vertexvis.protobuf.stream.ResetViewResult.toObject(message.resetView, options);
|
|
16983
|
+
if (options.oneofs)
|
|
16984
|
+
object.result = "resetView";
|
|
16985
|
+
}
|
|
16379
16986
|
return object;
|
|
16380
16987
|
};
|
|
16381
16988
|
|
|
@@ -18844,6 +19451,166 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18844
19451
|
return LoadSceneViewStateResult;
|
|
18845
19452
|
})();
|
|
18846
19453
|
|
|
19454
|
+
stream.ResetViewResult = (function() {
|
|
19455
|
+
|
|
19456
|
+
/**
|
|
19457
|
+
* Properties of a ResetViewResult.
|
|
19458
|
+
* @memberof vertexvis.protobuf.stream
|
|
19459
|
+
* @interface IResetViewResult
|
|
19460
|
+
*/
|
|
19461
|
+
|
|
19462
|
+
/**
|
|
19463
|
+
* Constructs a new ResetViewResult.
|
|
19464
|
+
* @memberof vertexvis.protobuf.stream
|
|
19465
|
+
* @classdesc Represents a ResetViewResult.
|
|
19466
|
+
* @implements IResetViewResult
|
|
19467
|
+
* @constructor
|
|
19468
|
+
* @param {vertexvis.protobuf.stream.IResetViewResult=} [properties] Properties to set
|
|
19469
|
+
*/
|
|
19470
|
+
function ResetViewResult(properties) {
|
|
19471
|
+
if (properties)
|
|
19472
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
19473
|
+
if (properties[keys[i]] != null)
|
|
19474
|
+
this[keys[i]] = properties[keys[i]];
|
|
19475
|
+
}
|
|
19476
|
+
|
|
19477
|
+
/**
|
|
19478
|
+
* Creates a new ResetViewResult instance using the specified properties.
|
|
19479
|
+
* @function create
|
|
19480
|
+
* @memberof vertexvis.protobuf.stream.ResetViewResult
|
|
19481
|
+
* @static
|
|
19482
|
+
* @param {vertexvis.protobuf.stream.IResetViewResult=} [properties] Properties to set
|
|
19483
|
+
* @returns {vertexvis.protobuf.stream.ResetViewResult} ResetViewResult instance
|
|
19484
|
+
*/
|
|
19485
|
+
ResetViewResult.create = function create(properties) {
|
|
19486
|
+
return new ResetViewResult(properties);
|
|
19487
|
+
};
|
|
19488
|
+
|
|
19489
|
+
/**
|
|
19490
|
+
* Encodes the specified ResetViewResult message. Does not implicitly {@link vertexvis.protobuf.stream.ResetViewResult.verify|verify} messages.
|
|
19491
|
+
* @function encode
|
|
19492
|
+
* @memberof vertexvis.protobuf.stream.ResetViewResult
|
|
19493
|
+
* @static
|
|
19494
|
+
* @param {vertexvis.protobuf.stream.IResetViewResult} message ResetViewResult message or plain object to encode
|
|
19495
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
19496
|
+
* @returns {$protobuf.Writer} Writer
|
|
19497
|
+
*/
|
|
19498
|
+
ResetViewResult.encode = function encode(message, writer) {
|
|
19499
|
+
if (!writer)
|
|
19500
|
+
writer = $Writer.create();
|
|
19501
|
+
return writer;
|
|
19502
|
+
};
|
|
19503
|
+
|
|
19504
|
+
/**
|
|
19505
|
+
* Encodes the specified ResetViewResult message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.ResetViewResult.verify|verify} messages.
|
|
19506
|
+
* @function encodeDelimited
|
|
19507
|
+
* @memberof vertexvis.protobuf.stream.ResetViewResult
|
|
19508
|
+
* @static
|
|
19509
|
+
* @param {vertexvis.protobuf.stream.IResetViewResult} message ResetViewResult message or plain object to encode
|
|
19510
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
19511
|
+
* @returns {$protobuf.Writer} Writer
|
|
19512
|
+
*/
|
|
19513
|
+
ResetViewResult.encodeDelimited = function encodeDelimited(message, writer) {
|
|
19514
|
+
return this.encode(message, writer).ldelim();
|
|
19515
|
+
};
|
|
19516
|
+
|
|
19517
|
+
/**
|
|
19518
|
+
* Decodes a ResetViewResult message from the specified reader or buffer.
|
|
19519
|
+
* @function decode
|
|
19520
|
+
* @memberof vertexvis.protobuf.stream.ResetViewResult
|
|
19521
|
+
* @static
|
|
19522
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
19523
|
+
* @param {number} [length] Message length if known beforehand
|
|
19524
|
+
* @returns {vertexvis.protobuf.stream.ResetViewResult} ResetViewResult
|
|
19525
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19526
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19527
|
+
*/
|
|
19528
|
+
ResetViewResult.decode = function decode(reader, length) {
|
|
19529
|
+
if (!(reader instanceof $Reader))
|
|
19530
|
+
reader = $Reader.create(reader);
|
|
19531
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.ResetViewResult();
|
|
19532
|
+
while (reader.pos < end) {
|
|
19533
|
+
let tag = reader.uint32();
|
|
19534
|
+
switch (tag >>> 3) {
|
|
19535
|
+
default:
|
|
19536
|
+
reader.skipType(tag & 7);
|
|
19537
|
+
break;
|
|
19538
|
+
}
|
|
19539
|
+
}
|
|
19540
|
+
return message;
|
|
19541
|
+
};
|
|
19542
|
+
|
|
19543
|
+
/**
|
|
19544
|
+
* Decodes a ResetViewResult message from the specified reader or buffer, length delimited.
|
|
19545
|
+
* @function decodeDelimited
|
|
19546
|
+
* @memberof vertexvis.protobuf.stream.ResetViewResult
|
|
19547
|
+
* @static
|
|
19548
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
19549
|
+
* @returns {vertexvis.protobuf.stream.ResetViewResult} ResetViewResult
|
|
19550
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19551
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19552
|
+
*/
|
|
19553
|
+
ResetViewResult.decodeDelimited = function decodeDelimited(reader) {
|
|
19554
|
+
if (!(reader instanceof $Reader))
|
|
19555
|
+
reader = new $Reader(reader);
|
|
19556
|
+
return this.decode(reader, reader.uint32());
|
|
19557
|
+
};
|
|
19558
|
+
|
|
19559
|
+
/**
|
|
19560
|
+
* Verifies a ResetViewResult message.
|
|
19561
|
+
* @function verify
|
|
19562
|
+
* @memberof vertexvis.protobuf.stream.ResetViewResult
|
|
19563
|
+
* @static
|
|
19564
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
19565
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
19566
|
+
*/
|
|
19567
|
+
ResetViewResult.verify = function verify(message) {
|
|
19568
|
+
if (typeof message !== "object" || message === null)
|
|
19569
|
+
return "object expected";
|
|
19570
|
+
return null;
|
|
19571
|
+
};
|
|
19572
|
+
|
|
19573
|
+
/**
|
|
19574
|
+
* Creates a ResetViewResult message from a plain object. Also converts values to their respective internal types.
|
|
19575
|
+
* @function fromObject
|
|
19576
|
+
* @memberof vertexvis.protobuf.stream.ResetViewResult
|
|
19577
|
+
* @static
|
|
19578
|
+
* @param {Object.<string,*>} object Plain object
|
|
19579
|
+
* @returns {vertexvis.protobuf.stream.ResetViewResult} ResetViewResult
|
|
19580
|
+
*/
|
|
19581
|
+
ResetViewResult.fromObject = function fromObject(object) {
|
|
19582
|
+
if (object instanceof $root.vertexvis.protobuf.stream.ResetViewResult)
|
|
19583
|
+
return object;
|
|
19584
|
+
return new $root.vertexvis.protobuf.stream.ResetViewResult();
|
|
19585
|
+
};
|
|
19586
|
+
|
|
19587
|
+
/**
|
|
19588
|
+
* Creates a plain object from a ResetViewResult message. Also converts values to other types if specified.
|
|
19589
|
+
* @function toObject
|
|
19590
|
+
* @memberof vertexvis.protobuf.stream.ResetViewResult
|
|
19591
|
+
* @static
|
|
19592
|
+
* @param {vertexvis.protobuf.stream.ResetViewResult} message ResetViewResult
|
|
19593
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
19594
|
+
* @returns {Object.<string,*>} Plain object
|
|
19595
|
+
*/
|
|
19596
|
+
ResetViewResult.toObject = function toObject() {
|
|
19597
|
+
return {};
|
|
19598
|
+
};
|
|
19599
|
+
|
|
19600
|
+
/**
|
|
19601
|
+
* Converts this ResetViewResult to JSON.
|
|
19602
|
+
* @function toJSON
|
|
19603
|
+
* @memberof vertexvis.protobuf.stream.ResetViewResult
|
|
19604
|
+
* @instance
|
|
19605
|
+
* @returns {Object.<string,*>} JSON object
|
|
19606
|
+
*/
|
|
19607
|
+
ResetViewResult.prototype.toJSON = function toJSON() {
|
|
19608
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
19609
|
+
};
|
|
19610
|
+
|
|
19611
|
+
return ResetViewResult;
|
|
19612
|
+
})();
|
|
19613
|
+
|
|
18847
19614
|
stream.GetStencilBufferResult = (function() {
|
|
18848
19615
|
|
|
18849
19616
|
/**
|
|
@@ -18852,6 +19619,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18852
19619
|
* @interface IGetStencilBufferResult
|
|
18853
19620
|
* @property {Uint8Array|null} [stencilBuffer] GetStencilBufferResult stencilBuffer
|
|
18854
19621
|
* @property {vertexvis.protobuf.stream.IImageAttributes|null} [imageAttributes] GetStencilBufferResult imageAttributes
|
|
19622
|
+
* @property {google.protobuf.IBytesValue|null} [depthBuffer] GetStencilBufferResult depthBuffer
|
|
18855
19623
|
*/
|
|
18856
19624
|
|
|
18857
19625
|
/**
|
|
@@ -18885,6 +19653,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18885
19653
|
*/
|
|
18886
19654
|
GetStencilBufferResult.prototype.imageAttributes = null;
|
|
18887
19655
|
|
|
19656
|
+
/**
|
|
19657
|
+
* GetStencilBufferResult depthBuffer.
|
|
19658
|
+
* @member {google.protobuf.IBytesValue|null|undefined} depthBuffer
|
|
19659
|
+
* @memberof vertexvis.protobuf.stream.GetStencilBufferResult
|
|
19660
|
+
* @instance
|
|
19661
|
+
*/
|
|
19662
|
+
GetStencilBufferResult.prototype.depthBuffer = null;
|
|
19663
|
+
|
|
18888
19664
|
/**
|
|
18889
19665
|
* Creates a new GetStencilBufferResult instance using the specified properties.
|
|
18890
19666
|
* @function create
|
|
@@ -18913,6 +19689,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18913
19689
|
writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.stencilBuffer);
|
|
18914
19690
|
if (message.imageAttributes != null && Object.hasOwnProperty.call(message, "imageAttributes"))
|
|
18915
19691
|
$root.vertexvis.protobuf.stream.ImageAttributes.encode(message.imageAttributes, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
19692
|
+
if (message.depthBuffer != null && Object.hasOwnProperty.call(message, "depthBuffer"))
|
|
19693
|
+
$root.google.protobuf.BytesValue.encode(message.depthBuffer, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
18916
19694
|
return writer;
|
|
18917
19695
|
};
|
|
18918
19696
|
|
|
@@ -18953,6 +19731,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18953
19731
|
case 2:
|
|
18954
19732
|
message.imageAttributes = $root.vertexvis.protobuf.stream.ImageAttributes.decode(reader, reader.uint32());
|
|
18955
19733
|
break;
|
|
19734
|
+
case 3:
|
|
19735
|
+
message.depthBuffer = $root.google.protobuf.BytesValue.decode(reader, reader.uint32());
|
|
19736
|
+
break;
|
|
18956
19737
|
default:
|
|
18957
19738
|
reader.skipType(tag & 7);
|
|
18958
19739
|
break;
|
|
@@ -18996,6 +19777,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18996
19777
|
if (error)
|
|
18997
19778
|
return "imageAttributes." + error;
|
|
18998
19779
|
}
|
|
19780
|
+
if (message.depthBuffer != null && message.hasOwnProperty("depthBuffer")) {
|
|
19781
|
+
let error = $root.google.protobuf.BytesValue.verify(message.depthBuffer);
|
|
19782
|
+
if (error)
|
|
19783
|
+
return "depthBuffer." + error;
|
|
19784
|
+
}
|
|
18999
19785
|
return null;
|
|
19000
19786
|
};
|
|
19001
19787
|
|
|
@@ -19021,6 +19807,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
19021
19807
|
throw TypeError(".vertexvis.protobuf.stream.GetStencilBufferResult.imageAttributes: object expected");
|
|
19022
19808
|
message.imageAttributes = $root.vertexvis.protobuf.stream.ImageAttributes.fromObject(object.imageAttributes);
|
|
19023
19809
|
}
|
|
19810
|
+
if (object.depthBuffer != null) {
|
|
19811
|
+
if (typeof object.depthBuffer !== "object")
|
|
19812
|
+
throw TypeError(".vertexvis.protobuf.stream.GetStencilBufferResult.depthBuffer: object expected");
|
|
19813
|
+
message.depthBuffer = $root.google.protobuf.BytesValue.fromObject(object.depthBuffer);
|
|
19814
|
+
}
|
|
19024
19815
|
return message;
|
|
19025
19816
|
};
|
|
19026
19817
|
|
|
@@ -19046,11 +19837,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
19046
19837
|
object.stencilBuffer = $util.newBuffer(object.stencilBuffer);
|
|
19047
19838
|
}
|
|
19048
19839
|
object.imageAttributes = null;
|
|
19840
|
+
object.depthBuffer = null;
|
|
19049
19841
|
}
|
|
19050
19842
|
if (message.stencilBuffer != null && message.hasOwnProperty("stencilBuffer"))
|
|
19051
19843
|
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;
|
|
19052
19844
|
if (message.imageAttributes != null && message.hasOwnProperty("imageAttributes"))
|
|
19053
19845
|
object.imageAttributes = $root.vertexvis.protobuf.stream.ImageAttributes.toObject(message.imageAttributes, options);
|
|
19846
|
+
if (message.depthBuffer != null && message.hasOwnProperty("depthBuffer"))
|
|
19847
|
+
object.depthBuffer = $root.google.protobuf.BytesValue.toObject(message.depthBuffer, options);
|
|
19054
19848
|
return object;
|
|
19055
19849
|
};
|
|
19056
19850
|
|
|
@@ -32757,6 +33551,22 @@ var StreamApi = /** @class */ (function () {
|
|
|
32757
33551
|
if (withResponse === void 0) { withResponse = true; }
|
|
32758
33552
|
return this.sendRequest({ createSceneAlteration: payload }, withResponse);
|
|
32759
33553
|
};
|
|
33554
|
+
/**
|
|
33555
|
+
* Sends a request to reset all overrides for a given scene and optionally to
|
|
33556
|
+
* reset the camera to that of the base scene.
|
|
33557
|
+
*
|
|
33558
|
+
* Use `withResponse` to indicate if the server should reply with a response.
|
|
33559
|
+
* If `false`, the returned promise will complete immediately. Otherwise,
|
|
33560
|
+
* it'll complete when a response is received.
|
|
33561
|
+
*
|
|
33562
|
+
* @param payload The payload of the request.
|
|
33563
|
+
* @param withResponse Indicates if the server should reply with a response.
|
|
33564
|
+
* Defaults to `true`.
|
|
33565
|
+
*/
|
|
33566
|
+
StreamApi.prototype.resetSceneView = function (payload, withResponse) {
|
|
33567
|
+
if (withResponse === void 0) { withResponse = true; }
|
|
33568
|
+
return this.sendRequest({ resetView: payload }, withResponse);
|
|
33569
|
+
};
|
|
32760
33570
|
/**
|
|
32761
33571
|
* Sends a request to tell the rendering pipeline that an interaction has
|
|
32762
33572
|
* ended.
|
|
@@ -32822,8 +33632,9 @@ var StreamApi = /** @class */ (function () {
|
|
|
32822
33632
|
/**
|
|
32823
33633
|
* Sends a request to get a stencil buffer image for the current scene view.
|
|
32824
33634
|
*/
|
|
32825
|
-
StreamApi.prototype.getStencilBuffer = function (withResponse) {
|
|
32826
|
-
|
|
33635
|
+
StreamApi.prototype.getStencilBuffer = function (payload, withResponse) {
|
|
33636
|
+
if (withResponse === void 0) { withResponse = true; }
|
|
33637
|
+
return this.sendRequest({ getStencilBuffer: payload }, withResponse);
|
|
32827
33638
|
};
|
|
32828
33639
|
/**
|
|
32829
33640
|
* Acknowledges a successful request by sending a reply back to the server
|