2023-04-27 22:19:39 -04:00
|
|
|
#ifndef LEGOROI_H
|
|
|
|
#define LEGOROI_H
|
|
|
|
|
2023-11-01 11:12:03 -04:00
|
|
|
#include "mxtypes.h"
|
2023-12-14 11:50:29 -05:00
|
|
|
#include "viewmanager/viewroi.h"
|
2023-11-01 11:12:03 -04:00
|
|
|
|
|
|
|
typedef MxBool (*ROIHandler)(char*, char*, MxU32);
|
|
|
|
|
2023-12-14 11:50:29 -05:00
|
|
|
class LegoROI : public ViewROI {
|
2023-04-27 22:19:39 -04:00
|
|
|
public:
|
2023-11-01 11:12:03 -04:00
|
|
|
__declspec(dllexport) void SetDisplayBB(MxS32 p_displayBB);
|
|
|
|
__declspec(dllexport) static void configureLegoROI(MxS32 p_roi);
|
|
|
|
|
|
|
|
static void SetSomeHandlerFunction(ROIHandler p_func);
|
|
|
|
static MxBool CallTheHandlerFunction(
|
|
|
|
char* p_param,
|
|
|
|
MxFloat& p_red,
|
|
|
|
MxFloat& p_green,
|
|
|
|
MxFloat& p_blue,
|
|
|
|
MxFloat& p_other
|
|
|
|
);
|
|
|
|
static MxBool ColorAliasLookup(char* p_param, MxFloat& p_red, MxFloat& p_green, MxFloat& p_blue, MxFloat& p_other);
|
2023-12-14 11:50:29 -05:00
|
|
|
void FUN_100a46b0(Matrix4Impl& p_transform);
|
|
|
|
void FUN_100a58f0(Matrix4Impl& p_transform);
|
2023-04-27 22:19:39 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LEGOROI_H
|