Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RWTH VR Cluster Plugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LuFG VR VIS
VR-Group
Unreal-Development
Plugins
RWTH VR Cluster Plugin
Commits
5c91c1b4
Commit
5c91c1b4
authored
5 months ago
by
David Gilbert
Browse files
Options
Downloads
Patches
Plain Diff
chore(utilities): Removes previously deprecated functions to get cluster components by name.
parent
714ca12a
Branches
Branches containing commit
No related tags found
1 merge request
!4
New attachment process and multiple clusters
Pipeline
#492030
passed
5 months ago
Stage: analyze
Stage: generate
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Source/RWTHVRCluster/Private/Utility/RWTHVRClusterUtilities.cpp
+0
-40
0 additions, 40 deletions
.../RWTHVRCluster/Private/Utility/RWTHVRClusterUtilities.cpp
Source/RWTHVRCluster/Public/Utility/RWTHVRClusterUtilities.h
+0
-9
0 additions, 9 deletions
Source/RWTHVRCluster/Public/Utility/RWTHVRClusterUtilities.h
with
0 additions
and
49 deletions
Source/RWTHVRCluster/Private/Utility/RWTHVRClusterUtilities.cpp
+
0
−
40
View file @
5c91c1b4
...
...
@@ -70,43 +70,3 @@ EDisplayClusterEyeStereoOffset URWTHVRClusterUtilities::GetNodeEyeType()
const
ADisplayClusterRootActor
*
RootActor
=
IDisplayCluster
::
Get
().
GetGameMgr
()
->
GetRootActor
();
return
(
RootActor
)
?
RootActor
->
GetDefaultCamera
()
->
GetStereoOffset
()
:
EDisplayClusterEyeStereoOffset
::
None
;
}
USceneComponent
*
URWTHVRClusterUtilities
::
GetClusterComponent
(
const
FString
&
Name
)
{
const
ADisplayClusterRootActor
*
RootActor
=
IDisplayCluster
::
Get
().
GetGameMgr
()
->
GetRootActor
();
return
(
RootActor
)
?
RootActor
->
GetComponentByName
<
USceneComponent
>
(
Name
)
:
nullptr
;
}
USceneComponent
*
URWTHVRClusterUtilities
::
GetNamedClusterComponent
(
const
ENamedClusterComponent
&
Component
)
{
switch
(
Component
)
{
case
ENamedClusterComponent
::
NCC_CAVE_ORIGIN
:
return
GetClusterComponent
(
"cave_origin"
);
case
ENamedClusterComponent
::
NCC_CAVE_CENTER
:
return
GetClusterComponent
(
"cave_center"
);
case
ENamedClusterComponent
::
NCC_CAVE_LHT
:
return
GetClusterComponent
(
"left_hand_target"
);
case
ENamedClusterComponent
::
NCC_CAVE_RHT
:
return
GetClusterComponent
(
"right_hand_target"
);
case
ENamedClusterComponent
::
NCC_SHUTTERGLASSES
:
return
GetClusterComponent
(
"shutter_glasses"
);
case
ENamedClusterComponent
::
NCC_ROLV_ORIGIN
:
return
GetClusterComponent
(
"rolv_origin"
);
case
ENamedClusterComponent
::
NCC_FLYSTICK
:
return
GetClusterComponent
(
"flystick"
);
case
ENamedClusterComponent
::
NCC_CALIBRATIO
:
return
GetClusterComponent
(
"calibratio"
);
case
ENamedClusterComponent
::
NCC_TRACKING_ORIGIN
:
USceneComponent
*
Result
;
if
((
Result
=
GetClusterComponent
(
"cave_origin"
)))
return
Result
;
if
((
Result
=
GetClusterComponent
(
"rolv_origin"
)))
return
Result
;
if
((
Result
=
GetClusterComponent
(
"tdw_origin_floor"
)))
return
Result
;
return
nullptr
;
default:
return
nullptr
;
}
}
This diff is collapsed.
Click to expand it.
Source/RWTHVRCluster/Public/Utility/RWTHVRClusterUtilities.h
+
0
−
9
View file @
5c91c1b4
...
...
@@ -58,13 +58,4 @@ public:
UFUNCTION
(
BlueprintPure
,
Category
=
"RWTHVRCluster"
)
static
EDisplayClusterEyeStereoOffset
GetNodeEyeType
();
// Get Component of Display Cluster by it's name, which is specified in the nDisplay config
UE_DEPRECATED
(
5.4
,
"GetClusterComponent has been removed because it is obsolete."
)
UFUNCTION
(
BlueprintPure
,
BlueprintCallable
,
Category
=
"RWTHVRCluster"
,
meta
=
(
DeprecatedFunction
))
static
USceneComponent
*
GetClusterComponent
(
const
FString
&
Name
);
UE_DEPRECATED
(
5.4
,
"GetNamedClusterComponent has been removed because it is obsolete."
)
UFUNCTION
(
BlueprintPure
,
BlueprintCallable
,
Category
=
"RWTHVRCluster"
,
meta
=
(
DeprecatedFunction
))
static
USceneComponent
*
GetNamedClusterComponent
(
const
ENamedClusterComponent
&
Component
);
};
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment