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
2267ce2c
Commit
2267ce2c
authored
1 year ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
rm Model::releaseGeometries
parent
8801e0dc
No related branches found
No related tags found
1 merge request
!2257
rm unused fcts, detected by xunused
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Img3D/Model/Model.cpp
+0
-8
0 additions, 8 deletions
Img3D/Model/Model.cpp
Img3D/Model/Model.h
+0
-2
0 additions, 2 deletions
Img3D/Model/Model.h
with
0 additions
and
10 deletions
Img3D/Model/Model.cpp
+
0
−
8
View file @
2267ce2c
...
...
@@ -111,14 +111,6 @@ void Model::emplaceTransparentBody(PlottableBody* o)
m_transparentObjects
.
emplace_back
(
o
);
}
void
Model
::
releaseGeometries
()
{
for
(
PlottableBody
*
o
:
m_objects
)
o
->
releaseGeometry
();
for
(
PlottableBody
*
o
:
m_transparentObjects
)
o
->
releaseGeometry
();
}
bool
Model
::
modelIsEmpty
()
const
{
return
m_objects
.
empty
()
&&
m_transparentObjects
.
empty
();
...
...
This diff is collapsed.
Click to expand it.
Img3D/Model/Model.h
+
0
−
2
View file @
2267ce2c
...
...
@@ -37,8 +37,6 @@ public:
void
emplaceSolidBody
(
PlottableBody
*
);
//!< adds an opaque object, takes ownership
void
emplaceTransparentBody
(
PlottableBody
*
);
//!< adds a transparent object, takes ownership
void
releaseGeometries
();
//!< may be called any time
bool
modelIsEmpty
()
const
;
CameraParams
defaultCameraPosition
;
//!< default camera params
...
...
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