@vertexvis/stream-api 0.17.3-canary.6 → 0.17.3-canary.7
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 +470 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +470 -0
- package/dist/bundle.esm.js.map +1 -1
- package/package.json +5 -5
package/dist/bundle.cjs.js
CHANGED
|
@@ -3797,6 +3797,441 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3797
3797
|
return ImageAttributes;
|
|
3798
3798
|
})();
|
|
3799
3799
|
|
|
3800
|
+
stream.ItemSetSummary = (function() {
|
|
3801
|
+
|
|
3802
|
+
/**
|
|
3803
|
+
* Properties of an ItemSetSummary.
|
|
3804
|
+
* @memberof vertexvis.protobuf.stream
|
|
3805
|
+
* @interface IItemSetSummary
|
|
3806
|
+
* @property {number|null} [count] ItemSetSummary count
|
|
3807
|
+
* @property {vertexvis.protobuf.core.IBoundingBox3f|null} [boundingBox] ItemSetSummary boundingBox
|
|
3808
|
+
*/
|
|
3809
|
+
|
|
3810
|
+
/**
|
|
3811
|
+
* Constructs a new ItemSetSummary.
|
|
3812
|
+
* @memberof vertexvis.protobuf.stream
|
|
3813
|
+
* @classdesc Represents an ItemSetSummary.
|
|
3814
|
+
* @implements IItemSetSummary
|
|
3815
|
+
* @constructor
|
|
3816
|
+
* @param {vertexvis.protobuf.stream.IItemSetSummary=} [properties] Properties to set
|
|
3817
|
+
*/
|
|
3818
|
+
function ItemSetSummary(properties) {
|
|
3819
|
+
if (properties)
|
|
3820
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
3821
|
+
if (properties[keys[i]] != null)
|
|
3822
|
+
this[keys[i]] = properties[keys[i]];
|
|
3823
|
+
}
|
|
3824
|
+
|
|
3825
|
+
/**
|
|
3826
|
+
* ItemSetSummary count.
|
|
3827
|
+
* @member {number} count
|
|
3828
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
3829
|
+
* @instance
|
|
3830
|
+
*/
|
|
3831
|
+
ItemSetSummary.prototype.count = 0;
|
|
3832
|
+
|
|
3833
|
+
/**
|
|
3834
|
+
* ItemSetSummary boundingBox.
|
|
3835
|
+
* @member {vertexvis.protobuf.core.IBoundingBox3f|null|undefined} boundingBox
|
|
3836
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
3837
|
+
* @instance
|
|
3838
|
+
*/
|
|
3839
|
+
ItemSetSummary.prototype.boundingBox = null;
|
|
3840
|
+
|
|
3841
|
+
/**
|
|
3842
|
+
* Creates a new ItemSetSummary instance using the specified properties.
|
|
3843
|
+
* @function create
|
|
3844
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
3845
|
+
* @static
|
|
3846
|
+
* @param {vertexvis.protobuf.stream.IItemSetSummary=} [properties] Properties to set
|
|
3847
|
+
* @returns {vertexvis.protobuf.stream.ItemSetSummary} ItemSetSummary instance
|
|
3848
|
+
*/
|
|
3849
|
+
ItemSetSummary.create = function create(properties) {
|
|
3850
|
+
return new ItemSetSummary(properties);
|
|
3851
|
+
};
|
|
3852
|
+
|
|
3853
|
+
/**
|
|
3854
|
+
* Encodes the specified ItemSetSummary message. Does not implicitly {@link vertexvis.protobuf.stream.ItemSetSummary.verify|verify} messages.
|
|
3855
|
+
* @function encode
|
|
3856
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
3857
|
+
* @static
|
|
3858
|
+
* @param {vertexvis.protobuf.stream.IItemSetSummary} message ItemSetSummary message or plain object to encode
|
|
3859
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
3860
|
+
* @returns {$protobuf.Writer} Writer
|
|
3861
|
+
*/
|
|
3862
|
+
ItemSetSummary.encode = function encode(message, writer) {
|
|
3863
|
+
if (!writer)
|
|
3864
|
+
writer = $Writer.create();
|
|
3865
|
+
if (message.count != null && Object.hasOwnProperty.call(message, "count"))
|
|
3866
|
+
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.count);
|
|
3867
|
+
if (message.boundingBox != null && Object.hasOwnProperty.call(message, "boundingBox"))
|
|
3868
|
+
$root.vertexvis.protobuf.core.BoundingBox3f.encode(message.boundingBox, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
3869
|
+
return writer;
|
|
3870
|
+
};
|
|
3871
|
+
|
|
3872
|
+
/**
|
|
3873
|
+
* Encodes the specified ItemSetSummary message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.ItemSetSummary.verify|verify} messages.
|
|
3874
|
+
* @function encodeDelimited
|
|
3875
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
3876
|
+
* @static
|
|
3877
|
+
* @param {vertexvis.protobuf.stream.IItemSetSummary} message ItemSetSummary message or plain object to encode
|
|
3878
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
3879
|
+
* @returns {$protobuf.Writer} Writer
|
|
3880
|
+
*/
|
|
3881
|
+
ItemSetSummary.encodeDelimited = function encodeDelimited(message, writer) {
|
|
3882
|
+
return this.encode(message, writer).ldelim();
|
|
3883
|
+
};
|
|
3884
|
+
|
|
3885
|
+
/**
|
|
3886
|
+
* Decodes an ItemSetSummary message from the specified reader or buffer.
|
|
3887
|
+
* @function decode
|
|
3888
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
3889
|
+
* @static
|
|
3890
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
3891
|
+
* @param {number} [length] Message length if known beforehand
|
|
3892
|
+
* @returns {vertexvis.protobuf.stream.ItemSetSummary} ItemSetSummary
|
|
3893
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3894
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3895
|
+
*/
|
|
3896
|
+
ItemSetSummary.decode = function decode(reader, length) {
|
|
3897
|
+
if (!(reader instanceof $Reader))
|
|
3898
|
+
reader = $Reader.create(reader);
|
|
3899
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.ItemSetSummary();
|
|
3900
|
+
while (reader.pos < end) {
|
|
3901
|
+
let tag = reader.uint32();
|
|
3902
|
+
switch (tag >>> 3) {
|
|
3903
|
+
case 1:
|
|
3904
|
+
message.count = reader.int32();
|
|
3905
|
+
break;
|
|
3906
|
+
case 2:
|
|
3907
|
+
message.boundingBox = $root.vertexvis.protobuf.core.BoundingBox3f.decode(reader, reader.uint32());
|
|
3908
|
+
break;
|
|
3909
|
+
default:
|
|
3910
|
+
reader.skipType(tag & 7);
|
|
3911
|
+
break;
|
|
3912
|
+
}
|
|
3913
|
+
}
|
|
3914
|
+
return message;
|
|
3915
|
+
};
|
|
3916
|
+
|
|
3917
|
+
/**
|
|
3918
|
+
* Decodes an ItemSetSummary message from the specified reader or buffer, length delimited.
|
|
3919
|
+
* @function decodeDelimited
|
|
3920
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
3921
|
+
* @static
|
|
3922
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
3923
|
+
* @returns {vertexvis.protobuf.stream.ItemSetSummary} ItemSetSummary
|
|
3924
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3925
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3926
|
+
*/
|
|
3927
|
+
ItemSetSummary.decodeDelimited = function decodeDelimited(reader) {
|
|
3928
|
+
if (!(reader instanceof $Reader))
|
|
3929
|
+
reader = new $Reader(reader);
|
|
3930
|
+
return this.decode(reader, reader.uint32());
|
|
3931
|
+
};
|
|
3932
|
+
|
|
3933
|
+
/**
|
|
3934
|
+
* Verifies an ItemSetSummary message.
|
|
3935
|
+
* @function verify
|
|
3936
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
3937
|
+
* @static
|
|
3938
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
3939
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
3940
|
+
*/
|
|
3941
|
+
ItemSetSummary.verify = function verify(message) {
|
|
3942
|
+
if (typeof message !== "object" || message === null)
|
|
3943
|
+
return "object expected";
|
|
3944
|
+
if (message.count != null && message.hasOwnProperty("count"))
|
|
3945
|
+
if (!$util.isInteger(message.count))
|
|
3946
|
+
return "count: integer expected";
|
|
3947
|
+
if (message.boundingBox != null && message.hasOwnProperty("boundingBox")) {
|
|
3948
|
+
let error = $root.vertexvis.protobuf.core.BoundingBox3f.verify(message.boundingBox);
|
|
3949
|
+
if (error)
|
|
3950
|
+
return "boundingBox." + error;
|
|
3951
|
+
}
|
|
3952
|
+
return null;
|
|
3953
|
+
};
|
|
3954
|
+
|
|
3955
|
+
/**
|
|
3956
|
+
* Creates an ItemSetSummary message from a plain object. Also converts values to their respective internal types.
|
|
3957
|
+
* @function fromObject
|
|
3958
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
3959
|
+
* @static
|
|
3960
|
+
* @param {Object.<string,*>} object Plain object
|
|
3961
|
+
* @returns {vertexvis.protobuf.stream.ItemSetSummary} ItemSetSummary
|
|
3962
|
+
*/
|
|
3963
|
+
ItemSetSummary.fromObject = function fromObject(object) {
|
|
3964
|
+
if (object instanceof $root.vertexvis.protobuf.stream.ItemSetSummary)
|
|
3965
|
+
return object;
|
|
3966
|
+
let message = new $root.vertexvis.protobuf.stream.ItemSetSummary();
|
|
3967
|
+
if (object.count != null)
|
|
3968
|
+
message.count = object.count | 0;
|
|
3969
|
+
if (object.boundingBox != null) {
|
|
3970
|
+
if (typeof object.boundingBox !== "object")
|
|
3971
|
+
throw TypeError(".vertexvis.protobuf.stream.ItemSetSummary.boundingBox: object expected");
|
|
3972
|
+
message.boundingBox = $root.vertexvis.protobuf.core.BoundingBox3f.fromObject(object.boundingBox);
|
|
3973
|
+
}
|
|
3974
|
+
return message;
|
|
3975
|
+
};
|
|
3976
|
+
|
|
3977
|
+
/**
|
|
3978
|
+
* Creates a plain object from an ItemSetSummary message. Also converts values to other types if specified.
|
|
3979
|
+
* @function toObject
|
|
3980
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
3981
|
+
* @static
|
|
3982
|
+
* @param {vertexvis.protobuf.stream.ItemSetSummary} message ItemSetSummary
|
|
3983
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
3984
|
+
* @returns {Object.<string,*>} Plain object
|
|
3985
|
+
*/
|
|
3986
|
+
ItemSetSummary.toObject = function toObject(message, options) {
|
|
3987
|
+
if (!options)
|
|
3988
|
+
options = {};
|
|
3989
|
+
let object = {};
|
|
3990
|
+
if (options.defaults) {
|
|
3991
|
+
object.count = 0;
|
|
3992
|
+
object.boundingBox = null;
|
|
3993
|
+
}
|
|
3994
|
+
if (message.count != null && message.hasOwnProperty("count"))
|
|
3995
|
+
object.count = message.count;
|
|
3996
|
+
if (message.boundingBox != null && message.hasOwnProperty("boundingBox"))
|
|
3997
|
+
object.boundingBox = $root.vertexvis.protobuf.core.BoundingBox3f.toObject(message.boundingBox, options);
|
|
3998
|
+
return object;
|
|
3999
|
+
};
|
|
4000
|
+
|
|
4001
|
+
/**
|
|
4002
|
+
* Converts this ItemSetSummary to JSON.
|
|
4003
|
+
* @function toJSON
|
|
4004
|
+
* @memberof vertexvis.protobuf.stream.ItemSetSummary
|
|
4005
|
+
* @instance
|
|
4006
|
+
* @returns {Object.<string,*>} JSON object
|
|
4007
|
+
*/
|
|
4008
|
+
ItemSetSummary.prototype.toJSON = function toJSON() {
|
|
4009
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
4010
|
+
};
|
|
4011
|
+
|
|
4012
|
+
return ItemSetSummary;
|
|
4013
|
+
})();
|
|
4014
|
+
|
|
4015
|
+
stream.DisplayListSummary = (function() {
|
|
4016
|
+
|
|
4017
|
+
/**
|
|
4018
|
+
* Properties of a DisplayListSummary.
|
|
4019
|
+
* @memberof vertexvis.protobuf.stream
|
|
4020
|
+
* @interface IDisplayListSummary
|
|
4021
|
+
* @property {vertexvis.protobuf.stream.IItemSetSummary|null} [visibleSummary] DisplayListSummary visibleSummary
|
|
4022
|
+
* @property {vertexvis.protobuf.stream.IItemSetSummary|null} [selectedVisibleSummary] DisplayListSummary selectedVisibleSummary
|
|
4023
|
+
*/
|
|
4024
|
+
|
|
4025
|
+
/**
|
|
4026
|
+
* Constructs a new DisplayListSummary.
|
|
4027
|
+
* @memberof vertexvis.protobuf.stream
|
|
4028
|
+
* @classdesc Represents a DisplayListSummary.
|
|
4029
|
+
* @implements IDisplayListSummary
|
|
4030
|
+
* @constructor
|
|
4031
|
+
* @param {vertexvis.protobuf.stream.IDisplayListSummary=} [properties] Properties to set
|
|
4032
|
+
*/
|
|
4033
|
+
function DisplayListSummary(properties) {
|
|
4034
|
+
if (properties)
|
|
4035
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
4036
|
+
if (properties[keys[i]] != null)
|
|
4037
|
+
this[keys[i]] = properties[keys[i]];
|
|
4038
|
+
}
|
|
4039
|
+
|
|
4040
|
+
/**
|
|
4041
|
+
* DisplayListSummary visibleSummary.
|
|
4042
|
+
* @member {vertexvis.protobuf.stream.IItemSetSummary|null|undefined} visibleSummary
|
|
4043
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4044
|
+
* @instance
|
|
4045
|
+
*/
|
|
4046
|
+
DisplayListSummary.prototype.visibleSummary = null;
|
|
4047
|
+
|
|
4048
|
+
/**
|
|
4049
|
+
* DisplayListSummary selectedVisibleSummary.
|
|
4050
|
+
* @member {vertexvis.protobuf.stream.IItemSetSummary|null|undefined} selectedVisibleSummary
|
|
4051
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4052
|
+
* @instance
|
|
4053
|
+
*/
|
|
4054
|
+
DisplayListSummary.prototype.selectedVisibleSummary = null;
|
|
4055
|
+
|
|
4056
|
+
/**
|
|
4057
|
+
* Creates a new DisplayListSummary instance using the specified properties.
|
|
4058
|
+
* @function create
|
|
4059
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4060
|
+
* @static
|
|
4061
|
+
* @param {vertexvis.protobuf.stream.IDisplayListSummary=} [properties] Properties to set
|
|
4062
|
+
* @returns {vertexvis.protobuf.stream.DisplayListSummary} DisplayListSummary instance
|
|
4063
|
+
*/
|
|
4064
|
+
DisplayListSummary.create = function create(properties) {
|
|
4065
|
+
return new DisplayListSummary(properties);
|
|
4066
|
+
};
|
|
4067
|
+
|
|
4068
|
+
/**
|
|
4069
|
+
* Encodes the specified DisplayListSummary message. Does not implicitly {@link vertexvis.protobuf.stream.DisplayListSummary.verify|verify} messages.
|
|
4070
|
+
* @function encode
|
|
4071
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4072
|
+
* @static
|
|
4073
|
+
* @param {vertexvis.protobuf.stream.IDisplayListSummary} message DisplayListSummary message or plain object to encode
|
|
4074
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
4075
|
+
* @returns {$protobuf.Writer} Writer
|
|
4076
|
+
*/
|
|
4077
|
+
DisplayListSummary.encode = function encode(message, writer) {
|
|
4078
|
+
if (!writer)
|
|
4079
|
+
writer = $Writer.create();
|
|
4080
|
+
if (message.visibleSummary != null && Object.hasOwnProperty.call(message, "visibleSummary"))
|
|
4081
|
+
$root.vertexvis.protobuf.stream.ItemSetSummary.encode(message.visibleSummary, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
4082
|
+
if (message.selectedVisibleSummary != null && Object.hasOwnProperty.call(message, "selectedVisibleSummary"))
|
|
4083
|
+
$root.vertexvis.protobuf.stream.ItemSetSummary.encode(message.selectedVisibleSummary, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
4084
|
+
return writer;
|
|
4085
|
+
};
|
|
4086
|
+
|
|
4087
|
+
/**
|
|
4088
|
+
* Encodes the specified DisplayListSummary message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.DisplayListSummary.verify|verify} messages.
|
|
4089
|
+
* @function encodeDelimited
|
|
4090
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4091
|
+
* @static
|
|
4092
|
+
* @param {vertexvis.protobuf.stream.IDisplayListSummary} message DisplayListSummary message or plain object to encode
|
|
4093
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
4094
|
+
* @returns {$protobuf.Writer} Writer
|
|
4095
|
+
*/
|
|
4096
|
+
DisplayListSummary.encodeDelimited = function encodeDelimited(message, writer) {
|
|
4097
|
+
return this.encode(message, writer).ldelim();
|
|
4098
|
+
};
|
|
4099
|
+
|
|
4100
|
+
/**
|
|
4101
|
+
* Decodes a DisplayListSummary message from the specified reader or buffer.
|
|
4102
|
+
* @function decode
|
|
4103
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4104
|
+
* @static
|
|
4105
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
4106
|
+
* @param {number} [length] Message length if known beforehand
|
|
4107
|
+
* @returns {vertexvis.protobuf.stream.DisplayListSummary} DisplayListSummary
|
|
4108
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4109
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4110
|
+
*/
|
|
4111
|
+
DisplayListSummary.decode = function decode(reader, length) {
|
|
4112
|
+
if (!(reader instanceof $Reader))
|
|
4113
|
+
reader = $Reader.create(reader);
|
|
4114
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.DisplayListSummary();
|
|
4115
|
+
while (reader.pos < end) {
|
|
4116
|
+
let tag = reader.uint32();
|
|
4117
|
+
switch (tag >>> 3) {
|
|
4118
|
+
case 1:
|
|
4119
|
+
message.visibleSummary = $root.vertexvis.protobuf.stream.ItemSetSummary.decode(reader, reader.uint32());
|
|
4120
|
+
break;
|
|
4121
|
+
case 2:
|
|
4122
|
+
message.selectedVisibleSummary = $root.vertexvis.protobuf.stream.ItemSetSummary.decode(reader, reader.uint32());
|
|
4123
|
+
break;
|
|
4124
|
+
default:
|
|
4125
|
+
reader.skipType(tag & 7);
|
|
4126
|
+
break;
|
|
4127
|
+
}
|
|
4128
|
+
}
|
|
4129
|
+
return message;
|
|
4130
|
+
};
|
|
4131
|
+
|
|
4132
|
+
/**
|
|
4133
|
+
* Decodes a DisplayListSummary message from the specified reader or buffer, length delimited.
|
|
4134
|
+
* @function decodeDelimited
|
|
4135
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4136
|
+
* @static
|
|
4137
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
4138
|
+
* @returns {vertexvis.protobuf.stream.DisplayListSummary} DisplayListSummary
|
|
4139
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4140
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4141
|
+
*/
|
|
4142
|
+
DisplayListSummary.decodeDelimited = function decodeDelimited(reader) {
|
|
4143
|
+
if (!(reader instanceof $Reader))
|
|
4144
|
+
reader = new $Reader(reader);
|
|
4145
|
+
return this.decode(reader, reader.uint32());
|
|
4146
|
+
};
|
|
4147
|
+
|
|
4148
|
+
/**
|
|
4149
|
+
* Verifies a DisplayListSummary message.
|
|
4150
|
+
* @function verify
|
|
4151
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4152
|
+
* @static
|
|
4153
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
4154
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
4155
|
+
*/
|
|
4156
|
+
DisplayListSummary.verify = function verify(message) {
|
|
4157
|
+
if (typeof message !== "object" || message === null)
|
|
4158
|
+
return "object expected";
|
|
4159
|
+
if (message.visibleSummary != null && message.hasOwnProperty("visibleSummary")) {
|
|
4160
|
+
let error = $root.vertexvis.protobuf.stream.ItemSetSummary.verify(message.visibleSummary);
|
|
4161
|
+
if (error)
|
|
4162
|
+
return "visibleSummary." + error;
|
|
4163
|
+
}
|
|
4164
|
+
if (message.selectedVisibleSummary != null && message.hasOwnProperty("selectedVisibleSummary")) {
|
|
4165
|
+
let error = $root.vertexvis.protobuf.stream.ItemSetSummary.verify(message.selectedVisibleSummary);
|
|
4166
|
+
if (error)
|
|
4167
|
+
return "selectedVisibleSummary." + error;
|
|
4168
|
+
}
|
|
4169
|
+
return null;
|
|
4170
|
+
};
|
|
4171
|
+
|
|
4172
|
+
/**
|
|
4173
|
+
* Creates a DisplayListSummary message from a plain object. Also converts values to their respective internal types.
|
|
4174
|
+
* @function fromObject
|
|
4175
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4176
|
+
* @static
|
|
4177
|
+
* @param {Object.<string,*>} object Plain object
|
|
4178
|
+
* @returns {vertexvis.protobuf.stream.DisplayListSummary} DisplayListSummary
|
|
4179
|
+
*/
|
|
4180
|
+
DisplayListSummary.fromObject = function fromObject(object) {
|
|
4181
|
+
if (object instanceof $root.vertexvis.protobuf.stream.DisplayListSummary)
|
|
4182
|
+
return object;
|
|
4183
|
+
let message = new $root.vertexvis.protobuf.stream.DisplayListSummary();
|
|
4184
|
+
if (object.visibleSummary != null) {
|
|
4185
|
+
if (typeof object.visibleSummary !== "object")
|
|
4186
|
+
throw TypeError(".vertexvis.protobuf.stream.DisplayListSummary.visibleSummary: object expected");
|
|
4187
|
+
message.visibleSummary = $root.vertexvis.protobuf.stream.ItemSetSummary.fromObject(object.visibleSummary);
|
|
4188
|
+
}
|
|
4189
|
+
if (object.selectedVisibleSummary != null) {
|
|
4190
|
+
if (typeof object.selectedVisibleSummary !== "object")
|
|
4191
|
+
throw TypeError(".vertexvis.protobuf.stream.DisplayListSummary.selectedVisibleSummary: object expected");
|
|
4192
|
+
message.selectedVisibleSummary = $root.vertexvis.protobuf.stream.ItemSetSummary.fromObject(object.selectedVisibleSummary);
|
|
4193
|
+
}
|
|
4194
|
+
return message;
|
|
4195
|
+
};
|
|
4196
|
+
|
|
4197
|
+
/**
|
|
4198
|
+
* Creates a plain object from a DisplayListSummary message. Also converts values to other types if specified.
|
|
4199
|
+
* @function toObject
|
|
4200
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4201
|
+
* @static
|
|
4202
|
+
* @param {vertexvis.protobuf.stream.DisplayListSummary} message DisplayListSummary
|
|
4203
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
4204
|
+
* @returns {Object.<string,*>} Plain object
|
|
4205
|
+
*/
|
|
4206
|
+
DisplayListSummary.toObject = function toObject(message, options) {
|
|
4207
|
+
if (!options)
|
|
4208
|
+
options = {};
|
|
4209
|
+
let object = {};
|
|
4210
|
+
if (options.defaults) {
|
|
4211
|
+
object.visibleSummary = null;
|
|
4212
|
+
object.selectedVisibleSummary = null;
|
|
4213
|
+
}
|
|
4214
|
+
if (message.visibleSummary != null && message.hasOwnProperty("visibleSummary"))
|
|
4215
|
+
object.visibleSummary = $root.vertexvis.protobuf.stream.ItemSetSummary.toObject(message.visibleSummary, options);
|
|
4216
|
+
if (message.selectedVisibleSummary != null && message.hasOwnProperty("selectedVisibleSummary"))
|
|
4217
|
+
object.selectedVisibleSummary = $root.vertexvis.protobuf.stream.ItemSetSummary.toObject(message.selectedVisibleSummary, options);
|
|
4218
|
+
return object;
|
|
4219
|
+
};
|
|
4220
|
+
|
|
4221
|
+
/**
|
|
4222
|
+
* Converts this DisplayListSummary to JSON.
|
|
4223
|
+
* @function toJSON
|
|
4224
|
+
* @memberof vertexvis.protobuf.stream.DisplayListSummary
|
|
4225
|
+
* @instance
|
|
4226
|
+
* @returns {Object.<string,*>} JSON object
|
|
4227
|
+
*/
|
|
4228
|
+
DisplayListSummary.prototype.toJSON = function toJSON() {
|
|
4229
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
4230
|
+
};
|
|
4231
|
+
|
|
4232
|
+
return DisplayListSummary;
|
|
4233
|
+
})();
|
|
4234
|
+
|
|
3800
4235
|
stream.SceneAttributes = (function() {
|
|
3801
4236
|
|
|
3802
4237
|
/**
|
|
@@ -3807,6 +4242,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3807
4242
|
* @property {vertexvis.protobuf.core.IBoundingBox3f|null} [visibleBoundingBox] SceneAttributes visibleBoundingBox
|
|
3808
4243
|
* @property {vertexvis.protobuf.stream.ICrossSectioning|null} [crossSectioning] SceneAttributes crossSectioning
|
|
3809
4244
|
* @property {boolean|null} [hasChanged] SceneAttributes hasChanged
|
|
4245
|
+
* @property {vertexvis.protobuf.stream.IDisplayListSummary|null} [displayListSummary] SceneAttributes displayListSummary
|
|
3810
4246
|
*/
|
|
3811
4247
|
|
|
3812
4248
|
/**
|
|
@@ -3856,6 +4292,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3856
4292
|
*/
|
|
3857
4293
|
SceneAttributes.prototype.hasChanged = false;
|
|
3858
4294
|
|
|
4295
|
+
/**
|
|
4296
|
+
* SceneAttributes displayListSummary.
|
|
4297
|
+
* @member {vertexvis.protobuf.stream.IDisplayListSummary|null|undefined} displayListSummary
|
|
4298
|
+
* @memberof vertexvis.protobuf.stream.SceneAttributes
|
|
4299
|
+
* @instance
|
|
4300
|
+
*/
|
|
4301
|
+
SceneAttributes.prototype.displayListSummary = null;
|
|
4302
|
+
|
|
3859
4303
|
/**
|
|
3860
4304
|
* Creates a new SceneAttributes instance using the specified properties.
|
|
3861
4305
|
* @function create
|
|
@@ -3888,6 +4332,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3888
4332
|
$root.vertexvis.protobuf.stream.CrossSectioning.encode(message.crossSectioning, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
3889
4333
|
if (message.hasChanged != null && Object.hasOwnProperty.call(message, "hasChanged"))
|
|
3890
4334
|
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.hasChanged);
|
|
4335
|
+
if (message.displayListSummary != null && Object.hasOwnProperty.call(message, "displayListSummary"))
|
|
4336
|
+
$root.vertexvis.protobuf.stream.DisplayListSummary.encode(message.displayListSummary, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
3891
4337
|
return writer;
|
|
3892
4338
|
};
|
|
3893
4339
|
|
|
@@ -3934,6 +4380,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3934
4380
|
case 4:
|
|
3935
4381
|
message.hasChanged = reader.bool();
|
|
3936
4382
|
break;
|
|
4383
|
+
case 5:
|
|
4384
|
+
message.displayListSummary = $root.vertexvis.protobuf.stream.DisplayListSummary.decode(reader, reader.uint32());
|
|
4385
|
+
break;
|
|
3937
4386
|
default:
|
|
3938
4387
|
reader.skipType(tag & 7);
|
|
3939
4388
|
break;
|
|
@@ -3987,6 +4436,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3987
4436
|
if (message.hasChanged != null && message.hasOwnProperty("hasChanged"))
|
|
3988
4437
|
if (typeof message.hasChanged !== "boolean")
|
|
3989
4438
|
return "hasChanged: boolean expected";
|
|
4439
|
+
if (message.displayListSummary != null && message.hasOwnProperty("displayListSummary")) {
|
|
4440
|
+
let error = $root.vertexvis.protobuf.stream.DisplayListSummary.verify(message.displayListSummary);
|
|
4441
|
+
if (error)
|
|
4442
|
+
return "displayListSummary." + error;
|
|
4443
|
+
}
|
|
3990
4444
|
return null;
|
|
3991
4445
|
};
|
|
3992
4446
|
|
|
@@ -4019,6 +4473,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
4019
4473
|
}
|
|
4020
4474
|
if (object.hasChanged != null)
|
|
4021
4475
|
message.hasChanged = Boolean(object.hasChanged);
|
|
4476
|
+
if (object.displayListSummary != null) {
|
|
4477
|
+
if (typeof object.displayListSummary !== "object")
|
|
4478
|
+
throw TypeError(".vertexvis.protobuf.stream.SceneAttributes.displayListSummary: object expected");
|
|
4479
|
+
message.displayListSummary = $root.vertexvis.protobuf.stream.DisplayListSummary.fromObject(object.displayListSummary);
|
|
4480
|
+
}
|
|
4022
4481
|
return message;
|
|
4023
4482
|
};
|
|
4024
4483
|
|
|
@@ -4040,6 +4499,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
4040
4499
|
object.visibleBoundingBox = null;
|
|
4041
4500
|
object.crossSectioning = null;
|
|
4042
4501
|
object.hasChanged = false;
|
|
4502
|
+
object.displayListSummary = null;
|
|
4043
4503
|
}
|
|
4044
4504
|
if (message.camera != null && message.hasOwnProperty("camera"))
|
|
4045
4505
|
object.camera = $root.vertexvis.protobuf.stream.Camera.toObject(message.camera, options);
|
|
@@ -4049,6 +4509,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
4049
4509
|
object.crossSectioning = $root.vertexvis.protobuf.stream.CrossSectioning.toObject(message.crossSectioning, options);
|
|
4050
4510
|
if (message.hasChanged != null && message.hasOwnProperty("hasChanged"))
|
|
4051
4511
|
object.hasChanged = message.hasChanged;
|
|
4512
|
+
if (message.displayListSummary != null && message.hasOwnProperty("displayListSummary"))
|
|
4513
|
+
object.displayListSummary = $root.vertexvis.protobuf.stream.DisplayListSummary.toObject(message.displayListSummary, options);
|
|
4052
4514
|
return object;
|
|
4053
4515
|
};
|
|
4054
4516
|
|
|
@@ -38572,6 +39034,14 @@ function drawFrame(req, meta) {
|
|
|
38572
39034
|
crossSectioning: {
|
|
38573
39035
|
sectionPlanes: [],
|
|
38574
39036
|
},
|
|
39037
|
+
displayListSummary: {
|
|
39038
|
+
visibleSummary: {
|
|
39039
|
+
count: 100,
|
|
39040
|
+
},
|
|
39041
|
+
selectedVisibleSummary: {
|
|
39042
|
+
count: 0,
|
|
39043
|
+
},
|
|
39044
|
+
},
|
|
38575
39045
|
},
|
|
38576
39046
|
imageAttributes: {
|
|
38577
39047
|
frameDimensions: { width: 200, height: 150 },
|