自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 OpenGL Drawing Classes

代码名称:A small VRML viewer using OpenGL and MFC. 下载地址: http://www.vccode.com/file_show.php?id=262. By: Pierre Alliez 数据结构分析:1. 针对画图功能,定义基类CObject3D, 实现glDraw接口,并为显示列表定义glBuildList.2.为了动态判断类对象,CObj

2004-12-15 00:20:00 1299 1

原创 Matrix class preparation on Decomposition--(1)

特征值正交分解 A=PDP, where P=inverse(P), D is diagonal matrix of eigenvalues.特点: A^{n} = PD^{n}P;  e^{A}=Pe^{D}PQR分解 A=QR, where R is an upper triangular matrix and Q is an orthogonal matrix. QR 分解常用于

2004-11-30 15:27:00 879

转载 两篇文章

随手记下来,以后看改变自己编程中的思维方法(知难行易) http://blog.csdn.net/robertb9527/archive/2004/10/22/147822.aspxlxgljj的设计模式http://blog.csdn.net/lxgljj/category/53306.aspx

2004-10-27 17:20:00 822

原创 fwd: from jjhou's web

轻松一点的东西> 同一个 class:>> class array {> public:> int a[2];> array update() {> a[0]=a[0]*3;> a[1]=a[1]*3;> return(*this); }> };>> 两个不同的 main:>> main()> {> array n;> n.a[0]=1; n.a[1]=2;> n.update();> n.a

2004-09-26 18:29:00 1428

原创 Vector class (1)

Referrence: Jim Blinn, "Optimizing C++ Vector Expression", in IEEE databaseKenneth I. Joy, "the Vector Data Type", http://graphics.cs.ucdavis.edu/CppNotes/homepage.htmlPART I: on Constructor:"All cl

2004-09-22 00:59:00 1929

原创 Vistor设计模式续:合并操作,分离思考

对于一个researcher来说,希望代码越写越简单。当然,如果我再贪心一点,希望代码能够容易改变,便于算法改进或者发现新问题。所以现在,我对对象的类继承和抽象基类不是很狂热 ,因为改起来不是很方便。除了很成熟的情况,一般我不会主动用抽象基类继承的。另外一个结论,我应该讨厌那些将操作分散到代码的各个角落的做法。一个是过了两个月我就要将代码从头理解了。另外一方面,除了我没人懂那些乱七八糟的逻

2004-08-20 23:20:00 1032 1

原创 Vistor设计模式

从C++的观点来说,有几种代码比较丑陋:有太多的if else,更过分一点,if else判断在循环+跳转中来回折腾n长的类引用,在MFC中很常见。比如:CStatusBar& statusBar = ((CMainFrame *)(AfxGetApp()->m_pMainWnd))->GetStatusBar();C中有指针,C++有模板和继承。如果不用指针,就要用数组或者ind

2004-08-20 22:52:00 1023

原创 Peter's Projective Matlab Function(2)

1. function [T, err] = invpersp(refpts, pts) % X = A/B is the solution to the equation AX = B; size(pts) = [row=2,column>=4].2. function F = fundmatrix(varargin)  %[U,D,V] = svd(A);  F = reshape(V(:

2004-08-12 12:05:00 1218

原创 Peter's Projective Matlab Function

Source code1. function circle(c, r, nsides)  % Do you use “nargin“ and “line(x,y,z)“?2. function plotPoint(p, mark, txt)   % “text(x,y,txt)”3. function t = homoTrans(P,v); % “t = P*v“; “ then no

2004-08-11 21:21:00 1673

原创 fw: 侯捷--MFCLite

汗如雨下寄件者: xioax 收件者: 侯 捷傳送日期: 2002年1月22日 AM 09:36主旨: 關於MFCLite的一些問題﹗候老師﹕您好﹐我是一名剛從浙大畢業的學生﹐也是您的忠實讀者。最近我在閱讀您的MFCLite﹐發現了些問題﹐列舉如下(如有不對的地方﹐還請老師指點)﹕1﹑對象持久性。由於兩年前我曾仔細研究過Turbo Vision的持久性﹐對這個問題比較熟悉。所以一開始我就發

2004-08-10 14:27:00 2505 1

原创 introduction to vxl and Target

The vxl/TargetJr environment is written in ANSI C++ and provides a modular and portable platform for vision algorithms. vxl was created as a `lightweight version of the core functionality of Target

2004-08-06 21:24:00 939

原创 Core Libraries of VxL

1 vcl: The C++ compatibility layer.2 vbl: Basic Templates: Many of these things should have been in the STL.3 vul: Utilities. This contains a number of generally useful C++ classes and functions,

2004-08-06 21:02:00 941

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除