Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
VkCV Framework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
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
Vulkan2021
VkCV Framework
Commits
d215ab83
Commit
d215ab83
authored
3 years ago
by
Vanessa Karolek
Browse files
Options
Downloads
Patches
Plain Diff
[
#42
] make camera controller inaccessible for the user
parent
ed0c0b5a
No related branches found
No related tags found
1 merge request
!35
Resolve "Kamera - Trackballkamera"
Pipeline
#25717
passed
3 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/camera/include/vkcv/camera/CameraManager.hpp
+7
-8
7 additions, 8 deletions
modules/camera/include/vkcv/camera/CameraManager.hpp
with
7 additions
and
8 deletions
modules/camera/include/vkcv/camera/CameraManager.hpp
+
7
−
8
View file @
d215ab83
...
...
@@ -47,6 +47,13 @@ namespace vkcv {
*/
void
bindCameraToEvents
();
/**
* @brief Gets a camera controller object of specified @p controllerType.
* @param[in] controllerType The type of the camera controller.
* @return The specified camera controller object.
*/
CameraController
&
getControllerByType
(
ControllerType
controllerType
);
/**
* @brief A callback function for key events. Currently, cycling between all existing camera controllers via Tab,
* window closure via Esc and polling key events from the active camera controller are supported.
...
...
@@ -162,18 +169,10 @@ namespace vkcv {
*/
ControllerType
getControllerType
(
uint32_t
cameraIndex
);
/**
* @brief Gets a camera controller object of specified @p controllerType.
* @param[in] controllerType The type of the camera controller.
* @return The specified camera controller object.
*/
CameraController
&
getControllerByType
(
ControllerType
controllerType
);
/**
* @brief Updates all stored camera controllers in respect to @p deltaTime.
* @param[in] deltaTime The time that has passed since last update.
*/
void
update
(
double
deltaTime
);
};
}
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