transform3dinfo.cpp

来自「3D reconstruction, medical image process」· C++ 代码 · 共 68 行

CPP
68
字号
// Transform3DInfo.cpp: implementation of the RxTransform3DInfo class.////////////////////////////////////////////////////////////////////////////	Title: Set information related to geometrical transformation////////////////////////////////////////////////////////////////////////////	Author: Helen Hong, 3DMed co. LTD//	138-dong 417-ho Seoul National Univ.//	San 56-1 shinlim-dong kwanak-gu, Seoul, Korea//	Email. hlhong@cglab.snu.ac.kr//	//	Date	: 2002. 9. 6.//	Update	: 2002. 9. 16.////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////	include//////////////////////////////////////////////////////////////////////#include "stdafx.h"#include "Transform3DInfo.h"////////////////////////////////////////////////////////////////////////	define//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////	declaration////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Construction/Destruction//////////////////////////////////////////////////////////////////////RxTransform3DInfo::RxTransform3DInfo(){	Initialize();}RxTransform3DInfo::~RxTransform3DInfo(){}////////////////////////////////////////////////////////////////////////********************************************************************//	Initialize(): initialize geometrical transformation//********************************************************************BOOL RxTransform3DInfo::Initialize(){	xmove	= ymove		= zmove		= 0.0;	xscale	= yscale	= zscale	= 1.0;	xrot	= yrot		= zrot		= 0.0;	xshear  = yshear    = zshear    = 0.0;	rot_c_x	= rot_c_y	= rot_c_z	= 0.0;	viewangle						= 45.0;	return TRUE;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?