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
5fa1b59d
Commit
5fa1b59d
authored
6 months ago
by
Mikhail Svechnikov
Browse files
Options
Downloads
Patches
Plain Diff
cleanup
parent
5322fd04
No related branches found
No related tags found
1 merge request
!2725
Manual regeneration of roughness on 3D view
Pipeline
#162187
passed
6 months ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Img3D/Model/Geometry.h
+2
-1
2 additions, 1 deletion
Img3D/Model/Geometry.h
Img3D/Model/PlottableBody.cpp
+1
-1
1 addition, 1 deletion
Img3D/Model/PlottableBody.cpp
with
3 additions
and
2 deletions
Img3D/Model/Geometry.h
+
2
−
1
View file @
5fa1b59d
...
...
@@ -76,7 +76,8 @@ private:
static
Mesh
meshPlane
();
static
Mesh
meshBox
();
static
Mesh
meshRoughBox
(
const
double2d_t
*
,
const
double2d_t
*
,
bool
);
static
Mesh
meshRoughBox
(
const
double2d_t
*
topRough
,
const
double2d_t
*
bottomRough
,
bool
drawBottom
);
static
Mesh
meshSphere
(
float
cut
,
float
baseShift
=
0.0
f
,
float
removedTop
=
0.0
f
);
static
Mesh
meshColumn
(
float
ratio_Rt_Rb
,
float
numSides
);
static
Mesh
meshIcosahedron
();
...
...
This diff is collapsed.
Click to expand it.
Img3D/Model/PlottableBody.cpp
+
1
−
1
View file @
5fa1b59d
...
...
@@ -73,7 +73,7 @@ PlottableBody::PlottableBody(GeometricID::Key gky_, const double2d_t* top, const
,
gky
(
gky_
)
{
if
(
top
||
bottom
)
m_geo
=
std
::
shared
_ptr
<
Geometry
>
(
new
Geometry
(
gky
,
top
,
bottom
,
drawBottom
)
)
;
m_geo
=
std
::
make_
shared
<
Geometry
>
(
gky
,
top
,
bottom
,
drawBottom
);
}
PlottableBody
::~
PlottableBody
()
...
...
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