-
Mir2 Actor.pas
if (IsFace) and (FaceIndex > -1) then
begin
d := aFrmMain.WFaceimg.Images[FaceIndex * 10 + (FaceFram) mod 8]
/// if HorseSurface<>nil then
// dSurface.draw (dx+shiftx, dy + hpy + ShiftY-60, d.ClientRect, d, TRUE)
// else
if d <> nil then
begin
if HorseSurface <> nil then
dsurface.draw(SayX - d.Width div 2, dy + hpy + ShiftY - 60,
d.ClientRect, d, True)
else
dsurface.draw(SayX - d.Width div 2, dy + hpy + ShiftY - 50,
d.ClientRect, d, True)
end
end
end
標(biāo)簽:
FaceIndex
aFrmMain
WFaceimg
IsFace
上傳時(shí)間:
2016-02-21
上傳用戶:ruixue198909
-
PlotSphereIntensity(azimuth, elevation)
PlotSphereIntensity(azimuth, elevation, intensity)
h = PlotSphereIntensity(...)
Plots the intensity (as color) of a number of points on a unit sphere.
Input:
azimuth (phi), in degrees
elevation (theta), in degrees
intensity (optional, if not provided, a green sphere is produced)
All inputs must be vectors or matrices of the same size. Data does not have to be evenly spaced. When there aren t enough points to draw a smooth sphere, additional points (with color) are interpolated.
Output:
h - a handle to the patch object
The axes are also plotted:
positive x axis is red
positive y axis is green
positive z axis is blue
標(biāo)簽:
PlotSphereIntensity
elevation
azimuth
intensity
上傳時(shí)間:
2014-01-15
上傳用戶:ruan2570406
-
I made a lot of changed on this object,such as *
// 1.Encapsulates all code in one userobjet,since PB does not *
// support "Address of Function" , so we can not set new *
// WndProc, just makes the object more easy to use. *
// 2.Uses structure array instead of Datastore *
// 3.Calc width of menuitem at runtime(MEASUREITEM) *
// 4.draw disabled status
標(biāo)簽:
Encapsulates
userobjet
changed
object
上傳時(shí)間:
2014-01-14
上傳用戶:lx9076
-
a sample WDM stream class video capture driver that supports two IEEE 1394 digital cameras.
The same driver may be able to support other digital cameras that conform to 1394-based Digital Camera Specification from 1394 Trade Association.
Digital camera supported by dcam.sys is a data source that produces digital image data without any other input connection. It manifests itself in a DirectShow graph as a WDM Streaming Capture Device and as a capture filter that has output capture stream supporting image sizes of 320x240 with a UYVY color space. Its de-compressor, Msyuv.dll, is part of the OS delivery, and it can convert image data format from UYVY to RGB16, RGB8, or to a Direct draw surface if the video card supports UYVY format.
標(biāo)簽:
supports
capture
cameras
digital
上傳時(shí)間:
2014-01-13
上傳用戶:yph853211
-
操作說明:
1. 雙擊RobotView.exe,打開應(yīng)用程序;
2. 菜單中draw->Block,出現(xiàn)一個(gè)對話框,從鍵盤輸入具體值,然后在左邊藍(lán)色區(qū)域任意位置點(diǎn)擊,出現(xiàn)紅色的矩形,即設(shè)置好障礙物位置,此時(shí)右上方區(qū)域中相應(yīng)位置的值從0變?yōu)?;
3. 菜單中draw->RobotPoint,然后在左邊藍(lán)色區(qū)域任意位置點(diǎn)擊,出現(xiàn)綠色的圓,即設(shè)置好機(jī)器人目前位置;
4. 菜單中draw->GoalPoint,然后在左邊藍(lán)色區(qū)域任意位置點(diǎn)擊,出現(xiàn)黃色的圓,即設(shè)置好目的地位置;
5. 菜單中,Edit->Begin,會(huì)在右下方會(huì)出現(xiàn)一條從機(jī)器人目前位置到目標(biāo)點(diǎn)的無碰路徑。
標(biāo)簽:
RobotView
exe
操作說明
上傳時(shí)間:
2016-12-11
上傳用戶:TF2015
-
symbian 第二版,使用draw函數(shù)的一個(gè)例子,用于圖形繪制很有用。
標(biāo)簽:
symbian
上傳時(shí)間:
2017-02-16
上傳用戶:hphh
-
Managing Humans is a selection of the best essays from Michael Lopps web site, Rands In Repose. drawing on Lopp s management experiences at Apple, Netscape, Symantec, and Borland, this book is full of stories based on companies in the Silicon Valley where people have been known to yell at each other. It is a place full of dysfunctional bright people who are in an incredible hurry to find the next big thing so they can strike it rich and then do it all over again. Among these people are managers, a strange breed of people who through a mystical organizational ritual have been given power over your future and your bank account. Whether you re an aspiring manager, a current manager, or just wondering what the heck a manager does all day, there is a story in this book that will speak to you. You will learn:
* What to do when people start yelling at each other
* How to perform a diving save when the best engineer insists on resigning
* How to say "No" to the person who signs your paycheck
標(biāo)簽:
selection
Managing
Michael
Humans
上傳時(shí)間:
2014-11-28
上傳用戶:1427796291
-
Description
Scientific calculator. Allows to perform caclulation with high precicion and implements most populatr mathematical functions: sin, cos, tan, asin, acon, atan, exp, log, sqr, floor and ceil. Also it make it possible to define your own function, store results in variables and use variable sin expressions. Calculator store al formuls you have entered. Plot function can be used to draw graph of function with single argument.
More detailed description of calculator is here.
標(biāo)簽:
Description
caclulation
Scientific
calculator
上傳時(shí)間:
2014-01-25
上傳用戶:familiarsmile
-
Matlab 畫三維立體圖形
The aim of geom3d library is to handle and visualize 3D geometric primitives
such as points, lines, planes, polyhedra... It provides low-level functions
for manipulating 3D geometric primitives, making easier the development of more
complex geometric algorithms.
Some features of the library are:
- creation of various shapes (3D points, 3D lines, planes, polyhedra...)
through an intuitive syntax.
Ex: createPlane(p1, p2, p3) to create a plane through 3 points.
- derivation of new shapes: intersection between 2 planes, intersection between
a plane and a line, between a sphere and a line...
- functions for 3D polygons and polyhedra. Polyhedra use classical vertex-faces
arrays (face array contain indices of vertices), and support faces with any
number of vertices. Some basic models are provided (createOctaedron,
createCubeoctaedron...), as well as some computation (like faceNormal or
centroid)
- manipulation of planar transformation. Ex.:
ROT = createRotationOx(THETA);
P2 = transformPoint3d(P1, ROT);
- direct drawing of shapes with specialized functions. Clipping is performed
automatically for infinite shapes such as lines or rays. Ex:
drawPoint3d([50 50 25; 20 70 10], 'ro'); % draw some points
drawLine3d([X0 Y0 Z0 DX DY DZ]); % clip and draw straight line
Some functions require the geom2d package.
Additional help is provided in geom3d/Contents.m file, as well as summary files
like 'points3d.m' or 'lines3d.m'.
標(biāo)簽:
Matlab 畫三維立體圖形
上傳時(shí)間:
2015-11-02
上傳用戶:A1321
-
Evolutionary Computation (EC) deals with problem solving, optimization, and
machine learning techniques inspired by principles of natural evolution and ge-
netics. Just from this basic definition, it is clear that one of the main features of
the research community involved in the study of its theory and in its applications
is multidisciplinarity. For this reason, EC has been able to draw the attention of
an ever-increasing number of researchers and practitioners in several fields.
標(biāo)簽:
Applications
Evolutionary
Computing
of
上傳時(shí)間:
2020-05-26
上傳用戶:shancjb