@vertexvis/stream-api 0.17.3-canary.1 → 0.17.3-canary.11
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 +499 -1
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +499 -1
- package/dist/bundle.esm.js.map +1 -1
- package/package.json +5 -5
package/dist/bundle.esm.js
CHANGED
|
@@ -3793,6 +3793,441 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3793
3793
|
return ImageAttributes;
|
|
3794
3794
|
})();
|
|
3795
3795
|
|
|
3796
|
+
stream.ItemSetSummary = (function() {
|
|
3797
|
+
|
|
3798
|
+
/**
|
|
3799
|
+
* Properties of an ItemSetSummary.
|
|
3800
|
+
* @memberof vertexvis.protobuf.stream
|
|
3801
|
+
* @interface IItemSetSummary
|
|
3802
|
+
* @property {number|null} [count] ItemSetSummary count
|
|
3803
|
+
* @property {vertexvis.protobuf.core.IBoundingBox3f|null} [boundingBox] ItemSetSummary boundingBox
|
|
3804
|
+
*/
|
|
3805
|
+
|
|
3806
|
+
/**
|
|
3807
|
+
* Constructs a new ItemSetSummary.
|
|
3808
|
+
* @memberof vertexvis.protobuf.stream
|
|
3809
|
+
* @classdesc Represents an ItemSetSummary.
|
|
3810
|
+
* @implements IItemSetSummary
|
|
3811
|
+
* @constructor
|
|
3812
|
+
* @param {vertexvis.protobuf.stream.IItemSetSummary=} [properties] Properties to set
|
|
3813
|
+
*/
|
|
3814
|
+
function ItemSetSummary(properties) {
|
|
3815
|
+
if (properties)
|
|
3816
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
3817
|
+
if (properties[keys[i]] != null)
|
|
3818
|
+
this[keys[i]] = properties[keys[i]];
|
|
3819
|
+
}
|
|
3820
|
+
|
|
3821
|
+
/**
|
|
3822
|
+
* ItemSetSummary count.
|
|
3823
|
+
* @member {number} count
|
|
3824
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
3825
|
+
* @instance
|
|
3826
|
+
*/
|
|
3827
|
+
ItemSetSummary.prototype.count = 0;
|
|
3828
|
+
|
|
3829
|
+
/**
|
|
3830
|
+
* ItemSetSummary boundingBox.
|
|
3831
|
+
* @member {vertexvis.protobuf.core.IBoundingBox3f|null|undefined} boundingBox
|
|
3832
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
3833
|
+
* @instance
|
|
3834
|
+
*/
|
|
3835
|
+
ItemSetSummary.prototype.boundingBox = null;
|
|
3836
|
+
|
|
3837
|
+
/**
|
|
3838
|
+
* Creates a new ItemSetSummary instance using the specified properties.
|
|
3839
|
+
* @function create
|
|
3840
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
3841
|
+
* @static
|
|
3842
|
+
* @param {vertexvis.protobuf.stream.IItemSetSummary=} [properties] Properties to set
|
|
3843
|
+
* @returns {vertexvis.protobuf.stream.ItemSetSummary} ItemSetSummary instance
|
|
3844
|
+
*/
|
|
3845
|
+
ItemSetSummary.create = function create(properties) {
|
|
3846
|
+
return new ItemSetSummary(properties);
|
|
3847
|
+
};
|
|
3848
|
+
|
|
3849
|
+
/**
|
|
3850
|
+
* Encodes the specified ItemSetSummary message. Does not implicitly {@link vertexvis.protobuf.stream.ItemSetSummary.verify|verify} messages.
|
|
3851
|
+
* @function encode
|
|
3852
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
3853
|
+
* @static
|
|
3854
|
+
* @param {vertexvis.protobuf.stream.IItemSetSummary} message ItemSetSummary message or plain object to encode
|
|
3855
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
3856
|
+
* @returns {$protobuf.Writer} Writer
|
|
3857
|
+
*/
|
|
3858
|
+
ItemSetSummary.encode = function encode(message, writer) {
|
|
3859
|
+
if (!writer)
|
|
3860
|
+
writer = $Writer.create();
|
|
3861
|
+
if (message.count != null && Object.hasOwnProperty.call(message, "count"))
|
|
3862
|
+
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.count);
|
|
3863
|
+
if (message.boundingBox != null && Object.hasOwnProperty.call(message, "boundingBox"))
|
|
3864
|
+
$root.vertexvis.protobuf.core.BoundingBox3f.encode(message.boundingBox, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
3865
|
+
return writer;
|
|
3866
|
+
};
|
|
3867
|
+
|
|
3868
|
+
/**
|
|
3869
|
+
* Encodes the specified ItemSetSummary message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.ItemSetSummary.verify|verify} messages.
|
|
3870
|
+
* @function encodeDelimited
|
|
3871
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
3872
|
+
* @static
|
|
3873
|
+
* @param {vertexvis.protobuf.stream.IItemSetSummary} message ItemSetSummary message or plain object to encode
|
|
3874
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
3875
|
+
* @returns {$protobuf.Writer} Writer
|
|
3876
|
+
*/
|
|
3877
|
+
ItemSetSummary.encodeDelimited = function encodeDelimited(message, writer) {
|
|
3878
|
+
return this.encode(message, writer).ldelim();
|
|
3879
|
+
};
|
|
3880
|
+
|
|
3881
|
+
/**
|
|
3882
|
+
* Decodes an ItemSetSummary message from the specified reader or buffer.
|
|
3883
|
+
* @function decode
|
|
3884
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
3885
|
+
* @static
|
|
3886
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
3887
|
+
* @param {number} [length] Message length if known beforehand
|
|
3888
|
+
* @returns {vertexvis.protobuf.stream.ItemSetSummary} ItemSetSummary
|
|
3889
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3890
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3891
|
+
*/
|
|
3892
|
+
ItemSetSummary.decode = function decode(reader, length) {
|
|
3893
|
+
if (!(reader instanceof $Reader))
|
|
3894
|
+
reader = $Reader.create(reader);
|
|
3895
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.ItemSetSummary();
|
|
3896
|
+
while (reader.pos < end) {
|
|
3897
|
+
let tag = reader.uint32();
|
|
3898
|
+
switch (tag >>> 3) {
|
|
3899
|
+
case 1:
|
|
3900
|
+
message.count = reader.int32();
|
|
3901
|
+
break;
|
|
3902
|
+
case 2:
|
|
3903
|
+
message.boundingBox = $root.vertexvis.protobuf.core.BoundingBox3f.decode(reader, reader.uint32());
|
|
3904
|
+
break;
|
|
3905
|
+
default:
|
|
3906
|
+
reader.skipType(tag & 7);
|
|
3907
|
+
break;
|
|
3908
|
+
}
|
|
3909
|
+
}
|
|
3910
|
+
return message;
|
|
3911
|
+
};
|
|
3912
|
+
|
|
3913
|
+
/**
|
|
3914
|
+
* Decodes an ItemSetSummary message from the specified reader or buffer, length delimited.
|
|
3915
|
+
* @function decodeDelimited
|
|
3916
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
3917
|
+
* @static
|
|
3918
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
3919
|
+
* @returns {vertexvis.protobuf.stream.ItemSetSummary} ItemSetSummary
|
|
3920
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3921
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3922
|
+
*/
|
|
3923
|
+
ItemSetSummary.decodeDelimited = function decodeDelimited(reader) {
|
|
3924
|
+
if (!(reader instanceof $Reader))
|
|
3925
|
+
reader = new $Reader(reader);
|
|
3926
|
+
return this.decode(reader, reader.uint32());
|
|
3927
|
+
};
|
|
3928
|
+
|
|
3929
|
+
/**
|
|
3930
|
+
* Verifies an ItemSetSummary message.
|
|
3931
|
+
* @function verify
|
|
3932
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
3933
|
+
* @static
|
|
3934
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
3935
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
3936
|
+
*/
|
|
3937
|
+
ItemSetSummary.verify = function verify(message) {
|
|
3938
|
+
if (typeof message !== "object" || message === null)
|
|
3939
|
+
return "object expected";
|
|
3940
|
+
if (message.count != null && message.hasOwnProperty("count"))
|
|
3941
|
+
if (!$util.isInteger(message.count))
|
|
3942
|
+
return "count: integer expected";
|
|
3943
|
+
if (message.boundingBox != null && message.hasOwnProperty("boundingBox")) {
|
|
3944
|
+
let error = $root.vertexvis.protobuf.core.BoundingBox3f.verify(message.boundingBox);
|
|
3945
|
+
if (error)
|
|
3946
|
+
return "boundingBox." + error;
|
|
3947
|
+
}
|
|
3948
|
+
return null;
|
|
3949
|
+
};
|
|
3950
|
+
|
|
3951
|
+
/**
|
|
3952
|
+
* Creates an ItemSetSummary message from a plain object. Also converts values to their respective internal types.
|
|
3953
|
+
* @function fromObject
|
|
3954
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
3955
|
+
* @static
|
|
3956
|
+
* @param {Object.<string,*>} object Plain object
|
|
3957
|
+
* @returns {vertexvis.protobuf.stream.ItemSetSummary} ItemSetSummary
|
|
3958
|
+
*/
|
|
3959
|
+
ItemSetSummary.fromObject = function fromObject(object) {
|
|
3960
|
+
if (object instanceof $root.vertexvis.protobuf.stream.ItemSetSummary)
|
|
3961
|
+
return object;
|
|
3962
|
+
let message = new $root.vertexvis.protobuf.stream.ItemSetSummary();
|
|
3963
|
+
if (object.count != null)
|
|
3964
|
+
message.count = object.count | 0;
|
|
3965
|
+
if (object.boundingBox != null) {
|
|
3966
|
+
if (typeof object.boundingBox !== "object")
|
|
3967
|
+
throw TypeError(".vertexvis.protobuf.stream.ItemSetSummary.boundingBox: object expected");
|
|
3968
|
+
message.boundingBox = $root.vertexvis.protobuf.core.BoundingBox3f.fromObject(object.boundingBox);
|
|
3969
|
+
}
|
|
3970
|
+
return message;
|
|
3971
|
+
};
|
|
3972
|
+
|
|
3973
|
+
/**
|
|
3974
|
+
* Creates a plain object from an ItemSetSummary message. Also converts values to other types if specified.
|
|
3975
|
+
* @function toObject
|
|
3976
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
3977
|
+
* @static
|
|
3978
|
+
* @param {vertexvis.protobuf.stream.ItemSetSummary} message ItemSetSummary
|
|
3979
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
3980
|
+
* @returns {Object.<string,*>} Plain object
|
|
3981
|
+
*/
|
|
3982
|
+
ItemSetSummary.toObject = function toObject(message, options) {
|
|
3983
|
+
if (!options)
|
|
3984
|
+
options = {};
|
|
3985
|
+
let object = {};
|
|
3986
|
+
if (options.defaults) {
|
|
3987
|
+
object.count = 0;
|
|
3988
|
+
object.boundingBox = null;
|
|
3989
|
+
}
|
|
3990
|
+
if (message.count != null && message.hasOwnProperty("count"))
|
|
3991
|
+
object.count = message.count;
|
|
3992
|
+
if (message.boundingBox != null && message.hasOwnProperty("boundingBox"))
|
|
3993
|
+
object.boundingBox = $root.vertexvis.protobuf.core.BoundingBox3f.toObject(message.boundingBox, options);
|
|
3994
|
+
return object;
|
|
3995
|
+
};
|
|
3996
|
+
|
|
3997
|
+
/**
|
|
3998
|
+
* Converts this ItemSetSummary to JSON.
|
|
3999
|
+
* @function toJSON
|
|
4000
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
4001
|
+
* @instance
|
|
4002
|
+
* @returns {Object.<string,*>} JSON object
|
|
4003
|
+
*/
|
|
4004
|
+
ItemSetSummary.prototype.toJSON = function toJSON() {
|
|
4005
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
4006
|
+
};
|
|
4007
|
+
|
|
4008
|
+
return ItemSetSummary;
|
|
4009
|
+
})();
|
|
4010
|
+
|
|
4011
|
+
stream.DisplayListSummary = (function() {
|
|
4012
|
+
|
|
4013
|
+
/**
|
|
4014
|
+
* Properties of a DisplayListSummary.
|
|
4015
|
+
* @memberof vertexvis.protobuf.stream
|
|
4016
|
+
* @interface IDisplayListSummary
|
|
4017
|
+
* @property {vertexvis.protobuf.stream.IItemSetSummary|null} [visibleSummary] DisplayListSummary visibleSummary
|
|
4018
|
+
* @property {vertexvis.protobuf.stream.IItemSetSummary|null} [selectedVisibleSummary] DisplayListSummary selectedVisibleSummary
|
|
4019
|
+
*/
|
|
4020
|
+
|
|
4021
|
+
/**
|
|
4022
|
+
* Constructs a new DisplayListSummary.
|
|
4023
|
+
* @memberof vertexvis.protobuf.stream
|
|
4024
|
+
* @classdesc Represents a DisplayListSummary.
|
|
4025
|
+
* @implements IDisplayListSummary
|
|
4026
|
+
* @constructor
|
|
4027
|
+
* @param {vertexvis.protobuf.stream.IDisplayListSummary=} [properties] Properties to set
|
|
4028
|
+
*/
|
|
4029
|
+
function DisplayListSummary(properties) {
|
|
4030
|
+
if (properties)
|
|
4031
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
4032
|
+
if (properties[keys[i]] != null)
|
|
4033
|
+
this[keys[i]] = properties[keys[i]];
|
|
4034
|
+
}
|
|
4035
|
+
|
|
4036
|
+
/**
|
|
4037
|
+
* DisplayListSummary visibleSummary.
|
|
4038
|
+
* @member {vertexvis.protobuf.stream.IItemSetSummary|null|undefined} visibleSummary
|
|
4039
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4040
|
+
* @instance
|
|
4041
|
+
*/
|
|
4042
|
+
DisplayListSummary.prototype.visibleSummary = null;
|
|
4043
|
+
|
|
4044
|
+
/**
|
|
4045
|
+
* DisplayListSummary selectedVisibleSummary.
|
|
4046
|
+
* @member {vertexvis.protobuf.stream.IItemSetSummary|null|undefined} selectedVisibleSummary
|
|
4047
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4048
|
+
* @instance
|
|
4049
|
+
*/
|
|
4050
|
+
DisplayListSummary.prototype.selectedVisibleSummary = null;
|
|
4051
|
+
|
|
4052
|
+
/**
|
|
4053
|
+
* Creates a new DisplayListSummary instance using the specified properties.
|
|
4054
|
+
* @function create
|
|
4055
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4056
|
+
* @static
|
|
4057
|
+
* @param {vertexvis.protobuf.stream.IDisplayListSummary=} [properties] Properties to set
|
|
4058
|
+
* @returns {vertexvis.protobuf.stream.DisplayListSummary} DisplayListSummary instance
|
|
4059
|
+
*/
|
|
4060
|
+
DisplayListSummary.create = function create(properties) {
|
|
4061
|
+
return new DisplayListSummary(properties);
|
|
4062
|
+
};
|
|
4063
|
+
|
|
4064
|
+
/**
|
|
4065
|
+
* Encodes the specified DisplayListSummary message. Does not implicitly {@link vertexvis.protobuf.stream.DisplayListSummary.verify|verify} messages.
|
|
4066
|
+
* @function encode
|
|
4067
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4068
|
+
* @static
|
|
4069
|
+
* @param {vertexvis.protobuf.stream.IDisplayListSummary} message DisplayListSummary message or plain object to encode
|
|
4070
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
4071
|
+
* @returns {$protobuf.Writer} Writer
|
|
4072
|
+
*/
|
|
4073
|
+
DisplayListSummary.encode = function encode(message, writer) {
|
|
4074
|
+
if (!writer)
|
|
4075
|
+
writer = $Writer.create();
|
|
4076
|
+
if (message.visibleSummary != null && Object.hasOwnProperty.call(message, "visibleSummary"))
|
|
4077
|
+
$root.vertexvis.protobuf.stream.ItemSetSummary.encode(message.visibleSummary, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
4078
|
+
if (message.selectedVisibleSummary != null && Object.hasOwnProperty.call(message, "selectedVisibleSummary"))
|
|
4079
|
+
$root.vertexvis.protobuf.stream.ItemSetSummary.encode(message.selectedVisibleSummary, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
4080
|
+
return writer;
|
|
4081
|
+
};
|
|
4082
|
+
|
|
4083
|
+
/**
|
|
4084
|
+
* Encodes the specified DisplayListSummary message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.DisplayListSummary.verify|verify} messages.
|
|
4085
|
+
* @function encodeDelimited
|
|
4086
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4087
|
+
* @static
|
|
4088
|
+
* @param {vertexvis.protobuf.stream.IDisplayListSummary} message DisplayListSummary message or plain object to encode
|
|
4089
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
4090
|
+
* @returns {$protobuf.Writer} Writer
|
|
4091
|
+
*/
|
|
4092
|
+
DisplayListSummary.encodeDelimited = function encodeDelimited(message, writer) {
|
|
4093
|
+
return this.encode(message, writer).ldelim();
|
|
4094
|
+
};
|
|
4095
|
+
|
|
4096
|
+
/**
|
|
4097
|
+
* Decodes a DisplayListSummary message from the specified reader or buffer.
|
|
4098
|
+
* @function decode
|
|
4099
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4100
|
+
* @static
|
|
4101
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
4102
|
+
* @param {number} [length] Message length if known beforehand
|
|
4103
|
+
* @returns {vertexvis.protobuf.stream.DisplayListSummary} DisplayListSummary
|
|
4104
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4105
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4106
|
+
*/
|
|
4107
|
+
DisplayListSummary.decode = function decode(reader, length) {
|
|
4108
|
+
if (!(reader instanceof $Reader))
|
|
4109
|
+
reader = $Reader.create(reader);
|
|
4110
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.DisplayListSummary();
|
|
4111
|
+
while (reader.pos < end) {
|
|
4112
|
+
let tag = reader.uint32();
|
|
4113
|
+
switch (tag >>> 3) {
|
|
4114
|
+
case 1:
|
|
4115
|
+
message.visibleSummary = $root.vertexvis.protobuf.stream.ItemSetSummary.decode(reader, reader.uint32());
|
|
4116
|
+
break;
|
|
4117
|
+
case 2:
|
|
4118
|
+
message.selectedVisibleSummary = $root.vertexvis.protobuf.stream.ItemSetSummary.decode(reader, reader.uint32());
|
|
4119
|
+
break;
|
|
4120
|
+
default:
|
|
4121
|
+
reader.skipType(tag & 7);
|
|
4122
|
+
break;
|
|
4123
|
+
}
|
|
4124
|
+
}
|
|
4125
|
+
return message;
|
|
4126
|
+
};
|
|
4127
|
+
|
|
4128
|
+
/**
|
|
4129
|
+
* Decodes a DisplayListSummary message from the specified reader or buffer, length delimited.
|
|
4130
|
+
* @function decodeDelimited
|
|
4131
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4132
|
+
* @static
|
|
4133
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
4134
|
+
* @returns {vertexvis.protobuf.stream.DisplayListSummary} DisplayListSummary
|
|
4135
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4136
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4137
|
+
*/
|
|
4138
|
+
DisplayListSummary.decodeDelimited = function decodeDelimited(reader) {
|
|
4139
|
+
if (!(reader instanceof $Reader))
|
|
4140
|
+
reader = new $Reader(reader);
|
|
4141
|
+
return this.decode(reader, reader.uint32());
|
|
4142
|
+
};
|
|
4143
|
+
|
|
4144
|
+
/**
|
|
4145
|
+
* Verifies a DisplayListSummary message.
|
|
4146
|
+
* @function verify
|
|
4147
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4148
|
+
* @static
|
|
4149
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
4150
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
4151
|
+
*/
|
|
4152
|
+
DisplayListSummary.verify = function verify(message) {
|
|
4153
|
+
if (typeof message !== "object" || message === null)
|
|
4154
|
+
return "object expected";
|
|
4155
|
+
if (message.visibleSummary != null && message.hasOwnProperty("visibleSummary")) {
|
|
4156
|
+
let error = $root.vertexvis.protobuf.stream.ItemSetSummary.verify(message.visibleSummary);
|
|
4157
|
+
if (error)
|
|
4158
|
+
return "visibleSummary." + error;
|
|
4159
|
+
}
|
|
4160
|
+
if (message.selectedVisibleSummary != null && message.hasOwnProperty("selectedVisibleSummary")) {
|
|
4161
|
+
let error = $root.vertexvis.protobuf.stream.ItemSetSummary.verify(message.selectedVisibleSummary);
|
|
4162
|
+
if (error)
|
|
4163
|
+
return "selectedVisibleSummary." + error;
|
|
4164
|
+
}
|
|
4165
|
+
return null;
|
|
4166
|
+
};
|
|
4167
|
+
|
|
4168
|
+
/**
|
|
4169
|
+
* Creates a DisplayListSummary message from a plain object. Also converts values to their respective internal types.
|
|
4170
|
+
* @function fromObject
|
|
4171
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4172
|
+
* @static
|
|
4173
|
+
* @param {Object.<string,*>} object Plain object
|
|
4174
|
+
* @returns {vertexvis.protobuf.stream.DisplayListSummary} DisplayListSummary
|
|
4175
|
+
*/
|
|
4176
|
+
DisplayListSummary.fromObject = function fromObject(object) {
|
|
4177
|
+
if (object instanceof $root.vertexvis.protobuf.stream.DisplayListSummary)
|
|
4178
|
+
return object;
|
|
4179
|
+
let message = new $root.vertexvis.protobuf.stream.DisplayListSummary();
|
|
4180
|
+
if (object.visibleSummary != null) {
|
|
4181
|
+
if (typeof object.visibleSummary !== "object")
|
|
4182
|
+
throw TypeError(".vertexvis.protobuf.stream.DisplayListSummary.visibleSummary: object expected");
|
|
4183
|
+
message.visibleSummary = $root.vertexvis.protobuf.stream.ItemSetSummary.fromObject(object.visibleSummary);
|
|
4184
|
+
}
|
|
4185
|
+
if (object.selectedVisibleSummary != null) {
|
|
4186
|
+
if (typeof object.selectedVisibleSummary !== "object")
|
|
4187
|
+
throw TypeError(".vertexvis.protobuf.stream.DisplayListSummary.selectedVisibleSummary: object expected");
|
|
4188
|
+
message.selectedVisibleSummary = $root.vertexvis.protobuf.stream.ItemSetSummary.fromObject(object.selectedVisibleSummary);
|
|
4189
|
+
}
|
|
4190
|
+
return message;
|
|
4191
|
+
};
|
|
4192
|
+
|
|
4193
|
+
/**
|
|
4194
|
+
* Creates a plain object from a DisplayListSummary message. Also converts values to other types if specified.
|
|
4195
|
+
* @function toObject
|
|
4196
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4197
|
+
* @static
|
|
4198
|
+
* @param {vertexvis.protobuf.stream.DisplayListSummary} message DisplayListSummary
|
|
4199
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
4200
|
+
* @returns {Object.<string,*>} Plain object
|
|
4201
|
+
*/
|
|
4202
|
+
DisplayListSummary.toObject = function toObject(message, options) {
|
|
4203
|
+
if (!options)
|
|
4204
|
+
options = {};
|
|
4205
|
+
let object = {};
|
|
4206
|
+
if (options.defaults) {
|
|
4207
|
+
object.visibleSummary = null;
|
|
4208
|
+
object.selectedVisibleSummary = null;
|
|
4209
|
+
}
|
|
4210
|
+
if (message.visibleSummary != null && message.hasOwnProperty("visibleSummary"))
|
|
4211
|
+
object.visibleSummary = $root.vertexvis.protobuf.stream.ItemSetSummary.toObject(message.visibleSummary, options);
|
|
4212
|
+
if (message.selectedVisibleSummary != null && message.hasOwnProperty("selectedVisibleSummary"))
|
|
4213
|
+
object.selectedVisibleSummary = $root.vertexvis.protobuf.stream.ItemSetSummary.toObject(message.selectedVisibleSummary, options);
|
|
4214
|
+
return object;
|
|
4215
|
+
};
|
|
4216
|
+
|
|
4217
|
+
/**
|
|
4218
|
+
* Converts this DisplayListSummary to JSON.
|
|
4219
|
+
* @function toJSON
|
|
4220
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4221
|
+
* @instance
|
|
4222
|
+
* @returns {Object.<string,*>} JSON object
|
|
4223
|
+
*/
|
|
4224
|
+
DisplayListSummary.prototype.toJSON = function toJSON() {
|
|
4225
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
4226
|
+
};
|
|
4227
|
+
|
|
4228
|
+
return DisplayListSummary;
|
|
4229
|
+
})();
|
|
4230
|
+
|
|
3796
4231
|
stream.SceneAttributes = (function() {
|
|
3797
4232
|
|
|
3798
4233
|
/**
|
|
@@ -3803,6 +4238,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3803
4238
|
* @property {vertexvis.protobuf.core.IBoundingBox3f|null} [visibleBoundingBox] SceneAttributes visibleBoundingBox
|
|
3804
4239
|
* @property {vertexvis.protobuf.stream.ICrossSectioning|null} [crossSectioning] SceneAttributes crossSectioning
|
|
3805
4240
|
* @property {boolean|null} [hasChanged] SceneAttributes hasChanged
|
|
4241
|
+
* @property {vertexvis.protobuf.stream.IDisplayListSummary|null} [displayListSummary] SceneAttributes displayListSummary
|
|
3806
4242
|
*/
|
|
3807
4243
|
|
|
3808
4244
|
/**
|
|
@@ -3852,6 +4288,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3852
4288
|
*/
|
|
3853
4289
|
SceneAttributes.prototype.hasChanged = false;
|
|
3854
4290
|
|
|
4291
|
+
/**
|
|
4292
|
+
* SceneAttributes displayListSummary.
|
|
4293
|
+
* @member {vertexvis.protobuf.stream.IDisplayListSummary|null|undefined} displayListSummary
|
|
4294
|
+
* @memberof vertexvis.protobuf.stream.SceneAttributes
|
|
4295
|
+
* @instance
|
|
4296
|
+
*/
|
|
4297
|
+
SceneAttributes.prototype.displayListSummary = null;
|
|
4298
|
+
|
|
3855
4299
|
/**
|
|
3856
4300
|
* Creates a new SceneAttributes instance using the specified properties.
|
|
3857
4301
|
* @function create
|
|
@@ -3884,6 +4328,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3884
4328
|
$root.vertexvis.protobuf.stream.CrossSectioning.encode(message.crossSectioning, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
3885
4329
|
if (message.hasChanged != null && Object.hasOwnProperty.call(message, "hasChanged"))
|
|
3886
4330
|
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.hasChanged);
|
|
4331
|
+
if (message.displayListSummary != null && Object.hasOwnProperty.call(message, "displayListSummary"))
|
|
4332
|
+
$root.vertexvis.protobuf.stream.DisplayListSummary.encode(message.displayListSummary, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
3887
4333
|
return writer;
|
|
3888
4334
|
};
|
|
3889
4335
|
|
|
@@ -3930,6 +4376,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3930
4376
|
case 4:
|
|
3931
4377
|
message.hasChanged = reader.bool();
|
|
3932
4378
|
break;
|
|
4379
|
+
case 5:
|
|
4380
|
+
message.displayListSummary = $root.vertexvis.protobuf.stream.DisplayListSummary.decode(reader, reader.uint32());
|
|
4381
|
+
break;
|
|
3933
4382
|
default:
|
|
3934
4383
|
reader.skipType(tag & 7);
|
|
3935
4384
|
break;
|
|
@@ -3983,6 +4432,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3983
4432
|
if (message.hasChanged != null && message.hasOwnProperty("hasChanged"))
|
|
3984
4433
|
if (typeof message.hasChanged !== "boolean")
|
|
3985
4434
|
return "hasChanged: boolean expected";
|
|
4435
|
+
if (message.displayListSummary != null && message.hasOwnProperty("displayListSummary")) {
|
|
4436
|
+
let error = $root.vertexvis.protobuf.stream.DisplayListSummary.verify(message.displayListSummary);
|
|
4437
|
+
if (error)
|
|
4438
|
+
return "displayListSummary." + error;
|
|
4439
|
+
}
|
|
3986
4440
|
return null;
|
|
3987
4441
|
};
|
|
3988
4442
|
|
|
@@ -4015,6 +4469,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
4015
4469
|
}
|
|
4016
4470
|
if (object.hasChanged != null)
|
|
4017
4471
|
message.hasChanged = Boolean(object.hasChanged);
|
|
4472
|
+
if (object.displayListSummary != null) {
|
|
4473
|
+
if (typeof object.displayListSummary !== "object")
|
|
4474
|
+
throw TypeError(".vertexvis.protobuf.stream.SceneAttributes.displayListSummary: object expected");
|
|
4475
|
+
message.displayListSummary = $root.vertexvis.protobuf.stream.DisplayListSummary.fromObject(object.displayListSummary);
|
|
4476
|
+
}
|
|
4018
4477
|
return message;
|
|
4019
4478
|
};
|
|
4020
4479
|
|
|
@@ -4036,6 +4495,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
4036
4495
|
object.visibleBoundingBox = null;
|
|
4037
4496
|
object.crossSectioning = null;
|
|
4038
4497
|
object.hasChanged = false;
|
|
4498
|
+
object.displayListSummary = null;
|
|
4039
4499
|
}
|
|
4040
4500
|
if (message.camera != null && message.hasOwnProperty("camera"))
|
|
4041
4501
|
object.camera = $root.vertexvis.protobuf.stream.Camera.toObject(message.camera, options);
|
|
@@ -4045,6 +4505,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
4045
4505
|
object.crossSectioning = $root.vertexvis.protobuf.stream.CrossSectioning.toObject(message.crossSectioning, options);
|
|
4046
4506
|
if (message.hasChanged != null && message.hasOwnProperty("hasChanged"))
|
|
4047
4507
|
object.hasChanged = message.hasChanged;
|
|
4508
|
+
if (message.displayListSummary != null && message.hasOwnProperty("displayListSummary"))
|
|
4509
|
+
object.displayListSummary = $root.vertexvis.protobuf.stream.DisplayListSummary.toObject(message.displayListSummary, options);
|
|
4048
4510
|
return object;
|
|
4049
4511
|
};
|
|
4050
4512
|
|
|
@@ -12934,6 +13396,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
12934
13396
|
* @interface ICrossSectioning
|
|
12935
13397
|
* @property {Array.<vertexvis.protobuf.stream.ISectionPlane>|null} [sectionPlanes] CrossSectioning sectionPlanes
|
|
12936
13398
|
* @property {vertexvis.protobuf.core.IRGBi|null} [highlightColor] CrossSectioning highlightColor
|
|
13399
|
+
* @property {google.protobuf.IFloatValue|null} [lineWidth] CrossSectioning lineWidth
|
|
12937
13400
|
*/
|
|
12938
13401
|
|
|
12939
13402
|
/**
|
|
@@ -12968,6 +13431,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
12968
13431
|
*/
|
|
12969
13432
|
CrossSectioning.prototype.highlightColor = null;
|
|
12970
13433
|
|
|
13434
|
+
/**
|
|
13435
|
+
* CrossSectioning lineWidth.
|
|
13436
|
+
* @member {google.protobuf.IFloatValue|null|undefined} lineWidth
|
|
13437
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioning
|
|
13438
|
+
* @instance
|
|
13439
|
+
*/
|
|
13440
|
+
CrossSectioning.prototype.lineWidth = null;
|
|
13441
|
+
|
|
12971
13442
|
/**
|
|
12972
13443
|
* Creates a new CrossSectioning instance using the specified properties.
|
|
12973
13444
|
* @function create
|
|
@@ -12997,6 +13468,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
12997
13468
|
$root.vertexvis.protobuf.stream.SectionPlane.encode(message.sectionPlanes[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
12998
13469
|
if (message.highlightColor != null && Object.hasOwnProperty.call(message, "highlightColor"))
|
|
12999
13470
|
$root.vertexvis.protobuf.core.RGBi.encode(message.highlightColor, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
13471
|
+
if (message.lineWidth != null && Object.hasOwnProperty.call(message, "lineWidth"))
|
|
13472
|
+
$root.google.protobuf.FloatValue.encode(message.lineWidth, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
13000
13473
|
return writer;
|
|
13001
13474
|
};
|
|
13002
13475
|
|
|
@@ -13039,6 +13512,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13039
13512
|
case 2:
|
|
13040
13513
|
message.highlightColor = $root.vertexvis.protobuf.core.RGBi.decode(reader, reader.uint32());
|
|
13041
13514
|
break;
|
|
13515
|
+
case 3:
|
|
13516
|
+
message.lineWidth = $root.google.protobuf.FloatValue.decode(reader, reader.uint32());
|
|
13517
|
+
break;
|
|
13042
13518
|
default:
|
|
13043
13519
|
reader.skipType(tag & 7);
|
|
13044
13520
|
break;
|
|
@@ -13088,6 +13564,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13088
13564
|
if (error)
|
|
13089
13565
|
return "highlightColor." + error;
|
|
13090
13566
|
}
|
|
13567
|
+
if (message.lineWidth != null && message.hasOwnProperty("lineWidth")) {
|
|
13568
|
+
let error = $root.google.protobuf.FloatValue.verify(message.lineWidth);
|
|
13569
|
+
if (error)
|
|
13570
|
+
return "lineWidth." + error;
|
|
13571
|
+
}
|
|
13091
13572
|
return null;
|
|
13092
13573
|
};
|
|
13093
13574
|
|
|
@@ -13118,6 +13599,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13118
13599
|
throw TypeError(".vertexvis.protobuf.stream.CrossSectioning.highlightColor: object expected");
|
|
13119
13600
|
message.highlightColor = $root.vertexvis.protobuf.core.RGBi.fromObject(object.highlightColor);
|
|
13120
13601
|
}
|
|
13602
|
+
if (object.lineWidth != null) {
|
|
13603
|
+
if (typeof object.lineWidth !== "object")
|
|
13604
|
+
throw TypeError(".vertexvis.protobuf.stream.CrossSectioning.lineWidth: object expected");
|
|
13605
|
+
message.lineWidth = $root.google.protobuf.FloatValue.fromObject(object.lineWidth);
|
|
13606
|
+
}
|
|
13121
13607
|
return message;
|
|
13122
13608
|
};
|
|
13123
13609
|
|
|
@@ -13136,8 +13622,10 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13136
13622
|
let object = {};
|
|
13137
13623
|
if (options.arrays || options.defaults)
|
|
13138
13624
|
object.sectionPlanes = [];
|
|
13139
|
-
if (options.defaults)
|
|
13625
|
+
if (options.defaults) {
|
|
13140
13626
|
object.highlightColor = null;
|
|
13627
|
+
object.lineWidth = null;
|
|
13628
|
+
}
|
|
13141
13629
|
if (message.sectionPlanes && message.sectionPlanes.length) {
|
|
13142
13630
|
object.sectionPlanes = [];
|
|
13143
13631
|
for (let j = 0; j < message.sectionPlanes.length; ++j)
|
|
@@ -13145,6 +13633,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13145
13633
|
}
|
|
13146
13634
|
if (message.highlightColor != null && message.hasOwnProperty("highlightColor"))
|
|
13147
13635
|
object.highlightColor = $root.vertexvis.protobuf.core.RGBi.toObject(message.highlightColor, options);
|
|
13636
|
+
if (message.lineWidth != null && message.hasOwnProperty("lineWidth"))
|
|
13637
|
+
object.lineWidth = $root.google.protobuf.FloatValue.toObject(message.lineWidth, options);
|
|
13148
13638
|
return object;
|
|
13149
13639
|
};
|
|
13150
13640
|
|
|
@@ -38568,6 +39058,14 @@ function drawFrame(req, meta) {
|
|
|
38568
39058
|
crossSectioning: {
|
|
38569
39059
|
sectionPlanes: [],
|
|
38570
39060
|
},
|
|
39061
|
+
displayListSummary: {
|
|
39062
|
+
visibleSummary: {
|
|
39063
|
+
count: 100,
|
|
39064
|
+
},
|
|
39065
|
+
selectedVisibleSummary: {
|
|
39066
|
+
count: 0,
|
|
39067
|
+
},
|
|
39068
|
+
},
|
|
38571
39069
|
},
|
|
38572
39070
|
imageAttributes: {
|
|
38573
39071
|
frameDimensions: { width: 200, height: 150 },
|