14 #include <vtkRenderer.h>
32 mSpaceProvider(spaceProvider)
40 return "Stream2DRep3D";
51 mTrackedStream = trackedStream;
58 this->trackedStreamChanged();
63 view->getRenderer()->AddActor(mRTStream->getActor());
68 view->getRenderer()->RemoveActor(mRTStream->getActor());
71 void Stream2DRep3D::trackedStreamChanged()
73 ToolPtr tool = mTrackedStream->getProbeTool();
74 mRTStream->setTool(tool);
75 mRTStream->setRealtimeStream(mTrackedStream->getVideoSource());
80 if(!mTrackedStream->getProbeTool())
82 if(!mTrackedStream->getVideoSource())