Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenWalnut Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
44
Issues
44
List
Boards
Labels
Service Desk
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
cce9dd39
Commit
cce9dd39
authored
Apr 08, 2010
by
Sebastian Eichelbaum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CHANGE] undone some useles changes
parent
df4bb618
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
26 deletions
+1
-26
src/modules/distanceMap/WMDistanceMapIsosurface.cpp
src/modules/distanceMap/WMDistanceMapIsosurface.cpp
+1
-16
src/modules/distanceMap/WMDistanceMapIsosurface.h
src/modules/distanceMap/WMDistanceMapIsosurface.h
+0
-10
No files found.
src/modules/distanceMap/WMDistanceMapIsosurface.cpp
View file @
cce9dd39
...
...
@@ -64,7 +64,7 @@ const char** WMDistanceMapIsosurface::getXPMIcon() const
return
distancemapIsosurface_xpm
;
}
void
WMDistanceMapIsosurface
::
module
Setup
()
void
WMDistanceMapIsosurface
::
module
Main
()
{
//////////////////////////////////////////////////////////////////////////////////
// Marching Cubes
...
...
@@ -130,16 +130,6 @@ void WMDistanceMapIsosurface::moduleSetup()
// we want the container input connector "in" to be connected to the input of WMDistanceMap
m_input
->
forward
(
m_distanceMapModule
->
getInputConnector
(
"in"
)
);
}
void
WMDistanceMapIsosurface
::
moduleMain
()
{
//////////////////////////////////////////////////////////////////////////////////
// Initialize the modules whose properties we want to forward.
//////////////////////////////////////////////////////////////////////////////////
moduleSetup
();
//////////////////////////////////////////////////////////////////////////////////
// Done! Modules are set up.
//////////////////////////////////////////////////////////////////////////////////
...
...
@@ -180,11 +170,6 @@ void WMDistanceMapIsosurface::connectors()
WModule
::
connectors
();
}
void
WMDistanceMapIsosurface
::
properties
()
{
// this module's properties get added during moduleMain.
}
void
WMDistanceMapIsosurface
::
activate
()
{
m_marchingCubesModule
->
getProperties
()
->
getProperty
(
"active"
)
->
toPropBool
()
->
set
(
m_active
->
get
()
);
...
...
src/modules/distanceMap/WMDistanceMapIsosurface.h
View file @
cce9dd39
...
...
@@ -80,21 +80,11 @@ protected:
*/
virtual
void
connectors
();
/**
* Initialize the properties for this module.
*/
virtual
void
properties
();
/**
* Callback for m_active. Overwrite this in your modules to handle m_active changes separately.
*/
virtual
void
activate
();
/**
* Setup the modules
*/
virtual
void
moduleSetup
();
private:
WPropDouble
m_isoValueProp
;
//!< Property holding the value for the distance.
...
...
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