@vertexvis/stream-api 0.24.1-canary.2 → 0.24.1-canary.4

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.
@@ -4809,6 +4809,7 @@ const vertexvis = $root.vertexvis = (() => {
4809
4809
  * @property {Array.<vertexvis.protobuf.stream.IMetadataProperty>|null} [metadataProperties] Hit metadataProperties
4810
4810
  * @property {vertexvis.protobuf.core.IModelEntity|null} [modelEntity] Hit modelEntity
4811
4811
  * @property {vertexvis.protobuf.core.IUuid|null} [leafItemId] Hit leafItemId
4812
+ * @property {vertexvis.protobuf.core.IUuid|null} [annotationId] Hit annotationId
4812
4813
  */
4813
4814
 
4814
4815
  /**
@@ -4916,6 +4917,14 @@ const vertexvis = $root.vertexvis = (() => {
4916
4917
  */
4917
4918
  Hit.prototype.leafItemId = null;
4918
4919
 
4920
+ /**
4921
+ * Hit annotationId.
4922
+ * @member {vertexvis.protobuf.core.IUuid|null|undefined} annotationId
4923
+ * @memberof vertexvis.protobuf.stream.Hit
4924
+ * @instance
4925
+ */
4926
+ Hit.prototype.annotationId = null;
4927
+
4919
4928
  /**
4920
4929
  * Creates a new Hit instance using the specified properties.
4921
4930
  * @function create
@@ -4964,6 +4973,8 @@ const vertexvis = $root.vertexvis = (() => {
4964
4973
  $root.vertexvis.protobuf.core.ModelEntity.encode(message.modelEntity, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
4965
4974
  if (message.leafItemId != null && Object.hasOwnProperty.call(message, "leafItemId"))
4966
4975
  $root.vertexvis.protobuf.core.Uuid.encode(message.leafItemId, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
4976
+ if (message.annotationId != null && Object.hasOwnProperty.call(message, "annotationId"))
4977
+ $root.vertexvis.protobuf.core.Uuid.encode(message.annotationId, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
4967
4978
  return writer;
4968
4979
  };
4969
4980
 
@@ -5035,6 +5046,9 @@ const vertexvis = $root.vertexvis = (() => {
5035
5046
  case 12:
5036
5047
  message.leafItemId = $root.vertexvis.protobuf.core.Uuid.decode(reader, reader.uint32());
5037
5048
  break;
5049
+ case 13:
5050
+ message.annotationId = $root.vertexvis.protobuf.core.Uuid.decode(reader, reader.uint32());
5051
+ break;
5038
5052
  default:
5039
5053
  reader.skipType(tag & 7);
5040
5054
  break;
@@ -5133,6 +5147,11 @@ const vertexvis = $root.vertexvis = (() => {
5133
5147
  if (error)
5134
5148
  return "leafItemId." + error;
5135
5149
  }
5150
+ if (message.annotationId != null && message.hasOwnProperty("annotationId")) {
5151
+ let error = $root.vertexvis.protobuf.core.Uuid.verify(message.annotationId);
5152
+ if (error)
5153
+ return "annotationId." + error;
5154
+ }
5136
5155
  return null;
5137
5156
  };
5138
5157
 
@@ -5213,6 +5232,11 @@ const vertexvis = $root.vertexvis = (() => {
5213
5232
  throw TypeError(".vertexvis.protobuf.stream.Hit.leafItemId: object expected");
5214
5233
  message.leafItemId = $root.vertexvis.protobuf.core.Uuid.fromObject(object.leafItemId);
5215
5234
  }
5235
+ if (object.annotationId != null) {
5236
+ if (typeof object.annotationId !== "object")
5237
+ throw TypeError(".vertexvis.protobuf.stream.Hit.annotationId: object expected");
5238
+ message.annotationId = $root.vertexvis.protobuf.core.Uuid.fromObject(object.annotationId);
5239
+ }
5216
5240
  return message;
5217
5241
  };
5218
5242
 
@@ -5243,6 +5267,7 @@ const vertexvis = $root.vertexvis = (() => {
5243
5267
  object.suppliedPartRevisionId = null;
5244
5268
  object.modelEntity = null;
5245
5269
  object.leafItemId = null;
5270
+ object.annotationId = null;
5246
5271
  }
5247
5272
  if (message.itemId != null && message.hasOwnProperty("itemId"))
5248
5273
  object.itemId = $root.vertexvis.protobuf.core.Uuid.toObject(message.itemId, options);
@@ -5272,6 +5297,8 @@ const vertexvis = $root.vertexvis = (() => {
5272
5297
  object.modelEntity = $root.vertexvis.protobuf.core.ModelEntity.toObject(message.modelEntity, options);
5273
5298
  if (message.leafItemId != null && message.hasOwnProperty("leafItemId"))
5274
5299
  object.leafItemId = $root.vertexvis.protobuf.core.Uuid.toObject(message.leafItemId, options);
5300
+ if (message.annotationId != null && message.hasOwnProperty("annotationId"))
5301
+ object.annotationId = $root.vertexvis.protobuf.core.Uuid.toObject(message.annotationId, options);
5275
5302
  return object;
5276
5303
  };
5277
5304
 
@@ -18323,7 +18350,6 @@ const vertexvis = $root.vertexvis = (() => {
18323
18350
  * Properties of a StreamAttributes.
18324
18351
  * @memberof vertexvis.protobuf.stream
18325
18352
  * @interface IStreamAttributes
18326
- * @property {vertexvis.protobuf.stream.IGhostingAttributes|null} [experimentalGhosting] StreamAttributes experimentalGhosting
18327
18353
  * @property {vertexvis.protobuf.stream.IDepthBufferAttributes|null} [depthBuffers] StreamAttributes depthBuffers
18328
18354
  * @property {vertexvis.protobuf.stream.IFeatureLineAttributes|null} [featureLines] StreamAttributes featureLines
18329
18355
  * @property {vertexvis.protobuf.stream.IFeatureHighlightAttributes|null} [featureHighlighting] StreamAttributes featureHighlighting
@@ -18351,14 +18377,6 @@ const vertexvis = $root.vertexvis = (() => {
18351
18377
  this[keys[i]] = properties[keys[i]];
18352
18378
  }
18353
18379
 
18354
- /**
18355
- * StreamAttributes experimentalGhosting.
18356
- * @member {vertexvis.protobuf.stream.IGhostingAttributes|null|undefined} experimentalGhosting
18357
- * @memberof vertexvis.protobuf.stream.StreamAttributes
18358
- * @instance
18359
- */
18360
- StreamAttributes.prototype.experimentalGhosting = null;
18361
-
18362
18380
  /**
18363
18381
  * StreamAttributes depthBuffers.
18364
18382
  * @member {vertexvis.protobuf.stream.IDepthBufferAttributes|null|undefined} depthBuffers
@@ -18463,8 +18481,6 @@ const vertexvis = $root.vertexvis = (() => {
18463
18481
  StreamAttributes.encode = function encode(message, writer) {
18464
18482
  if (!writer)
18465
18483
  writer = $Writer.create();
18466
- if (message.experimentalGhosting != null && Object.hasOwnProperty.call(message, "experimentalGhosting"))
18467
- $root.vertexvis.protobuf.stream.GhostingAttributes.encode(message.experimentalGhosting, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
18468
18484
  if (message.depthBuffers != null && Object.hasOwnProperty.call(message, "depthBuffers"))
18469
18485
  $root.vertexvis.protobuf.stream.DepthBufferAttributes.encode(message.depthBuffers, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
18470
18486
  if (message.featureLines != null && Object.hasOwnProperty.call(message, "featureLines"))
@@ -18519,9 +18535,6 @@ const vertexvis = $root.vertexvis = (() => {
18519
18535
  while (reader.pos < end) {
18520
18536
  let tag = reader.uint32();
18521
18537
  switch (tag >>> 3) {
18522
- case 1:
18523
- message.experimentalGhosting = $root.vertexvis.protobuf.stream.GhostingAttributes.decode(reader, reader.uint32());
18524
- break;
18525
18538
  case 2:
18526
18539
  message.depthBuffers = $root.vertexvis.protobuf.stream.DepthBufferAttributes.decode(reader, reader.uint32());
18527
18540
  break;
@@ -18587,11 +18600,6 @@ const vertexvis = $root.vertexvis = (() => {
18587
18600
  StreamAttributes.verify = function verify(message) {
18588
18601
  if (typeof message !== "object" || message === null)
18589
18602
  return "object expected";
18590
- if (message.experimentalGhosting != null && message.hasOwnProperty("experimentalGhosting")) {
18591
- let error = $root.vertexvis.protobuf.stream.GhostingAttributes.verify(message.experimentalGhosting);
18592
- if (error)
18593
- return "experimentalGhosting." + error;
18594
- }
18595
18603
  if (message.depthBuffers != null && message.hasOwnProperty("depthBuffers")) {
18596
18604
  let error = $root.vertexvis.protobuf.stream.DepthBufferAttributes.verify(message.depthBuffers);
18597
18605
  if (error)
@@ -18653,11 +18661,6 @@ const vertexvis = $root.vertexvis = (() => {
18653
18661
  if (object instanceof $root.vertexvis.protobuf.stream.StreamAttributes)
18654
18662
  return object;
18655
18663
  let message = new $root.vertexvis.protobuf.stream.StreamAttributes();
18656
- if (object.experimentalGhosting != null) {
18657
- if (typeof object.experimentalGhosting !== "object")
18658
- throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.experimentalGhosting: object expected");
18659
- message.experimentalGhosting = $root.vertexvis.protobuf.stream.GhostingAttributes.fromObject(object.experimentalGhosting);
18660
- }
18661
18664
  if (object.depthBuffers != null) {
18662
18665
  if (typeof object.depthBuffers !== "object")
18663
18666
  throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.depthBuffers: object expected");
@@ -18719,7 +18722,6 @@ const vertexvis = $root.vertexvis = (() => {
18719
18722
  options = {};
18720
18723
  let object = {};
18721
18724
  if (options.defaults) {
18722
- object.experimentalGhosting = null;
18723
18725
  object.depthBuffers = null;
18724
18726
  object.featureLines = null;
18725
18727
  object.featureHighlighting = null;
@@ -18731,8 +18733,6 @@ const vertexvis = $root.vertexvis = (() => {
18731
18733
  object.frames = null;
18732
18734
  object.sceneComparison = null;
18733
18735
  }
18734
- if (message.experimentalGhosting != null && message.hasOwnProperty("experimentalGhosting"))
18735
- object.experimentalGhosting = $root.vertexvis.protobuf.stream.GhostingAttributes.toObject(message.experimentalGhosting, options);
18736
18736
  if (message.depthBuffers != null && message.hasOwnProperty("depthBuffers"))
18737
18737
  object.depthBuffers = $root.vertexvis.protobuf.stream.DepthBufferAttributes.toObject(message.depthBuffers, options);
18738
18738
  if (message.featureLines != null && message.hasOwnProperty("featureLines"))
@@ -18962,226 +18962,6 @@ const vertexvis = $root.vertexvis = (() => {
18962
18962
  return PhantomAttributes;
18963
18963
  })();
18964
18964
 
18965
- stream.GhostingAttributes = (function() {
18966
-
18967
- /**
18968
- * Properties of a GhostingAttributes.
18969
- * @memberof vertexvis.protobuf.stream
18970
- * @interface IGhostingAttributes
18971
- * @property {google.protobuf.IBoolValue|null} [enabled] GhostingAttributes enabled
18972
- * @property {google.protobuf.IFloatValue|null} [opacity] GhostingAttributes opacity
18973
- */
18974
-
18975
- /**
18976
- * Constructs a new GhostingAttributes.
18977
- * @memberof vertexvis.protobuf.stream
18978
- * @classdesc Represents a GhostingAttributes.
18979
- * @implements IGhostingAttributes
18980
- * @constructor
18981
- * @param {vertexvis.protobuf.stream.IGhostingAttributes=} [properties] Properties to set
18982
- */
18983
- function GhostingAttributes(properties) {
18984
- if (properties)
18985
- for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
18986
- if (properties[keys[i]] != null)
18987
- this[keys[i]] = properties[keys[i]];
18988
- }
18989
-
18990
- /**
18991
- * GhostingAttributes enabled.
18992
- * @member {google.protobuf.IBoolValue|null|undefined} enabled
18993
- * @memberof vertexvis.protobuf.stream.GhostingAttributes
18994
- * @instance
18995
- */
18996
- GhostingAttributes.prototype.enabled = null;
18997
-
18998
- /**
18999
- * GhostingAttributes opacity.
19000
- * @member {google.protobuf.IFloatValue|null|undefined} opacity
19001
- * @memberof vertexvis.protobuf.stream.GhostingAttributes
19002
- * @instance
19003
- */
19004
- GhostingAttributes.prototype.opacity = null;
19005
-
19006
- /**
19007
- * Creates a new GhostingAttributes instance using the specified properties.
19008
- * @function create
19009
- * @memberof vertexvis.protobuf.stream.GhostingAttributes
19010
- * @static
19011
- * @param {vertexvis.protobuf.stream.IGhostingAttributes=} [properties] Properties to set
19012
- * @returns {vertexvis.protobuf.stream.GhostingAttributes} GhostingAttributes instance
19013
- */
19014
- GhostingAttributes.create = function create(properties) {
19015
- return new GhostingAttributes(properties);
19016
- };
19017
-
19018
- /**
19019
- * Encodes the specified GhostingAttributes message. Does not implicitly {@link vertexvis.protobuf.stream.GhostingAttributes.verify|verify} messages.
19020
- * @function encode
19021
- * @memberof vertexvis.protobuf.stream.GhostingAttributes
19022
- * @static
19023
- * @param {vertexvis.protobuf.stream.IGhostingAttributes} message GhostingAttributes message or plain object to encode
19024
- * @param {$protobuf.Writer} [writer] Writer to encode to
19025
- * @returns {$protobuf.Writer} Writer
19026
- */
19027
- GhostingAttributes.encode = function encode(message, writer) {
19028
- if (!writer)
19029
- writer = $Writer.create();
19030
- if (message.enabled != null && Object.hasOwnProperty.call(message, "enabled"))
19031
- $root.google.protobuf.BoolValue.encode(message.enabled, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
19032
- if (message.opacity != null && Object.hasOwnProperty.call(message, "opacity"))
19033
- $root.google.protobuf.FloatValue.encode(message.opacity, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
19034
- return writer;
19035
- };
19036
-
19037
- /**
19038
- * Encodes the specified GhostingAttributes message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.GhostingAttributes.verify|verify} messages.
19039
- * @function encodeDelimited
19040
- * @memberof vertexvis.protobuf.stream.GhostingAttributes
19041
- * @static
19042
- * @param {vertexvis.protobuf.stream.IGhostingAttributes} message GhostingAttributes message or plain object to encode
19043
- * @param {$protobuf.Writer} [writer] Writer to encode to
19044
- * @returns {$protobuf.Writer} Writer
19045
- */
19046
- GhostingAttributes.encodeDelimited = function encodeDelimited(message, writer) {
19047
- return this.encode(message, writer).ldelim();
19048
- };
19049
-
19050
- /**
19051
- * Decodes a GhostingAttributes message from the specified reader or buffer.
19052
- * @function decode
19053
- * @memberof vertexvis.protobuf.stream.GhostingAttributes
19054
- * @static
19055
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
19056
- * @param {number} [length] Message length if known beforehand
19057
- * @returns {vertexvis.protobuf.stream.GhostingAttributes} GhostingAttributes
19058
- * @throws {Error} If the payload is not a reader or valid buffer
19059
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
19060
- */
19061
- GhostingAttributes.decode = function decode(reader, length) {
19062
- if (!(reader instanceof $Reader))
19063
- reader = $Reader.create(reader);
19064
- let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.GhostingAttributes();
19065
- while (reader.pos < end) {
19066
- let tag = reader.uint32();
19067
- switch (tag >>> 3) {
19068
- case 1:
19069
- message.enabled = $root.google.protobuf.BoolValue.decode(reader, reader.uint32());
19070
- break;
19071
- case 2:
19072
- message.opacity = $root.google.protobuf.FloatValue.decode(reader, reader.uint32());
19073
- break;
19074
- default:
19075
- reader.skipType(tag & 7);
19076
- break;
19077
- }
19078
- }
19079
- return message;
19080
- };
19081
-
19082
- /**
19083
- * Decodes a GhostingAttributes message from the specified reader or buffer, length delimited.
19084
- * @function decodeDelimited
19085
- * @memberof vertexvis.protobuf.stream.GhostingAttributes
19086
- * @static
19087
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
19088
- * @returns {vertexvis.protobuf.stream.GhostingAttributes} GhostingAttributes
19089
- * @throws {Error} If the payload is not a reader or valid buffer
19090
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
19091
- */
19092
- GhostingAttributes.decodeDelimited = function decodeDelimited(reader) {
19093
- if (!(reader instanceof $Reader))
19094
- reader = new $Reader(reader);
19095
- return this.decode(reader, reader.uint32());
19096
- };
19097
-
19098
- /**
19099
- * Verifies a GhostingAttributes message.
19100
- * @function verify
19101
- * @memberof vertexvis.protobuf.stream.GhostingAttributes
19102
- * @static
19103
- * @param {Object.<string,*>} message Plain object to verify
19104
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
19105
- */
19106
- GhostingAttributes.verify = function verify(message) {
19107
- if (typeof message !== "object" || message === null)
19108
- return "object expected";
19109
- if (message.enabled != null && message.hasOwnProperty("enabled")) {
19110
- let error = $root.google.protobuf.BoolValue.verify(message.enabled);
19111
- if (error)
19112
- return "enabled." + error;
19113
- }
19114
- if (message.opacity != null && message.hasOwnProperty("opacity")) {
19115
- let error = $root.google.protobuf.FloatValue.verify(message.opacity);
19116
- if (error)
19117
- return "opacity." + error;
19118
- }
19119
- return null;
19120
- };
19121
-
19122
- /**
19123
- * Creates a GhostingAttributes message from a plain object. Also converts values to their respective internal types.
19124
- * @function fromObject
19125
- * @memberof vertexvis.protobuf.stream.GhostingAttributes
19126
- * @static
19127
- * @param {Object.<string,*>} object Plain object
19128
- * @returns {vertexvis.protobuf.stream.GhostingAttributes} GhostingAttributes
19129
- */
19130
- GhostingAttributes.fromObject = function fromObject(object) {
19131
- if (object instanceof $root.vertexvis.protobuf.stream.GhostingAttributes)
19132
- return object;
19133
- let message = new $root.vertexvis.protobuf.stream.GhostingAttributes();
19134
- if (object.enabled != null) {
19135
- if (typeof object.enabled !== "object")
19136
- throw TypeError(".vertexvis.protobuf.stream.GhostingAttributes.enabled: object expected");
19137
- message.enabled = $root.google.protobuf.BoolValue.fromObject(object.enabled);
19138
- }
19139
- if (object.opacity != null) {
19140
- if (typeof object.opacity !== "object")
19141
- throw TypeError(".vertexvis.protobuf.stream.GhostingAttributes.opacity: object expected");
19142
- message.opacity = $root.google.protobuf.FloatValue.fromObject(object.opacity);
19143
- }
19144
- return message;
19145
- };
19146
-
19147
- /**
19148
- * Creates a plain object from a GhostingAttributes message. Also converts values to other types if specified.
19149
- * @function toObject
19150
- * @memberof vertexvis.protobuf.stream.GhostingAttributes
19151
- * @static
19152
- * @param {vertexvis.protobuf.stream.GhostingAttributes} message GhostingAttributes
19153
- * @param {$protobuf.IConversionOptions} [options] Conversion options
19154
- * @returns {Object.<string,*>} Plain object
19155
- */
19156
- GhostingAttributes.toObject = function toObject(message, options) {
19157
- if (!options)
19158
- options = {};
19159
- let object = {};
19160
- if (options.defaults) {
19161
- object.enabled = null;
19162
- object.opacity = null;
19163
- }
19164
- if (message.enabled != null && message.hasOwnProperty("enabled"))
19165
- object.enabled = $root.google.protobuf.BoolValue.toObject(message.enabled, options);
19166
- if (message.opacity != null && message.hasOwnProperty("opacity"))
19167
- object.opacity = $root.google.protobuf.FloatValue.toObject(message.opacity, options);
19168
- return object;
19169
- };
19170
-
19171
- /**
19172
- * Converts this GhostingAttributes to JSON.
19173
- * @function toJSON
19174
- * @memberof vertexvis.protobuf.stream.GhostingAttributes
19175
- * @instance
19176
- * @returns {Object.<string,*>} JSON object
19177
- */
19178
- GhostingAttributes.prototype.toJSON = function toJSON() {
19179
- return this.constructor.toObject(this, minimal.util.toJSONOptions);
19180
- };
19181
-
19182
- return GhostingAttributes;
19183
- })();
19184
-
19185
18965
  stream.DepthBufferAttributes = (function() {
19186
18966
 
19187
18967
  /**
@@ -26948,6 +26728,7 @@ const vertexvis = $root.vertexvis = (() => {
26948
26728
  * @interface IHitItemsPayload
26949
26729
  * @property {vertexvis.protobuf.stream.IPoint|null} [point] HitItemsPayload point
26950
26730
  * @property {boolean|null} [includeMetadata] HitItemsPayload includeMetadata
26731
+ * @property {Array.<vertexvis.protobuf.core.SceneElementTypeMask>|null} [typeMask] HitItemsPayload typeMask
26951
26732
  */
26952
26733
 
26953
26734
  /**
@@ -26959,6 +26740,7 @@ const vertexvis = $root.vertexvis = (() => {
26959
26740
  * @param {vertexvis.protobuf.stream.IHitItemsPayload=} [properties] Properties to set
26960
26741
  */
26961
26742
  function HitItemsPayload(properties) {
26743
+ this.typeMask = [];
26962
26744
  if (properties)
26963
26745
  for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
26964
26746
  if (properties[keys[i]] != null)
@@ -26981,6 +26763,14 @@ const vertexvis = $root.vertexvis = (() => {
26981
26763
  */
26982
26764
  HitItemsPayload.prototype.includeMetadata = false;
26983
26765
 
26766
+ /**
26767
+ * HitItemsPayload typeMask.
26768
+ * @member {Array.<vertexvis.protobuf.core.SceneElementTypeMask>} typeMask
26769
+ * @memberof vertexvis.protobuf.stream.HitItemsPayload
26770
+ * @instance
26771
+ */
26772
+ HitItemsPayload.prototype.typeMask = $util.emptyArray;
26773
+
26984
26774
  /**
26985
26775
  * Creates a new HitItemsPayload instance using the specified properties.
26986
26776
  * @function create
@@ -27009,6 +26799,12 @@ const vertexvis = $root.vertexvis = (() => {
27009
26799
  $root.vertexvis.protobuf.stream.Point.encode(message.point, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
27010
26800
  if (message.includeMetadata != null && Object.hasOwnProperty.call(message, "includeMetadata"))
27011
26801
  writer.uint32(/* id 2, wireType 0 =*/16).bool(message.includeMetadata);
26802
+ if (message.typeMask != null && message.typeMask.length) {
26803
+ writer.uint32(/* id 8, wireType 2 =*/66).fork();
26804
+ for (let i = 0; i < message.typeMask.length; ++i)
26805
+ writer.int32(message.typeMask[i]);
26806
+ writer.ldelim();
26807
+ }
27012
26808
  return writer;
27013
26809
  };
27014
26810
 
@@ -27049,6 +26845,16 @@ const vertexvis = $root.vertexvis = (() => {
27049
26845
  case 2:
27050
26846
  message.includeMetadata = reader.bool();
27051
26847
  break;
26848
+ case 8:
26849
+ if (!(message.typeMask && message.typeMask.length))
26850
+ message.typeMask = [];
26851
+ if ((tag & 7) === 2) {
26852
+ let end2 = reader.uint32() + reader.pos;
26853
+ while (reader.pos < end2)
26854
+ message.typeMask.push(reader.int32());
26855
+ } else
26856
+ message.typeMask.push(reader.int32());
26857
+ break;
27052
26858
  default:
27053
26859
  reader.skipType(tag & 7);
27054
26860
  break;
@@ -27092,6 +26898,19 @@ const vertexvis = $root.vertexvis = (() => {
27092
26898
  if (message.includeMetadata != null && message.hasOwnProperty("includeMetadata"))
27093
26899
  if (typeof message.includeMetadata !== "boolean")
27094
26900
  return "includeMetadata: boolean expected";
26901
+ if (message.typeMask != null && message.hasOwnProperty("typeMask")) {
26902
+ if (!Array.isArray(message.typeMask))
26903
+ return "typeMask: array expected";
26904
+ for (let i = 0; i < message.typeMask.length; ++i)
26905
+ switch (message.typeMask[i]) {
26906
+ default:
26907
+ return "typeMask: enum value[] expected";
26908
+ case 0:
26909
+ case 1:
26910
+ case 2:
26911
+ break;
26912
+ }
26913
+ }
27095
26914
  return null;
27096
26915
  };
27097
26916
 
@@ -27114,6 +26933,27 @@ const vertexvis = $root.vertexvis = (() => {
27114
26933
  }
27115
26934
  if (object.includeMetadata != null)
27116
26935
  message.includeMetadata = Boolean(object.includeMetadata);
26936
+ if (object.typeMask) {
26937
+ if (!Array.isArray(object.typeMask))
26938
+ throw TypeError(".vertexvis.protobuf.stream.HitItemsPayload.typeMask: array expected");
26939
+ message.typeMask = [];
26940
+ for (let i = 0; i < object.typeMask.length; ++i)
26941
+ switch (object.typeMask[i]) {
26942
+ default:
26943
+ case "SCENE_ELEMENT_TYPE_MASK_INVALID":
26944
+ case 0:
26945
+ message.typeMask[i] = 0;
26946
+ break;
26947
+ case "SCENE_ELEMENT_TYPE_MASK_SCENE_ITEMS":
26948
+ case 1:
26949
+ message.typeMask[i] = 1;
26950
+ break;
26951
+ case "SCENE_ELEMENT_TYPE_MASK_ANNOTATION_PRIMITIVES":
26952
+ case 2:
26953
+ message.typeMask[i] = 2;
26954
+ break;
26955
+ }
26956
+ }
27117
26957
  return message;
27118
26958
  };
27119
26959
 
@@ -27130,6 +26970,8 @@ const vertexvis = $root.vertexvis = (() => {
27130
26970
  if (!options)
27131
26971
  options = {};
27132
26972
  let object = {};
26973
+ if (options.arrays || options.defaults)
26974
+ object.typeMask = [];
27133
26975
  if (options.defaults) {
27134
26976
  object.point = null;
27135
26977
  object.includeMetadata = false;
@@ -27138,6 +26980,11 @@ const vertexvis = $root.vertexvis = (() => {
27138
26980
  object.point = $root.vertexvis.protobuf.stream.Point.toObject(message.point, options);
27139
26981
  if (message.includeMetadata != null && message.hasOwnProperty("includeMetadata"))
27140
26982
  object.includeMetadata = message.includeMetadata;
26983
+ if (message.typeMask && message.typeMask.length) {
26984
+ object.typeMask = [];
26985
+ for (let j = 0; j < message.typeMask.length; ++j)
26986
+ object.typeMask[j] = options.enums === String ? $root.vertexvis.protobuf.core.SceneElementTypeMask[message.typeMask[j]] : message.typeMask[j];
26987
+ }
27141
26988
  return object;
27142
26989
  };
27143
26990
 
@@ -46409,6 +46256,22 @@ const vertexvis = $root.vertexvis = (() => {
46409
46256
  return PmiAnnotation;
46410
46257
  })();
46411
46258
 
46259
+ /**
46260
+ * SceneElementTypeMask enum.
46261
+ * @name vertexvis.protobuf.core.SceneElementTypeMask
46262
+ * @enum {number}
46263
+ * @property {number} SCENE_ELEMENT_TYPE_MASK_INVALID=0 SCENE_ELEMENT_TYPE_MASK_INVALID value
46264
+ * @property {number} SCENE_ELEMENT_TYPE_MASK_SCENE_ITEMS=1 SCENE_ELEMENT_TYPE_MASK_SCENE_ITEMS value
46265
+ * @property {number} SCENE_ELEMENT_TYPE_MASK_ANNOTATION_PRIMITIVES=2 SCENE_ELEMENT_TYPE_MASK_ANNOTATION_PRIMITIVES value
46266
+ */
46267
+ core.SceneElementTypeMask = (function() {
46268
+ const valuesById = {}, values = Object.create(valuesById);
46269
+ values[valuesById[0] = "SCENE_ELEMENT_TYPE_MASK_INVALID"] = 0;
46270
+ values[valuesById[1] = "SCENE_ELEMENT_TYPE_MASK_SCENE_ITEMS"] = 1;
46271
+ values[valuesById[2] = "SCENE_ELEMENT_TYPE_MASK_ANNOTATION_PRIMITIVES"] = 2;
46272
+ return values;
46273
+ })();
46274
+
46412
46275
  return core;
46413
46276
  })();
46414
46277