You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Documentation/Developers/Embedded3DViewer.rst
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ On this page, you will find all the information needed to configure and embed an
10
10
:local:
11
11
:depth: 2
12
12
13
+
.. _Embedded 3D Viewer Setup:
14
+
13
15
Setup
14
16
=======
15
17
@@ -27,11 +29,13 @@ Configuration
27
29
28
30
By default, the viewers from the folder ``dlf_3d_viewers`` are all active and can be accessed and tested via URL.
29
31
30
-
For this, only the parameter ``tx_dlf[viewer]`` with the name of the viewer and the encoded URL to the model via the parameter ``tx_dlf[model]`` need to be passed to the URL under which the plugin ``plugin.tx_dlf_embedded3dViewer`` is rendered.
32
+
For this, only the parameter ``tx_dlf[viewer]`` with the encoded subfolder name of the viewer needs to be passed to the URL where the plugin ``plugin.tx_dlf_embedded3dViewer`` is rendered.
31
33
32
34
.. note::
33
35
For example in the DFG Viewer, this is the page whose ID is set via the constant ``config.kitodoPageView``.
34
36
37
+
To render the model, the encoded URL to the METS document should be set using the parameter ``tx_dlf[id]``. Alternatively, it is possible to define the model directly with an encoded URL via the parameter ``tx_dlf[model]``.
Copy file name to clipboardExpand all lines: Documentation/Plugins/Index.rst
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1018,6 +1018,21 @@ The fulltext is fetched and rendered by JavaScript into the `<div id="tx-dlf-ful
1018
1018
1019
1019
**Please note**: To allow JavaScript fetching the fulltext, the `CORS headers <https://en.wikipedia.org/wiki/Cross-origin_resource_sharing>`_ must be configured appropriate on the providing webserver.
1020
1020
1021
+
Model download tool
1022
+
^^^^^^^^^^^^^
1023
+
1024
+
This tool makes it possible to extract the model URL from the METS file or use the provided model parameter to provide a download URL.
1025
+
1026
+
:typoscript:`plugin.tx_dlf_modeldownloadtool.`
1027
+
1028
+
Viewer selection tool
1029
+
^^^^^^^^^^^^^
1030
+
1031
+
This tool can display a selection list of configured 3D viewers (from the "dlf_3d_viewers" directory see :ref:`Embedded 3D Viewer Setup`) that support the current model.
1032
+
1033
+
The model URL is extracted from the METS file or taken from the provided model parameter. The extension of the model is extracted from this URL and compared with the supported model formats specified in the respective viewer configuration.
Copy file name to clipboardExpand all lines: Resources/Private/Language/de.locallang_labels.xlf
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -701,6 +701,10 @@
701
701
<target>Audio Datei Nutzungsgruppen: Komma-getrennte Liste der @USE Attributwerte der Audiodateien nach absteigender Priorität sortiert (Standard ist "AUDIO")</target>
702
702
<source>Audio file use groups: comma-separated list of @USE attribute values ordered by decreasing priority (default is "AUDIO")</source>
703
703
</trans-unit>
704
+
<trans-unitid="config.files.useGroupsModel">
705
+
<target>Modell Datei Nutzungsgruppen: Komma-getrennte Liste der @USE Attributwerte der Modelldateien nach absteigender Priorität sortiert (Standard ist "DEFAULT")</target>
706
+
<source>Model file use groups: comma-separated list of @USE attribute values ordered by decreasing priority (default is "DEFAULT")</source>
707
+
</trans-unit>
704
708
<trans-unitid="config.iiif.indexAnnotations">
705
709
<target>IIIF-Annotationen mit Motivation "painting" als Volltext behandeln?: Als Volltext behandelte Annotationen werden im Suchid idiert (Standard ist "FALSE")</target>
706
710
<source>Handle IIIF annotations with motivation "painting" as fulltext?: Handling annotations as fulltexts means they are ided (default is "FALSE")</source>
Copy file name to clipboardExpand all lines: Resources/Private/Language/locallang_labels.xlf
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -527,6 +527,9 @@
527
527
<trans-unitid="config.files.useGroupsAudio">
528
528
<source>Audio file use groups: comma-separated list of @USE attribute values ordered by decreasing priority (default is "AUDIO")</source>
529
529
</trans-unit>
530
+
<trans-unitid="config.files.useGroupsModel">
531
+
<source>Model file use groups: comma-separated list of @USE attribute values ordered by decreasing priority (default is "DEFAULT")</source>
532
+
</trans-unit>
530
533
<trans-unitid="config.iiif.indexAnnotations">
531
534
<source>Handle IIIF annotations with motivation "painting" as fulltext?: Handling annotations as fulltexts means they are ided (default is "FALSE")</source>
0 commit comments