-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpoitools.cpp
More file actions
32 lines (24 loc) · 838 Bytes
/
poitools.cpp
File metadata and controls
32 lines (24 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//incude header file
#include "poitools.h"
// include classes to be registered
#include "processors/pointfitting.h"
#include "processors/surfacemeasure.h"
//use voreen namespace
namespace voreen {
PoiTools::PoiTools(const std::string& modulePath)
: VoreenModule(modulePath)
{
// module name to be used internally
setID("POI Tools");
// module name to be used in the GUI
setGuiName("POI Tools");
// each module processor needs to be registered
registerProcessor(new PointFitting());
registerProcessor(new SurfaceMeasure());
// adds a glsl dir to the shader search path (if shaders are needed in the module)
addShaderPath(getModulePath("glsl"));
}
std::string PoiTools::getDescription() const {
return "This module is a toolset for handling points of interest.";
}
} // namespace