ImagingTools Core SDK
CCompositeShapeViewComp.h
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ImtCore-Commercial
2#pragma once
3
4
5// ImtCore includes
6#include <imt3dgui/IShape3d.h>
7#include <imt3dgui/CView3dProviderComp.h>
8
9
10namespace imt3dgui
11{
12
13
14class CCompositeShapeViewComp: public CView3dProviderComp
15{
16public:
17 typedef CView3dProviderComp BaseClass;
18
19 I_BEGIN_COMPONENT(CCompositeShapeViewComp);
20 I_ASSIGN_MULTI_0(m_shapesCompPtr, "Shapes", "List of shapes to be painted in the 3D-view", true);
21 I_END_COMPONENT
22
23protected:
24 // reimplemented (iqtui::CGuiComponentBase)
25 virtual void OnGuiCreated() override;
26 virtual void OnGuiDestroyed() override;
27
28private:
29 I_MULTIREF(IShape3d, m_shapesCompPtr);
30};
31
32
33} // namespace imt3dgui
34
35