Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
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
mlz
BornAgain
Commits
6edade90
Commit
6edade90
authored
1 year ago
by
Wuttke, Joachim
Committed by
Wuttke, Joachim
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
CameraParams restore c'tors (now complete)
parent
ff5c844e
No related branches found
No related tags found
1 merge request
!2256
rm unused, detected by xunused
Pipeline
#124198
failed
1 year ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Img3D/Type/CameraParams.cpp
+24
-0
24 additions, 0 deletions
Img3D/Type/CameraParams.cpp
Img3D/Type/CameraParams.h
+3
-0
3 additions, 0 deletions
Img3D/Type/CameraParams.h
with
27 additions
and
0 deletions
Img3D/Type/CameraParams.cpp
0 → 100644
+
24
−
0
View file @
6edade90
// ************************************************************************************************
//
// BornAgain: simulate and fit reflection and scattering
//
//! @file Img3D/Type/CameraParams.cpp
//! @brief Implements struct CameraParams.
//!
//! @homepage http://www.bornagainproject.org
//! @license GNU General Public License v3 or higher (see COPYING)
//! @copyright Forschungszentrum Jülich GmbH 2018
//! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
//
// ************************************************************************************************
#include
"Img3D/Type/CameraParams.h"
Img3D
::
CameraParams
::
CameraParams
(
const
F3
&
eye_
,
const
F3
&
ctr_
,
const
F3
&
up_
,
QQuaternion
const
&
rot_
)
:
eye
(
eye_
)
,
ctr
(
ctr_
)
,
up
(
up_
)
,
rot
(
rot_
)
{
}
This diff is collapsed.
Click to expand it.
Img3D/Type/CameraParams.h
+
3
−
0
View file @
6edade90
...
@@ -21,6 +21,9 @@
...
@@ -21,6 +21,9 @@
namespace
Img3D
{
namespace
Img3D
{
struct
CameraParams
{
struct
CameraParams
{
CameraParams
();
CameraParams
(
const
F3
&
eye
,
const
F3
&
ctr
,
const
F3
&
up
,
const
QQuaternion
&
=
{});
F3
eye
;
F3
eye
;
F3
ctr
;
// center
F3
ctr
;
// center
F3
up
;
F3
up
;
...
...
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