OpenCAX/entry/src/main/cpp/NativeEGLOCCT/V3d/V3dCtx/V3dCtx.h

30 lines
570 B
C++

//
// Created on 2026/3/6.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".
#ifndef OPENCAX_CONTEXT_H
#define OPENCAX_CONTEXT_H
#include "NativeEGLOCCT/common.h"
#include <V3d_Viewer.hxx>
#include <AIS_InteractiveContext.hxx>
#include "../V3dDrawer/V3dDrawer.h"
namespace NativeOpenCAX{
class V3dCtx{
public:
V3dCtx();
~V3dCtx();
bool InitV3dCtx(Handle(V3d_Viewer)& viewer);
public:
Handle(AIS_InteractiveContext) ctx;
};
}
#endif //OPENCAX_CONTEXT_H