Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
dc449135
Commit
dc449135
authored
Jun 15, 2021
by
Alexander Wiebel
Browse files
[ADD] Info properties of dataset added to grid renderer module
parent
22d4311b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
src/modules/gridRenderer/WMGridRenderer.cpp
src/modules/gridRenderer/WMGridRenderer.cpp
+4
-0
src/modules/gridRenderer/WMGridRenderer.h
src/modules/gridRenderer/WMGridRenderer.h
+2
-0
No files found.
src/modules/gridRenderer/WMGridRenderer.cpp
View file @
dc449135
...
...
@@ -123,6 +123,10 @@ void WMGridRenderer::moduleMain()
continue
;
}
m_infoProperties
->
removeProperty
(
currentDataInfoProperties
);
currentDataInfoProperties
=
dataSet
->
getInformationProperties
();
// update properties
m_infoProperties
->
addProperty
(
currentDataInfoProperties
);
// the grid to show
WGridRegular3D
::
SPtr
regGrid
;
...
...
src/modules/gridRenderer/WMGridRenderer.h
View file @
dc449135
...
...
@@ -119,6 +119,8 @@ private:
WPropInt
m_gridLineWidth
;
//!< the width of the grid lines
boost
::
shared_ptr
<
WProperties
>
currentDataInfoProperties
;
//!< Kept reference to current data infos as properties
/**
* This condition denotes whether we need to recompute the surface
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment