Skip to content
Snippets Groups Projects
Commit d60efbb1 authored by Sreekanth Arikatla's avatar Sreekanth Arikatla Committed by Ricardo Ortiz
Browse files

Adds 2D overlay on the 3D scene.

parent 340dc894
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,8 @@
#include "Core/ViewerBase.h"
#include "VirtualTools/LaparoscopicCameraCoupler.h"
#include "vtkContextActor.h"
#include "vtkContextScene.h"
class vtkCamera;
......@@ -95,6 +97,13 @@ public:
///
void setScreenCaptureData(std::shared_ptr<screenShotData> data);
///
/// \brief Add chart actor to the renderer
///
void addChartActor(
std::shared_ptr<vtkContextActor> chartActor,
std::shared_ptr<vtkContextScene> chartScene);
protected:
///
/// \brief Renders the render operation to screen
......
......@@ -254,7 +254,7 @@ void LaparoscopicCameraCoupler::setBendingRadius(const double val)
std::shared_ptr<screenShotData> LaparoscopicCameraCoupler::getScreenCaptureData()
{
return screenCaptureData;
};
}
void LaparoscopicCameraCoupler::enableScreenCapture()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment