📄 mpragent.h
字号:
// RxMPRAgent.h: interface for the RxMPRAgent class.////////////////////////////////////////////////////////////////////////#if !defined(_RXMPRAGENT_H_)#define _RXMPRAGENT_H_#if _MSC_VER > 1000#pragma once#endif // _MSC_VER > 1000#include "Primitive.h"class RxMPRAgent {public: enum MPRVIEW {MPR_AXIAL, MPR_CORONAL, MPR_SAGITTAL, MPR_VIEW};private: CSize m_szOriginalImg; // resample size double m_fXIndex, m_fYIndex, m_fZIndex; // Index in volume space int *m_piSliceTable; double *m_pfWeightTable; int m_iRFCNum; // CCurveLine m_curveReformatLine; // CFreedrawLine m_freedrawReformatLine; // RxTool *m_pTool; // pointer to curve/freedraw reformat linepublic: int m_iVolX, m_iVolY, m_iVolZ; // Volume sizepublic: void Reset(); void SetVolumeInfo(int iVolX, int iVolY, int iVolZ); void GetVolumeDimension(int& iVolX, int& iVolY, int& iVolZ); void SetVolIndex(RxPoint3D<double> vpt); double GetSagittalIndex() const {return m_fXIndex;} double GetCoronalIndex() const {return m_fYIndex;} double GetAxialIndex() const {return m_fZIndex;} void SetSagittalIndex(double fIndex); void SetCoronalIndex(double fIndex); void SetAxialIndex(double fIndex); unsigned short* GetSagittalHighResImage(); unsigned short* GetCoronalHighResImage(); unsigned short* GetAxialHighResImage(); BOOL MakeReferenceTable(); RxMPRAgent() {} RxMPRAgent(int iState); virtual ~RxMPRAgent();};#endif // !defined(_RXMPRAGENT_H_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -