Skip to content

Commit 4716c12

Browse files
authored
BRAYNS-659 Release 3.9.0. (#1280)
1 parent 8da0e63 commit 4716c12

File tree

7 files changed

+139
-6
lines changed

7 files changed

+139
-6
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ set(BUILD_SHARED_LIBS ON)
1818
set(CMAKE_CXX_STANDARD 20)
1919
set(CMAKE_CXX_STANDARD_REQUIRED ON)
2020

21-
project(Brayns VERSION 3.8.3)
21+
project(Brayns VERSION 3.9.0)
2222

2323
# Extra CMake scripts
2424
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMake)

python/brayns/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
# along with this library; if not, write to the Free Software Foundation, Inc.,
1919
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2020

21-
VERSION = "3.8.3"
21+
VERSION = "3.9.0"
2222
"""Version tag of brayns Python package (major.minor.patch)."""

python/doc/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
# built documents.
5959
#
6060
# The short X.Y version.
61-
version = "3.8.3"
61+
version = "3.9.0"
6262
# The full version, including alpha/beta/rc tags.
6363
release = version
6464

python/doc/source/jsonrpcapi/api_core_methods.rst

Lines changed: 126 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ mesh
1313

1414
Can load the following formats: **off**, **stl**, **ply**, **obj**.
1515

16-
This loader does not support loading binary data using 'upload-model'.
16+
This loader supports loading binary data using 'upload-model'.
1717

1818
.. jsonschema::
1919

@@ -4418,6 +4418,24 @@ progress notifications.
44184418
"description": "Path to save the buffer as EXR, encoded data is returned if unset",
44194419
"type": "string"
44204420
},
4421+
"image_end": {
4422+
"description": "Image region end XY normalized",
4423+
"type": "array",
4424+
"items": {
4425+
"type": "number"
4426+
},
4427+
"minItems": 2,
4428+
"maxItems": 2
4429+
},
4430+
"image_start": {
4431+
"description": "Image region start XY normalized",
4432+
"type": "array",
4433+
"items": {
4434+
"type": "number"
4435+
},
4436+
"minItems": 2,
4437+
"maxItems": 2
4438+
},
44214439
"renderer": {
44224440
"title": "EngineObjectData",
44234441
"description": "Renderer",
@@ -4597,6 +4615,50 @@ This entrypoint has no params, the "params" field can hence be omitted or null.
45974615

45984616
----
45994617

4618+
get-camera-region
4619+
~~~~~~~~~~~~~~~~~
4620+
4621+
Retreive the current camera image region.
4622+
4623+
**Params**:
4624+
4625+
This entrypoint has no params, the "params" field can hence be omitted or null.
4626+
4627+
**Result**:
4628+
4629+
.. jsonschema::
4630+
4631+
{
4632+
"type": "object",
4633+
"properties": {
4634+
"image_end": {
4635+
"description": "Camera image region upper bound XY normalized",
4636+
"type": "array",
4637+
"items": {
4638+
"type": "number"
4639+
},
4640+
"minItems": 2,
4641+
"maxItems": 2
4642+
},
4643+
"image_start": {
4644+
"description": "Camera image region lower bound XY normalized",
4645+
"type": "array",
4646+
"items": {
4647+
"type": "number"
4648+
},
4649+
"minItems": 2,
4650+
"maxItems": 2
4651+
}
4652+
},
4653+
"required": [
4654+
"image_end",
4655+
"image_start"
4656+
],
4657+
"additionalProperties": false
4658+
}
4659+
4660+
----
4661+
46004662
get-camera-type
46014663
~~~~~~~~~~~~~~~
46024664

@@ -6796,6 +6858,51 @@ null.
67966858

67976859
----
67986860

6861+
set-camera-region
6862+
~~~~~~~~~~~~~~~~~
6863+
6864+
Update the camera image region.
6865+
6866+
**Params**:
6867+
6868+
.. jsonschema::
6869+
6870+
{
6871+
"type": "object",
6872+
"properties": {
6873+
"image_end": {
6874+
"description": "Camera image region upper bound XY normalized",
6875+
"type": "array",
6876+
"items": {
6877+
"type": "number"
6878+
},
6879+
"minItems": 2,
6880+
"maxItems": 2
6881+
},
6882+
"image_start": {
6883+
"description": "Camera image region lower bound XY normalized",
6884+
"type": "array",
6885+
"items": {
6886+
"type": "number"
6887+
},
6888+
"minItems": 2,
6889+
"maxItems": 2
6890+
}
6891+
},
6892+
"required": [
6893+
"image_end",
6894+
"image_start"
6895+
],
6896+
"additionalProperties": false
6897+
}
6898+
6899+
**Result**:
6900+
6901+
This entrypoint has no result, the "result" field is still present but is always
6902+
null.
6903+
6904+
----
6905+
67996906
set-camera-view
68006907
~~~~~~~~~~~~~~~
68016908

@@ -7720,6 +7827,15 @@ progress notifications.
77207827
"description": "Path to save image, raw encoded data will be returned if empty",
77217828
"type": "string"
77227829
},
7830+
"image_end": {
7831+
"description": "Image region end XY normalized",
7832+
"type": "array",
7833+
"items": {
7834+
"type": "number"
7835+
},
7836+
"minItems": 2,
7837+
"maxItems": 2
7838+
},
77237839
"image_settings": {
77247840
"title": "ImageSettings",
77257841
"description": "Image settings",
@@ -7749,6 +7865,15 @@ progress notifications.
77497865
},
77507866
"additionalProperties": false
77517867
},
7868+
"image_start": {
7869+
"description": "Image region start XY normalized",
7870+
"type": "array",
7871+
"items": {
7872+
"type": "number"
7873+
},
7874+
"minItems": 2,
7875+
"maxItems": 2
7876+
},
77527877
"metadata": {
77537878
"title": "ImageMetadata",
77547879
"description": "Metadata information to embed into the image",

python/doc/source/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "brayns",
33
"description": "Brayns python API",
4-
"version": "3.8.3",
4+
"version": "3.9.0",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/BlueBrain/Brayns.git"

python/doc/source/pythonapi/core.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,14 @@ near_clip
139139
:undoc-members:
140140
:show-inheritance:
141141

142+
region
143+
------
144+
145+
.. automodule:: brayns.core.region
146+
:members: get_camera_region, set_camera_region
147+
:undoc-members:
148+
:show-inheritance:
149+
142150
view
143151
----
144152

python/setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = brayns
3-
version = 3.8.3
3+
version = 3.9.0
44
url = https://github.com/BlueBrain/Brayns
55
download_url = https://github.com/BlueBrain/Brayns
66
project_urls =

0 commit comments

Comments
 (0)