raycastingfusionagent.h
来自「3D reconstruction, medical image process」· C头文件 代码 · 共 34 行
H
34 行
#ifndef _RAYCASTINGFUSIONAGENT_H_#define _RAYCASTINGFUSIONAGENT_H_#define FUSION_IMAGELEVEL 0#define FUSION_SAMPLELEVEL 1class RxVRRayCastingAgent;class RxRayCastingFusionAgent : public RxRayCastingCommonAgent{private: int m_iFusionMode; float m_fIntermixingWeight; RxVRRayCastingAgent *m_pFloatAgent; RxVRRayCastingAgent *m_pReferenceAgent; CSize m_szImage; LPBYTE m_pRefImage; LPBYTE m_pFltImage; LPBYTE RenderImageLevel(RxRayCastingCommonInfo *pReferenceInfo, RxRayCastingCommonInfo *pFloatInfo); LPBYTE RenderSampleLevel(RxRayCastingCommonInfo *pReferenceInfo, RxRayCastingCommonInfo *pFloatInfo); LPBYTE RenderNormal();public: RxRayCastingFusionAgent(); ~RxRayCastingFusionAgent(); BOOL SetAgents(RxVRRayCastingAgent *pRef, RxVRRayCastingAgent *pFlt); BOOL InitRendering(RxRayCastingCommonInfo *pReferenceInfo, RxRayCastingCommonInfo *pFloatInfo); LPBYTE Render(RxRayCastingCommonInfo *pReferenceInfo, RxRayCastingCommonInfo *pFloatInfo); LPBYTE ChangeWeight(float fWeight);};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?