2023-06-18 07:45:39 -04:00
|
|
|
#ifndef LEGO3DVIEW_H
|
|
|
|
#define LEGO3DVIEW_H
|
|
|
|
|
2023-12-16 13:14:01 -05:00
|
|
|
#include "mxtypes.h"
|
2023-12-26 17:20:20 -05:00
|
|
|
#include "tgl/d3drm/impl.h"
|
2023-11-19 09:38:07 -05:00
|
|
|
#include "viewmanager/viewmanager.h"
|
2023-06-18 07:45:39 -04:00
|
|
|
|
2023-12-16 13:14:01 -05:00
|
|
|
class LegoROI;
|
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
class Lego3DView {
|
2023-06-18 07:45:39 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
inline ViewManager* GetViewManager() { return this->m_viewManager; }
|
2023-12-26 17:20:20 -05:00
|
|
|
inline TglImpl::ViewImpl* GetViewPort() { return this->m_viewPort; }
|
2023-12-16 13:14:01 -05:00
|
|
|
LegoROI* PickROI(MxLong p_a, MxLong p_b);
|
2023-06-18 07:45:39 -04:00
|
|
|
|
|
|
|
private:
|
2023-12-26 17:20:20 -05:00
|
|
|
// TODO: all of these fields are in various base classes
|
|
|
|
undefined4 m_vtable; // 0x0 (TODO: remove once virtual function added)
|
|
|
|
undefined4 m_unk0x4; // 0x4
|
|
|
|
TglImpl::RendererImpl* m_renderImpl; // 0x8
|
|
|
|
TglImpl::DeviceImpl* m_deviceImpl; // 0xc
|
|
|
|
TglImpl::ViewImpl* m_viewPort; // 0x10
|
|
|
|
char m_pad[0x78]; // 0x14
|
|
|
|
ViewManager* m_viewManager; // 0x88
|
2023-06-18 07:45:39 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LEGO3DVIEW_H
|