资源简介
很好的人体跟踪程序,采用微软的visual c++ 6.0实现。另附有两个视频,可供检测程序跟踪效果

代码片段和文件信息
// AnimateIcon.cpp : implementation of the CAnimateIcon class
// written by Rajesh Parikh (MCSD)
// email : rparikh@usa.net
// Not protected by any copyright use it freely
//
/////////////////////////////////////////////////////////////////////////////
#include “stdafx.h“
#include “AnimateIcon.h“
// default constructor
CAnimateIcon::CAnimateIcon()
{
m_iImageCounter = -1;
m_iMaxNoOfImages = -99;
m_imgList.m_hImageList = NULL;
}
// default do nothing destructor
CAnimateIcon::~CAnimateIcon()
{
if (hPrevIcon)
DestroyIcon(hPrevIcon);
}
// This is the first function which needs to be called in order
// to fill the image list
// Parameters :
// ------------
// int IDOfImgListResource - pass the Resource ID of a toolbar resource
// containing the image list
// int numberOfImages - Number of images (16x16) in the toolbar resource
// transparentColor - RGB value of color you want to be transparent
BOOL CAnimateIcon::SetImageList(int IDOfImgListResourceint numberOfImagesCOLORREF transparentColor)
{
if(numberOfImages <= 0)
return FALSE;
m_iMaxNoOfImages = numberOfImages;
VERIFY(m_imgList.Create(IDOfImgListResource161transparentColor));
return TRUE;
}
// This function needs to be called repetatively to show next image
// Parameters :
// ------------
// NONE
BOOL CAnimateIcon::ShowNextImage()
{
if(m_imgList.m_hImageList == NULL)
return FALSE;
m_iImageCounter++;
if(m_iImageCounter >= m_iMaxNoOfImages)
m_iImageCounter =0;
// extract the icon from imagelist
hIcon = m_imgList.ExtractIcon(m_iImageCounter);
// send the message to frame to update icon
HICON hPrevIcon = (HICON) AfxGetMainWnd()->SendMessage(WM_SETICONTRUE(LPARAM)hIcon);
// Free the previous icon resource
if (hPrevIcon)
DestroyIcon(hPrevIcon);
return TRUE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 111670 2003-05-21 09:50 人体跟踪源代码\Fn000.bmp
文件 778752 2003-07-12 13:56 人体跟踪源代码\p8.avi
..A.SH. 4608 2009-03-14 11:17 人体跟踪源代码\Thumbs.db
文件 1880 2001-10-15 17:01 人体跟踪源代码\人体跟踪系统源代码\AnimateIcon.cpp
文件 809 2001-11-08 22:19 人体跟踪源代码\人体跟踪系统源代码\AnimateIcon.h
文件 7416 2004-05-15 21:50 人体跟踪源代码\人体跟踪系统源代码\AviToolbar.cpp
文件 1732 2002-01-15 21:23 人体跟踪源代码\人体跟踪系统源代码\AviToolbar.h
文件 21798 2002-03-19 15:13 人体跟踪源代码\人体跟踪系统源代码\BtnST.cpp
文件 6264 2002-01-16 20:20 人体跟踪源代码\人体跟踪系统源代码\BtnST.h
文件 225280 2002-10-23 14:03 人体跟踪源代码\人体跟踪系统源代码\CJ60Lib.dll
文件 4530 2004-04-29 12:34 人体跟踪源代码\人体跟踪系统源代码\CJ60Lib.h
文件 219752 2002-10-23 14:03 人体跟踪源代码\人体跟踪系统源代码\CJ60Lib.lib
文件 450612 2002-10-23 14:03 人体跟踪源代码\人体跟踪系统源代码\CJ60Libd.dll
文件 221616 2002-10-23 14:03 人体跟踪源代码\人体跟踪系统源代码\CJ60Libd.lib
文件 3038 1999-01-23 17:13 人体跟踪源代码\人体跟踪系统源代码\CJCaption.h
文件 6152 1999-01-23 17:13 人体跟踪源代码\人体跟踪系统源代码\CJControlBar.h
文件 3427 1999-01-23 17:14 人体跟踪源代码\人体跟踪系统源代码\CJDockBar.h
文件 3161 1999-01-23 17:28 人体跟踪源代码\人体跟踪系统源代码\CJDockContext.h
文件 3620 1999-01-23 17:28 人体跟踪源代码\人体跟踪系统源代码\CJExplorerBar.h
文件 3802 1999-01-23 17:28 人体跟踪源代码\人体跟踪系统源代码\CJFlatButton.h
文件 4427 1999-01-23 18:37 人体跟踪源代码\人体跟踪系统源代码\CJFlatComboBox.h
文件 3513 1999-01-23 17:17 人体跟踪源代码\人体跟踪系统源代码\CJFlatHeaderCtrl.h
文件 3773 1999-01-23 17:17 人体跟踪源代码\人体跟踪系统源代码\CJfr
文件 3984 1999-01-23 17:18 人体跟踪源代码\人体跟踪系统源代码\CJListCtrl.h
文件 4001 1999-01-23 17:18 人体跟踪源代码\人体跟踪系统源代码\CJListView.h
文件 3809 1999-01-23 17:18 人体跟踪源代码\人体跟踪系统源代码\CJMDif
文件 3301 1999-01-23 17:19 人体跟踪源代码\人体跟踪系统源代码\CJMiniDockfr
文件 4584 1999-01-23 17:19 人体跟踪源代码\人体跟踪系统源代码\CJOutlookBar.h
文件 4977 1999-01-23 17:20 人体跟踪源代码\人体跟踪系统源代码\CJPagerCtrl.h
文件 3800 1999-01-23 17:20 人体跟踪源代码\人体跟踪系统源代码\CJSearchEdit.h
............此处省略214个文件信息
相关资源
- C++中头文件与源文件的作用详解
- C++多线程网络编程Socket
- VC++ 多线程文件读写操作
- 利用C++哈希表的方法实现电话号码查
- 移木块游戏,可以自编自玩,vc6.0编写
- C++纯文字DOS超小RPG游戏
- VC++MFC小游戏实例教程(实例)+MFC类库
- 连铸温度场计算程序(C++)
- 6自由度机器人运动学正反解C++程序
- Em算法(使用C++编写)
- libstdc++-4.4.7-4.el6.i686.rpm
- VC++实现CMD命令执行与获得返回信息
- 白话C++(全)
- C++标准库第1、2
- 大数类c++大数类
- C++语言编写串口调试助手
- c++素数筛选法
- C++ mqtt 用法
- 商品库存管理系统 C++ MFC
- c++ 多功能计算器
- C++17 In Detail
- 嵌入式QtC++编程课件
- 颜色识别形状识别STM103嵌入式代码
- c++ 邮件多附件群发
- c++ 透明代理(hookproxy)
- mfc 调用redis
- FTP客户端源码(c++)
- c++ 画图(14Qt-XPS)
- c++多边形交并差运算
- VC++基于OpenGL模拟的一个3维空间模型
评论
共有 条评论