Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
Unity World Storage Package
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ARF
World Storage API Helpers
Unity World Storage Package
Compare revisions
79309c30836704d05ec8cf4a968ad3f3f4044845 to a3c8391411e36ec40373cc5a8f4e78b0f181ea34
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
arf/world-storage-api-helpers/unity-world-storage-package
Select target project
No results found
a3c8391411e36ec40373cc5a8f4e78b0f181ea34
Select Git revision
Branches
develop
features/demoIEEEVR
main
Tags
1.0.0
1.1.0
2.0.0
Swap
Target
arf/world-storage-api-helpers/unity-world-storage-package
Select target project
arf/world-storage-api-helpers/unity-world-storage-package
1 result
79309c30836704d05ec8cf4a968ad3f3f4044845
Select Git revision
Branches
develop
features/demoIEEEVR
main
Tags
1.0.0
1.1.0
2.0.0
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Add: RelocalizationInformationRequest
· 7fc96fab
lacoche
authored
1 year ago
7fc96fab
fix : wrong parameter in inheritance for reloc info
· a3c83914
lacoche
authored
1 year ago
a3c83914
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Runtime/Scripts/REST/RelocalizationInformationRequest.cs
+55
-0
55 additions, 0 deletions
Runtime/Scripts/REST/RelocalizationInformationRequest.cs
Runtime/Scripts/REST/RelocalizationInformationRequest.cs.meta
+11
-0
11 additions, 0 deletions
...ime/Scripts/REST/RelocalizationInformationRequest.cs.meta
with
66 additions
and
0 deletions
Runtime/Scripts/REST/RelocalizationInformationRequest.cs
0 → 100644
View file @
a3c83914
//
// ARF - Augmented Reality Framework (ETSI ISG ARF)
//
// Copyright 2024 ETSI
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Last change: March 2024
//
using
System
;
using
System.Collections.Generic
;
using
System.Threading.Tasks
;
using
UnityEngine
;
using
ETSI.ARF.OpenAPI.WorldStorage
;
using
ETSI.ARF.OpenAPI
;
namespace
ETSI.ARF.WorldStorage.REST
{
public
class
RelocalizationInformationRequest
:
RequestBase
<
Response
>
{
static
public
ResponseObject
<
Response
>
GetRelocalizationInformationAsync
(
WorldStorageServer
ws
,
List
<
Guid
>
uuids
,
List
<
Mode_WorldStorage
>
modes
,
List
<
Capability
>
capabilities
,
Action
<
ResponseObject
<
Response
>>
func
)
{
wsServer
=
ws
;
var
httpClient
=
new
UnityWebRequestHttpClient
(
ws
.
URI
);
apiClient
=
new
WorldStorageClient
(
httpClient
);
Debug
.
Log
(
"Request Reloc Information .."
);
ResponseObject
<
Response
>
ro
=
new
ResponseObject
<
Response
>(
"Request Reloc Inofmration "
,
func
);
List
<
Anonymous
>
anonymous
=
new
List
<
Anonymous
>();
for
(
int
i
=
0
;
i
<
uuids
.
Count
;
i
++)
{
// Check same size or give anonymous as parameter?
Anonymous
newOne
=
new
Anonymous
();
newOne
.
Uuid
=
uuids
[
i
];
newOne
.
Mode
=
modes
[
i
];
anonymous
.
Add
(
newOne
);
}
apiClient
.
GetRelocalizationInformationAsync
(
token
,
anonymous
,
capabilities
).
ContinueWith
(
OnReceiveObject
<
Response
>,
ro
);
return
ro
;
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Runtime/Scripts/REST/RelocalizationInformationRequest.cs.meta
0 → 100644
View file @
a3c83914
fileFormatVersion: 2
guid: 2039ff3a64a593c41b3729ed5e4be8ee
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
This diff is collapsed.
Click to expand it.