文件名称:RubixCube_Br1
- 所属分类:
- 图形图像处理(光照,映射..)
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 378kb
- 下载次数:
- 0次
- 提 供 者:
- Mug****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Rubix Cube
The graphic part is ensured by the CCubes class and is helped of the classes CMatrix, CSide, CVertex and CVertexList. This gives an example of the functions to be performed to ensure a vision in prospect 3D or in flat unrolled. Rubik s cubic can be moved or deformed by using orders or of the mouse with a surprising fluidity. The Cube state running is stored in a table of 27 elements of the type t_Mask representative in a compacted way the relative position and the orientation of the 27 elementary cubies. Moreover, two 3*3 matrices, external with the CCubes class, lay down the general orientation of the Cube and the relative orientation of the part moving. At the end of a deformation, the table of the 27 elementary cubies is updated and the deformation matrix set to zero.
The graphic part is ensured by the CCubes class and is helped of the classes CMatrix, CSide, CVertex and CVertexList. This gives an example of the functions to be performed to ensure a vision in prospect 3D or in flat unrolled. Rubik s cubic can be moved or deformed by using orders or of the mouse with a surprising fluidity. The Cube state running is stored in a table of 27 elements of the type t_Mask representative in a compacted way the relative position and the orientation of the 27 elementary cubies. Moreover, two 3*3 matrices, external with the CCubes class, lay down the general orientation of the Cube and the relative orientation of the part moving. At the end of a deformation, the table of the 27 elementary cubies is updated and the deformation matrix set to zero.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ChildView.cpp
ChildView.h
Cubes.cpp
Cubes.h
CubeUtilities.cpp
CubeUtilities.h
Debug
.....\Arrow01.jpg
.....\Arrow02.jpg
.....\Avertis.jpg
DiagCmd.cpp
DiagCmd.h
DiagCtrl.cpp
DiagCtrl.h
DiagExtract.cpp
DiagExtract.h
DiagInp.cpp
DiagInp.h
DiagView.cpp
DiagView.h
Example.txt
Extract.cpp
Extract.h
GDIplus
.......\Includes
.......\........\GdiPlus.h
.......\........\GdiPlusBase.h
.......\........\GdiPlusBitmap.h
.......\........\GdiPlusBrush.h
.......\........\GdiPlusCachedBitmap.h
.......\........\GdiPlusColor.h
.......\........\GdiPlusColorMatrix.h
.......\........\GdiPlusEnums.h
.......\........\GdiPlusFlat.h
.......\........\GdiPlusFont.h
.......\........\GdiPlusFontCollection.h
.......\........\GdiPlusFontFamily.h
.......\........\GdiPlusGpStubs.h
.......\........\GdiPlusGraphics.h
.......\........\GdiPlusHeaders.h
.......\........\GdiPlusimageAttributes.h
.......\........\GdiPlusImageCodec.h
.......\........\GdiPlusImaging.h
.......\........\GdiPlusInit.h
.......\........\GdiPlusLineCaps.h
.......\........\GdiPlusMatrix.h
.......\........\GdiPlusMem.h
.......\........\GdiPlusMetaFile.h
.......\........\GdiPlusMetaHeader.h
.......\........\GdiPlusPath.h
.......\........\GdiPlusPen.h
.......\........\GdiPlusPixelFormats.h
.......\........\GdiPlusRegion.h
.......\........\GdiPlusStringFormat.h
.......\........\GdiPlusTypes.h
.......\Lib
.......\...\GdiPlus.lib
.......\license.txt
.......\redist.txt
GdiPlusUtil.cpp
GdiPlusUtil.h
MainFrm.cpp
MainFrm.h
ReadMe.txt
Release
.......\Arrow01.jpg
.......\Arrow02.jpg
.......\Avertis.jpg
RES
...\RubixCube.ico
...\RubixCube.rc2
...\RubixCube01.bmp
...\RubixCube_01.ico
...\sample.avi
...\Toolbar.bmp
resource.h
resource.hm
RubixCube.aps
RubixCube.clw
RubixCube.cpp
RubixCube.dsp
RubixCube.dsw
RubixCube.h
RubixCube.opt
RubixCube.plg
RubixCube.rc
Solver
......\Combinat.cpp
......\Combinat.h
......\Cube.cpp
......\Cube.h
......\Facecube.cpp
......\Facecube.h
......\Kcube.cpp
......\Kcube.h
......\Kocicube.cpp
......\Kocicube.h
......\Kocimovt.h
......\Movetabl.cpp
......\Movetabl.h
ChildView.h
Cubes.cpp
Cubes.h
CubeUtilities.cpp
CubeUtilities.h
Debug
.....\Arrow01.jpg
.....\Arrow02.jpg
.....\Avertis.jpg
DiagCmd.cpp
DiagCmd.h
DiagCtrl.cpp
DiagCtrl.h
DiagExtract.cpp
DiagExtract.h
DiagInp.cpp
DiagInp.h
DiagView.cpp
DiagView.h
Example.txt
Extract.cpp
Extract.h
GDIplus
.......\Includes
.......\........\GdiPlus.h
.......\........\GdiPlusBase.h
.......\........\GdiPlusBitmap.h
.......\........\GdiPlusBrush.h
.......\........\GdiPlusCachedBitmap.h
.......\........\GdiPlusColor.h
.......\........\GdiPlusColorMatrix.h
.......\........\GdiPlusEnums.h
.......\........\GdiPlusFlat.h
.......\........\GdiPlusFont.h
.......\........\GdiPlusFontCollection.h
.......\........\GdiPlusFontFamily.h
.......\........\GdiPlusGpStubs.h
.......\........\GdiPlusGraphics.h
.......\........\GdiPlusHeaders.h
.......\........\GdiPlusimageAttributes.h
.......\........\GdiPlusImageCodec.h
.......\........\GdiPlusImaging.h
.......\........\GdiPlusInit.h
.......\........\GdiPlusLineCaps.h
.......\........\GdiPlusMatrix.h
.......\........\GdiPlusMem.h
.......\........\GdiPlusMetaFile.h
.......\........\GdiPlusMetaHeader.h
.......\........\GdiPlusPath.h
.......\........\GdiPlusPen.h
.......\........\GdiPlusPixelFormats.h
.......\........\GdiPlusRegion.h
.......\........\GdiPlusStringFormat.h
.......\........\GdiPlusTypes.h
.......\Lib
.......\...\GdiPlus.lib
.......\license.txt
.......\redist.txt
GdiPlusUtil.cpp
GdiPlusUtil.h
MainFrm.cpp
MainFrm.h
ReadMe.txt
Release
.......\Arrow01.jpg
.......\Arrow02.jpg
.......\Avertis.jpg
RES
...\RubixCube.ico
...\RubixCube.rc2
...\RubixCube01.bmp
...\RubixCube_01.ico
...\sample.avi
...\Toolbar.bmp
resource.h
resource.hm
RubixCube.aps
RubixCube.clw
RubixCube.cpp
RubixCube.dsp
RubixCube.dsw
RubixCube.h
RubixCube.opt
RubixCube.plg
RubixCube.rc
Solver
......\Combinat.cpp
......\Combinat.h
......\Cube.cpp
......\Cube.h
......\Facecube.cpp
......\Facecube.h
......\Kcube.cpp
......\Kcube.h
......\Kocicube.cpp
......\Kocicube.h
......\Kocimovt.h
......\Movetabl.cpp
......\Movetabl.h