Commit 27b021c3 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[CHANGE] - added a dynamic loading directive to all modules

parent 08c2e409
......@@ -38,7 +38,8 @@
#include "WMApplyMask.h"
#include "apply_mask.xpm"
W_LOADABLE_MODULE( WMApplyMask );
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMApplyMask )
WMApplyMask::WMApplyMask() :
WModule()
......
......@@ -45,6 +45,9 @@
#include "WMArbitraryRois.h"
#include "arbitraryROI.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMArbitraryRois )
WMArbitraryRois::WMArbitraryRois():
WModule(),
m_textureChanged( true ),
......
......@@ -44,6 +44,9 @@
#include "WMAtlasSurfaces.h"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMAtlasSurfaces )
WMAtlasSurfaces::WMAtlasSurfaces():
WModule(),
m_dataSet(),
......
......@@ -41,6 +41,9 @@
#include "WMBoundingBox.h"
#include "boundingbox.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMBoundingBox )
WMBoundingBox::WMBoundingBox():
WModule()
{
......
......@@ -29,6 +29,9 @@
#include "../../kernel/WKernel.h"
#include "WMClusterParamDisplay.h"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMClusterParamDisplay )
WMClusterParamDisplay::WMClusterParamDisplay()
: WModuleContainer( "Cluster Param Display", "Displays various parameters on a cluster surface." )
{
......
......@@ -33,6 +33,9 @@
#include "../../graphicsEngine/WGEGeodeUtils.h"
#include "WMClusterSlicer.h"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMClusterSlicer )
WMClusterSlicer::WMClusterSlicer()
: WModule(),
m_rootNode( osg::ref_ptr< WGEGroupNode >( new WGEGroupNode() ) )
......
......@@ -36,6 +36,9 @@
#include "../../kernel/WKernel.h"
#include "WMContourTree.h"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMContourTree )
WMContourTree::WMContourTree():
WModule()
{
......
......@@ -44,6 +44,9 @@
#include "WMCoordinateSystem.h"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMCoordinateSystem )
WMCoordinateSystem::WMCoordinateSystem() :
WModule(), m_dirty( false ), m_drawOffset( 0.02 )
{
......
......@@ -41,6 +41,9 @@
#include "WMDataTypeConversion.h"
#include "datatypeconversion.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMDataTypeConversion )
WMDataTypeConversion::WMDataTypeConversion() :
WModule()
{
......
......@@ -52,6 +52,9 @@
#include "detTractClustering.xpm"
#include "WMDetTractClustering.h"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMDetTractClustering )
WMDetTractClustering::WMDetTractClustering()
: WModule(),
m_lastTractsSize( 0 ),
......
......@@ -42,6 +42,9 @@
#include "detTractCulling.xpm"
#include "WMDetTractCulling.h"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMDetTractCulling )
WMDetTractCulling::WMDetTractCulling()
: WModule(),
m_recompute( new WCondition() )
......
......@@ -38,6 +38,9 @@
#include "WMDeterministicFTMori.h"
#include "moriTracking.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMDeterministicFTMori )
WMDeterministicFTMori::WMDeterministicFTMori()
: WModule(),
m_dataSet(),
......
......@@ -37,6 +37,9 @@
#include "../../common/WProgress.h"
#include "../../common/WAssert.h"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMDistanceMap )
WMDistanceMap::WMDistanceMap():
WModule()
{
......
......@@ -36,6 +36,9 @@
#include "../../dataHandler/WSubject.h"
#include "../../dataHandler/WGridRegular3D.h"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMDistanceMapIsosurface )
WMDistanceMapIsosurface::WMDistanceMapIsosurface():
WModuleContainer( "Distance Map Isosurface",
"Computes a smoothed version of the dataset"
......
......@@ -48,6 +48,8 @@
#include "WScaleTransformCallback.h"
#include "eeg.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMEEGView )
WMEEGView::WMEEGView()
: WModule(),
......
......@@ -40,6 +40,9 @@
#include "WMFiberSelection.h"
#include "fiberSelection.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMFiberSelection )
WMFiberSelection::WMFiberSelection():
WModule()
{
......
......@@ -41,6 +41,9 @@
#include "WMFiberTransform.h"
#include "fiberTransform.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMFiberTransform )
WMFiberTransform::WMFiberTransform()
: WModule(),
m_recompute( new WCondition() )
......
......@@ -41,6 +41,9 @@
#include "WMGaussFiltering.h"
#include "gaussfiltering.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMGaussFiltering )
WMGaussFiltering::WMGaussFiltering() :
WModule()
{
......
......@@ -34,6 +34,9 @@
#include "WMHud.h"
#include "hud.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMHud )
WMHud::WMHud()
{
}
......
......@@ -34,6 +34,9 @@
#include "imageExtractor.xpm"
#include "WMImageExtractor.h"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMImageExtractor )
WMImageExtractor::WMImageExtractor():
WModule()
{
......
......@@ -43,6 +43,9 @@
#include "WMIsosurfaceRaytracer.h"
#include "isosurfaceraytracer.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMIsosurfaceRaytracer )
WMIsosurfaceRaytracer::WMIsosurfaceRaytracer():
WModule(),
m_rootNode( new osg::Node() )
......
......@@ -37,6 +37,9 @@
#include "WMLIC.h"
#include "lic.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMLIC )
WMLIC::WMLIC()
: WModule(),
m_moduleNode( new WGEGroupNode() ),
......
......@@ -55,6 +55,8 @@
#include "../../graphicsEngine/algorithms/WMarchingCubesAlgorithm.h"
#include "WMMarchingCubes.h"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMMarchingCubes )
WMMarchingCubes::WMMarchingCubes():
WModule(),
......
......@@ -31,6 +31,9 @@
#include "WMMeshReader.h"
#include "meshreader.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMMeshReader )
WMMeshReader::WMMeshReader():
WModule()
{
......
......@@ -41,6 +41,9 @@
#include "WMProbTractDisplay.h"
#include "directvolumerendering.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMProbTractDisplay )
WMProbTractDisplay::WMProbTractDisplay():
WModule(),
m_rootNode( new osg::Node() )
......
......@@ -33,6 +33,9 @@
#include "scalarSegmentation.xpm"
#include "WMScalarSegmentation.h"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMScalarSegmentation )
WMScalarSegmentation::WMScalarSegmentation():
WModule()
{
......
......@@ -56,6 +56,9 @@
#include "WSurface.h"
#include "WMSplineSurface.h"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMSplineSurface )
WMSplineSurface::WMSplineSurface() :
WModule(), m_recompute( boost::shared_ptr< WCondition >( new WCondition() ) ), m_shaderUseLighting( false ), m_shaderUseTransparency( false ),
m_moduleNode( new WGEGroupNode() ), m_surfaceGeode( 0 )
......
......@@ -39,6 +39,9 @@
#include "WMSuperquadricGlyphs.h"
#include "superquadricglyphs.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMSuperquadricGlyphs )
WMSuperquadricGlyphs::WMSuperquadricGlyphs():
WModule()
{
......
......@@ -69,8 +69,8 @@
#include "icons/steak.xpm"
#include "WMTemplate.h"
// This line is needed by the module loader to actually find your module. You need to add this to your module too.
W_LOADABLE_MODULE( WMTemplate );
// This line is needed by the module loader to actually find your module. You need to add this to your module too. Do NOT add a ";" here.
W_LOADABLE_MODULE( WMTemplate )
WMTemplate::WMTemplate():
WModule()
......
......@@ -33,6 +33,9 @@
#include "WMTriangleMeshRenderer.h"
#include "trianglemeshrenderer.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMTriangleMeshRenderer )
WMTriangleMeshRenderer::WMTriangleMeshRenderer():
WModule(),
m_moduleNode( new WGEGroupNode() ),
......
......@@ -36,6 +36,9 @@
#include "WMVectorPlot.h"
#include "vectorplot.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMVectorPlot )
WMVectorPlot::WMVectorPlot():
WModule()
{
......
......@@ -52,6 +52,9 @@
#include "WCenterlineParameterization.h"
#include "voxelizer.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMVoxelizer )
WMVoxelizer::WMVoxelizer()
: WModule(),
m_fullUpdate( new WCondition() )
......
......@@ -41,6 +41,9 @@
#include "../../dataHandler/io/nifti/nifti1_io.h"
#include "WMWriteNIfTI.h"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMWriteNIfTI )
WMWriteNIfTI::WMWriteNIfTI() :
WModule()
{
......
......@@ -30,6 +30,9 @@
#include "WMWriteTracts.h"
#include "writeTracts.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMWriteTracts )
WMWriteTracts::WMWriteTracts():
WModule()
{
......
......@@ -140,6 +140,9 @@ $impl = <<EOF
#include "WM#name#.h"
// This line is needed by the module loader to actually find your module. Do not remove. Do NOT add a ";" here.
W_LOADABLE_MODULE( WM#name# )
WM#name#::WM#name#():
WModule()
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment