2.12.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit ee5660d0 authored by schultezub's avatar schultezub
Browse files

fixed linking error

git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@346 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
parent 52f8a62b
......@@ -17,7 +17,7 @@ OPTION(CAMPVIS_BUILD_APPLICATION "Build CAMPVis Application"
OPTION(CAMPVIS_BUILD_CORE "Build CAMPVis Core" ON )
OPTION(CAMPVIS_BUILD_MODULES "Build CAMPVis Modules" ON )
OPTION(CAMPVIS_BUILD_LIB_TGT "Build TGT Library" ON )
OPTION(CAMPVIS_BUILD_LIB_KISSCL "Build KissCL Library" ON )
OPTION(CAMPVIS_BUILD_LIB_KISSCL "Build KissCL Library" OFF )
IF(WIN32)
OPTION(CAMPVIS_COPY_EXTERNAL_DLLS "Copy external DLLs to bin directory?" ON )
......
......@@ -42,7 +42,7 @@ using namespace campvis;
**/
int main(int argc, char** argv) {
CampVisApplication app(argc, argv);
//app.addVisualizationPipeline("SliceVis", new SliceVis());
app.addVisualizationPipeline("SliceVis", new SliceVis());
app.addVisualizationPipeline("DVRVis", new DVRVis());
app.init();
......
......@@ -129,6 +129,7 @@ namespace campvis {
}
void AbstractPipeline::addProcessor(AbstractProcessor* processor) {
tgtAssert(processor != 0, "Processor must not be 0.")
_processors.push_back(processor);
}
}
......@@ -112,4 +112,9 @@ namespace campvis {
AbstractPipeline::onPropertyChanged(prop);
}
void VisualizationPipeline::addEventHandler(AbstractEventHandler* eventHandler) {
tgtAssert(eventHandler != 0, "Event handler must not be 0.");
_eventHandlers.push_back(eventHandler);
}
}
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