- 博客(113)
- 资源 (5899)
- 收藏
- 关注
原创 VC++ MFC DLL动态链接库编写详解
VC++ MFC DLL动态链接库编写详解 虽然能用DLL实现的功能都可以用COM来替代,但DLL的优点确实不少,它更容易创建。本文将讨论如何利用VC MFC来创建不同类型的DLL,以及如何使用他们。 一、DLL的不同类型 使用VC++可以生成两种类型的DLL:MFC扩展DLL和常规DLL。常规DLL有可以分为动态连接和静态连接。Visual C++还可以
2011-06-30 14:53:00 1842
转载 深入浅出之正则表达式
出处http://dragon.cnblogs.com/archive/2006/05/08/394078.html前言: 半年前我对正则表达式产生了兴趣,在网上查找过不少资料,看过不少的教程,最后在使用一个正则表达式工具RegexBuddy时发现他的教程写的非常好,可以说是我目前见过最好的正则表达式教程。于是一直想把他翻译过来。这个愿望直到这个五一长假才得以实现
2011-06-28 15:55:00 1779
原创 SoWinMaterialEditor attach
/*------------------------------------------------------------ * This example builds a render area in a window supplied by * the application and a Material Editor in its own window. * It atta
2011-06-27 13:22:00 1763
原创 SoWinMaterialEditor
/*------------------------------------------------------------ * This example builds a render area in a window supplied by * the application and a Material Editor in its own window. * It uses
2011-06-27 13:17:00 1882
原创 Overlay Scene Graph
/*------------------------------------------------------------ * This example shows how to use the overlay planes with the * viewer components. By default color 0 is used for the * overlay pl
2011-06-27 13:10:00 2113
原创 创业需要的基本素质
创业需要的基本素质 创业是极具挑战性的社会活动,是对创业者自身智慧、能力、气魄、胆识的全方位考验。一个人要想获得创业者的成功,必须具备基本的创业素质。创业基本素质包括创业意识、创业心理品质、创业精神、竞争意识、创业能力。 (一)强烈的创业意识 要想取得创业的成功,创业者必须具备自我实现、追求成功的强烈的创业意识。强烈的创业意识,
2011-06-25 16:19:00 2437
原创 SoBlinker
/*-------------------------------------------------------------- * Blinker node. * Use a blinker node to flash a neon ad sign on and off *------------------------------------------------------
2011-06-24 17:18:00 1537
原创 SoRotor
/*-------------------------------------------------------------- * Rotor node example. * Read in the tower and vanes of a windmill from a file. * Use a rotor node to rotate the vanes. *--
2011-06-24 17:14:00 1520
原创 SoCaculator SoTimeCounter SoElapsedTimer
/*-------------------------------------------------------------- * A calculator engine computes a closed, planar curve. * The output from the engine is connected to the translation * applied
2011-06-24 17:11:00 1739
原创 SoBoolOperation SoGate SoElapsedTime
/*-------------------------------------------------------------- * Boolean engine. Derived from example 13.5. * The smaller duck stays still while the bigger duck moves, * and starts moving
2011-06-24 17:02:00 1751
原创 SoGate SoElapsedTimer
/*-------------------------------------------------------------- * Gate engine. * Mouse button presses enable and disable a gate engine. * The gate engine controls an elapsed time engine that
2011-06-24 16:47:00 1454
原创 SoTimeCounter SoComposeVec3f
/*-------------------------------------------------------------- * Time counter engine. * The output from an time counter engine is used to control * horizontal and vertical motion of a figur
2011-06-24 16:35:00 1681
原创 SoElapsedTime SoComposeVec3f
/*-------------------------------------------------------------- * Elapsed time engine. * The output from an elapsed time engine is used to control * the translation of the object. The resul
2011-06-24 16:27:00 1705
原创 SoEngine realTime create a realtime clock
/*-------------------------------------------------------------- * Global fields. * A digital clock is implemented by connecting the realTime * global field to a Text3 string. *------------
2011-06-24 16:10:00 1571
原创 SoTimerSensor with rotation animation
/*-------------------------------------------------------------- * Timer sensors. An object is rotated by a timer sensor. * (called "rotatingSensor"). The interval between calls * controls
2011-06-24 15:48:00 1863
原创 SoAlarmSensor
/*-------------------------------------------------------------- * Alarm sensor that raises a flag after 10 minutes *------------------------------------------------------------*/#include #in
2011-06-24 15:36:00 1476
原创 SoNodeSensor getTriggerField getTriggerNode
/*-------------------------------------------------------------- * Using getTriggerNode/getTriggerField methods of the data * sensor. *---------------------------------------------------------
2011-06-24 15:28:00 1491
原创 SoFieldSensor with camera position
/*-------------------------------------------------------------- * Sense changes to a viewers cameras position. *------------------------------------------------------------*/#include #incl
2011-06-24 15:21:00 1586
原创 SoInput read with buffer data
/*-------------------------------------------------------------- * Example of creatinge a scene graph by reading from a string. * Create a dodecahedron, made of an IndexedFaceSet. *---------
2011-06-24 15:10:00 1574
原创 SoInput Read file
/*----------------------------------------------------------- * Example of reading from a file. * Read a file given a filename and return a separator * containing all of the file. Return NUL
2011-06-24 15:09:00 1496
原创 SoSelection pickFilterCB SoShapeKit
/*------------------------------------------------------------- * This example demonstrates the use of the pick filter * callback to always select nodekits. This makes it especially * easy to
2011-06-24 14:48:00 1386
原创 SoSlection Pick Filter Manipulator
/*------------------------------------------------------------- * This example demonstrates the use of the pick filter * callback to pick through manipulators. * * The scene graph has sever
2011-06-24 14:42:00 1453
原创 SoSelection setPickFilterCallback
/*------------------------------------------------------------- * This example demonstrates the use of the pick filter * callback to implement a top level selection policy. * That is, always
2011-06-24 11:27:00 1734
原创 SlectionCB SoSelection SoPickStyle
/*------------------------------------------------------------- * The scene graph has a sphere and a text 3D object. * A selection node is placed at the top of the scene graph. * When an ob
2011-06-24 11:13:00 1476
原创 SoWinRenderArea setEventCallback
/*------------------------------------------------------------- * This demonstrates using SoWinRenderArea::setEventCallback(). * which causes events to be sent directly to the application * w
2011-06-24 11:00:00 1935
原创 SoSelection SoEventCallback
/*------------------------------------------------------------ * The scene graph has 4 objects which may be * selected by picking with the left mouse button * (use shift key to extend the sel
2011-06-24 10:46:00 1715
原创 SoCallbackAction
/*----------------------------------------------------------- * Using a callback for generated primitives. * A simple scene with a sphere is created. * A callback is used to write out the tri
2011-06-24 09:42:00 1451
原创 SoRayPickAction SoEventCallback
/*------------------------------------------------------------ * Example of setting up pick actions and using the pick path. * A couple of objects are displayed. The program catches * mouse
2011-06-24 09:19:00 1448
原创 SoInput, SoOutput, SoWriteAction, SoSearchAction使用
/*------------------------------------------------------------ * Search Action example. * Read in a scene from a file. * Search through the scene looking for a light. * If none exists, add
2011-06-23 18:57:00 1843
原创 SoOffscreenRender纹理显示
/*----------------------------------------------------------- * Using the offscreen renderer to generate a texture map. * Generate simple scene and grab the image to use as * a texture map.
2011-06-23 17:42:00 1753
原创 剪裁NURBS曲面
/*---------------------------------------------------------------- * This example creates and displays a Bezier Surface * with trim curves. The surface is identical to the * surface in examp
2011-06-22 16:47:00 2091
原创 NURBS曲面显示Bezier曲面
/*-------------------------------------------------------- * This example creates and displays a Bezier surface. * The surface is order 4 with 16 control points and U and V * knot vectors of
2011-06-22 16:35:00 1893
原创 均匀NURBS曲线显示
/*-------------------------------------------------------- * This example creates and displays a Uniform B-Spline curve * that passes through the end control points. * The curve is order 4 wi
2011-06-22 16:23:00 1666
原创 NURBS曲线显示
/*-------------------------------------------------------- * This example creates and displays a B-Spline curve. * The curve is order 3 with 7 control points and a knot * vector of length 10.
2011-06-22 16:22:00 1733
原创 SoTextureCoordinatePlane使用
Inventor包含两种纹理坐标函数:SoTextureCoordiantePlane: 通过一个平面投影纹理贴图SoTextureCoordinateEnvironment: 指定物体表面看上去他们所处环境的反射图像(也称反射映射或环境映射)Inventor可以使用SoTextureCoordianteDefault节点使用缺省的纹理坐标,即使用SoTextu
2011-06-22 15:23:00 1770
原创 VRML文件操作
// Leaf.cpp : Defines the entry point for the console application. // #include "stdAfx.h" #define graphfile "t3.WRL" //读入的VRML文件名称 #define texturefile "bigLeaf1.JPG" //
2011-06-22 14:47:00 2815 2
原创 Basic Ope Inventor
1、大数计算引起的一个问题如果scene graph中有距离原点(0,0,0)比较大的位置,则矩阵计算引入的误差可能就比较大,由此带来的常见现象是:平移scene graph有晃动,甚至很厉害,而本不该晃动(当camera靠近观察scene graph中的某个node时更明显);场景中的polygon面上有白光闪烁等等。解决此类问题的一个可行做法是对原始(大)数据做一个线性映射,映射到一个靠近原点
2011-06-22 11:33:00 1887
转载 机械电子视频演示--优美的Project Video
http://blog.163.com/zhangmwen@126/blog/static/11343750220098983434876/
2011-06-22 11:15:00 1339
转载 open inventor 映射实例
#include #include #include #include #include #include #include #include #include #include #include #include int main(int, char **argv){ HWND myWindow = SoWin::init(argv[0]); if(myWindow == NULL) e
2011-06-22 10:49:00 1785
转载 SoTexture2Transform的使用
SoTexture2Transform表现的是纹理如何贴到形体。对于面,(1)如果不使用该对象,同时不指定纹理坐标, 默认的是计算形体的box,以最大边为ST(1,1),自动计算纹理坐标,贴纹理,产生拉伸效果。(2)使用该对象,同时不指定纹理坐标, 如指定scaleFactor(20,20),即复制20*20个,自动计算纹理坐标,贴纹理,产生平铺效果。 SoTexture2
2011-06-22 10:42:00 1447
qt-win-noncommercial-msvc-3.2.1
2014-09-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人