Commit 78025428 authored by schultezub's avatar schultezub
Browse files

converted VisualizationPipeline::_canvasSize to property an let it change the Qt widget canvas size

git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@470 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
parent 695fdc4a
......@@ -43,7 +43,7 @@
namespace campvis {
const std::string EEPGenerator::loggerCat_ = "CAMPVis.modules.vis.EEPGenerator";
EEPGenerator::EEPGenerator(GenericProperty<tgt::ivec2>& canvasSize)
EEPGenerator::EEPGenerator(IVec2Property& canvasSize)
: VisualizationProcessor(canvasSize)
, p_sourceImageID("sourceImageID", "Input Image", "", DataNameProperty::READ)
, p_geometryID("geometryID", "Input Geometry ID", "proxygeometry", DataNameProperty::READ)
......
......@@ -54,7 +54,7 @@ namespace campvis {
/**
* Constructs a new EEPGenerator Processor
**/
EEPGenerator(GenericProperty<tgt::ivec2>& canvasSize);
EEPGenerator(IVec2Property& canvasSize);
/**
* Destructor
......
......@@ -42,7 +42,7 @@
namespace campvis {
const std::string GeometryRenderer::loggerCat_ = "CAMPVis.modules.vis.GeometryRenderer";
GeometryRenderer::GeometryRenderer(GenericProperty<tgt::ivec2>& canvasSize)
GeometryRenderer::GeometryRenderer(IVec2Property& canvasSize)
: VisualizationProcessor(canvasSize)
, p_geometryID("geometryID", "Input Geometry ID", "gr.input", DataNameProperty::READ)
, p_renderTargetID("p_renderTargetID", "Output Image", "gr.output", DataNameProperty::WRITE)
......
......@@ -51,7 +51,7 @@ namespace campvis {
/**
* Constructs a new GeometryRenderer Processor
**/
GeometryRenderer(GenericProperty<tgt::ivec2>& canvasSize);
GeometryRenderer(IVec2Property& canvasSize);
/**
* Destructor
......
......@@ -44,7 +44,7 @@
namespace campvis {
const std::string IxpvCompositor::loggerCat_ = "CAMPVis.modules.vis.IxpvCompositor";
IxpvCompositor::IxpvCompositor(GenericProperty<tgt::ivec2>& canvasSize)
IxpvCompositor::IxpvCompositor(IVec2Property& canvasSize)
: VisualizationProcessor(canvasSize)
, p_xRayImageId("XRayImageId", "X-Ray input image", "", DataNameProperty::READ)
, p_3dSliceImageId("3DSliceImageId", "Slice input image rendered in 3D world space", "", DataNameProperty::READ)
......
......@@ -52,7 +52,7 @@ namespace campvis {
/**
* Constructs a new IxpvCompositor Processor
**/
IxpvCompositor(GenericProperty<tgt::ivec2>& canvasSize);
IxpvCompositor(IVec2Property& canvasSize);
/**
* Destructor
......
......@@ -44,7 +44,7 @@
namespace campvis {
const std::string QuadView::loggerCat_ = "CAMPVis.modules.vis.QuadView";
QuadView::QuadView(GenericProperty<tgt::ivec2>& canvasSize)
QuadView::QuadView(IVec2Property& canvasSize)
: VisualizationProcessor(canvasSize)
, p_inputImage1("InputImage1", "First Input Image", "", DataNameProperty::READ)
, p_inputImage2("InputImage2", "Second Input Image", "", DataNameProperty::READ)
......
......@@ -47,7 +47,7 @@ namespace campvis {
/**
* Constructs a new QuadView Processor
**/
QuadView(GenericProperty<tgt::ivec2>& canvasSize);
QuadView(IVec2Property& canvasSize);
/**
* Destructor
......
......@@ -53,7 +53,7 @@ namespace campvis {
const std::string RenderTargetCompositor::loggerCat_ = "CAMPVis.modules.vis.RenderTargetCompositor";
RenderTargetCompositor::RenderTargetCompositor(GenericProperty<tgt::ivec2>& canvasSize)
RenderTargetCompositor::RenderTargetCompositor(IVec2Property& canvasSize)
: VisualizationProcessor(canvasSize)
, p_firstImageId("FirstImageId", "First Input Image", "", DataNameProperty::READ)
, p_secondImageId("SecondImageId", "Second Input Image", "", DataNameProperty::READ)
......
......@@ -63,7 +63,7 @@ namespace campvis {
/**
* Constructs a new RenderTargetCompositor Processor
**/
RenderTargetCompositor(GenericProperty<tgt::ivec2>& canvasSize);
RenderTargetCompositor(IVec2Property& canvasSize);
/**
* Destructor
......
......@@ -36,7 +36,7 @@
namespace campvis {
const std::string SimpleRaycaster::loggerCat_ = "CAMPVis.modules.vis.SimpleRaycaster";
SimpleRaycaster::SimpleRaycaster(GenericProperty<tgt::ivec2>& canvasSize)
SimpleRaycaster::SimpleRaycaster(IVec2Property& canvasSize)
: RaycastingProcessor(canvasSize, "modules/vis/glsl/simpleraycaster.frag", true)
, p_targetImageID("targetImageID", "Output Image", "", DataNameProperty::WRITE)
, p_enableShadowing("EnableShadowing", "Enable Hard Shadows", false, AbstractProcessor::INVALID_SHADER)
......
......@@ -52,7 +52,7 @@ namespace campvis {
/**
* Constructs a new SimpleRaycaster Processor
**/
SimpleRaycaster(GenericProperty<tgt::ivec2>& canvasSize);
SimpleRaycaster(IVec2Property& canvasSize);
/**
* Destructor
......
......@@ -44,7 +44,7 @@
namespace campvis {
const std::string SliceExtractor::loggerCat_ = "CAMPVis.modules.vis.SliceExtractor";
SliceExtractor::SliceExtractor(GenericProperty<tgt::ivec2>& canvasSize)
SliceExtractor::SliceExtractor(IVec2Property& canvasSize)
: VisualizationProcessor(canvasSize)
, p_sourceImageID("sourceImageID", "Input Image", "", DataNameProperty::READ)
, p_targetImageID("targetImageID", "Output Image", "", DataNameProperty::WRITE)
......
......@@ -54,7 +54,7 @@ namespace campvis {
/**
* Constructs a new SliceExtractor Processor
**/
SliceExtractor(GenericProperty<tgt::ivec2>& canvasSize);
SliceExtractor(IVec2Property& canvasSize);
/**
* Destructor
......
......@@ -47,7 +47,7 @@
namespace campvis {
const std::string SliceRenderer3D::loggerCat_ = "CAMPVis.modules.vis.SliceRenderer3D";
SliceRenderer3D::SliceRenderer3D(GenericProperty<tgt::ivec2>& canvasSize)
SliceRenderer3D::SliceRenderer3D(IVec2Property& canvasSize)
: VisualizationProcessor(canvasSize)
, p_sourceImageID("sourceImageID", "Input Image", "", DataNameProperty::READ)
, p_targetImageID("targetImageID", "Output Image", "", DataNameProperty::WRITE)
......
......@@ -54,7 +54,7 @@ namespace campvis {
/**
* Constructs a new SliceRenderer3D Processor
**/
SliceRenderer3D(GenericProperty<tgt::ivec2>& canvasSize);
SliceRenderer3D(IVec2Property& canvasSize);
/**
* Destructor
......
......@@ -44,7 +44,7 @@
namespace campvis {
const std::string VirtualMirrorCombine::loggerCat_ = "CAMPVis.modules.vis.VirtualMirrorCombine";
VirtualMirrorCombine::VirtualMirrorCombine(GenericProperty<tgt::ivec2>& canvasSize)
VirtualMirrorCombine::VirtualMirrorCombine(IVec2Property& canvasSize)
: VisualizationProcessor(canvasSize)
, p_normalImageID("normalImageID", "Normal DVR Input Image", "", DataNameProperty::READ)
, p_mirrorImageID("mirrorImageID", "Mirror DVR Input Image", "", DataNameProperty::READ)
......
......@@ -52,7 +52,7 @@ namespace campvis {
/**
* Constructs a new VirtualMirrorCombine Processor
**/
VirtualMirrorCombine(GenericProperty<tgt::ivec2>& canvasSize);
VirtualMirrorCombine(IVec2Property& canvasSize);
/**
* Destructor
......
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