From cd5b19a7a6e3d85852030bcaa699803f4ff76e46 Mon Sep 17 00:00:00 2001 From: Fredrik Orderud Date: Wed, 19 Feb 2020 15:52:56 +0100 Subject: [PATCH] Update DummyLoader after API upgrade Only an API update so far. Actual color-flow support will be added in a later PR. --- DummyLoader/Image3dSource.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DummyLoader/Image3dSource.hpp b/DummyLoader/Image3dSource.hpp index cef8758..f479e93 100644 --- a/DummyLoader/Image3dSource.hpp +++ b/DummyLoader/Image3dSource.hpp @@ -32,6 +32,10 @@ class ATL_NO_VTABLE Image3dSource : HRESULT STDMETHODCALLTYPE GetSopInstanceUID(/*out*/BSTR *uid_str) override; + HRESULT STDMETHODCALLTYPE GetPresentationState(IPresentationState *) override { + return E_NOTIMPL; + } + Image3d SampleFrame (const Image3d & frame, Cart3dGeom out_geom, unsigned short max_res[3]); DECLARE_REGISTRY_RESOURCEID(IDR_Image3dSource)