![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
计算机图形学
文章平均质量分 52
menjiawan
从业于医疗行业,专注于计算机图形与图像处理。
展开
-
基于OpenCASCADE的CAD平台分析报告
http://blog.sina.com.cn/s/blog_ba1921a0010168bu.htmlOpen CASCADE (简称OCC)是一开源的几何造型引擎。基于该建模引擎发展了若干CAD/CAE/CAM软件,如国外的FreeCAD、HeeksCAD,国内的AnyCAD。本技术报告主要分析Open CASCADE的在开源软件中的应用现状以及利用开源软件在861项目应用的可转载 2015-03-25 16:31:09 · 1665 阅读 · 0 评论 -
体绘制算法
三维绘制包括面绘制和体绘制。体绘制可以提供最接近人眼视觉的绘制效果。体绘制的方法包括:RayCastingSplattingShear WarpTexture based volume rendering 其中RayCasting是最常用的方法之一。包括四个步骤:Ray casting, Sampling, Shading and Composition。具体的描述如下:原创 2015-06-12 13:48:17 · 7092 阅读 · 0 评论 -
半边数据结构
A common way to represent a polygon mesh is a shared list of vertices and a list of faces storing pointers for its vertices. This representation is both convenient and efficient for many purposes, h转载 2015-04-28 21:29:34 · 699 阅读 · 0 评论 -
VTK显示流程
VTK中最重要的是pipeline的结构,其主要的结构如下: VTK中显示过程中会设计到五个类: VTKMapper, VTKActor, VTKRenderer, VT原创 2015-04-27 16:27:50 · 1655 阅读 · 1 评论 -
VTK之交互方式(interactor style)
VTK提供了多种交互方式,最常用的包括joystick和trackball,并且可以分别对actor和camera进行操作。 在VTK中,可以通过集成已有的交互方式类,然后添加自己的功能,则可以完成在触发响应时,完成响应的操作。 以下是自定义交互方式类的一个实例。该实例实现的是对鼠标点击的物体进行高亮显示。 #include #include #include原创 2015-04-27 17:27:33 · 13603 阅读 · 0 评论 -
VTK boolean operation 使用方法
在使用VTK的boolean operation时,原创 2015-04-21 13:58:36 · 3958 阅读 · 1 评论 -
QVTKWidget使用方法
在使用VTK显示的过程中,通常会使用QT来进行界面设计。这里通常使用QVTKWidget将VTK的渲染窗口显示到QT的组件中。 QVTKWidget的使用有几种方法: 1 这里将QVTKWidget的RenderWindow中的renderer设置为VTK中的renderer即可。 针对QT界面类中,就可以添加如下的代码: // VTK Renderer原创 2015-04-22 10:47:59 · 22090 阅读 · 10 评论 -
VTK数据格式
VTK的数据格式包括:Data Types:polygonal data (points, lines, polygons, triangle strips)images and volumes (i.e., structured point datasets)structured grids (e.g., finite differen原创 2015-04-09 11:14:21 · 6266 阅读 · 0 评论 -
VTKBoundaryEdges的四种情况分析
VTKBoundaryEdges类可以提取四种边界,分别为boundary edge, feature edge, non-manifold edge, manifold edge。通过这四种情况,基本上可以提取在曲面上任意的边界信息。 These edges are either 这些边界包括几种情况:1) boundary (used by one polygon) or a li原创 2015-04-23 11:02:55 · 2111 阅读 · 1 评论 -
VTK中创建圆柱体
1 使用vtkCylinderSource来创建。vtkCylinderSource可以创建沿着世界坐标系Y轴方向的圆柱体,但是不能任意设置圆柱体长轴的方向。vtkSmartPointer cylinder = vtkSmartPointer::New();cylinder->SetHeight(20.0);cylinder->SetCenter(origin[0] - 5.0 * nor原创 2015-04-23 10:05:02 · 3299 阅读 · 0 评论 -
求解二维和三维法向量的方法
Here's an example using an analytic curve of y = x^2x = 0:0.1:1;y = x.*x;dy = gradient(y);dx = gradient(x);quiver(x,y,-dy,dx)hold on; plot( x, y)which gives:转载 2015-01-14 18:33:36 · 7497 阅读 · 0 评论 -
Hausdorff distance between mesh and its symmertic one.
转载自:http://www.cnblogs.com/jast/p/4225740.htmlWhen talking about distances, we usually mean the shortest : for instance, if a point X is said to be at distance D of a polygon P, we generally ass转载 2015-03-24 11:40:24 · 1282 阅读 · 0 评论 -
三维模型之间距离测量相关资源
1 Measure the distance between two meshes using meshlab: http://cc.bingj.com/cache.aspx?q=distance+between+two+mesh&d=4772100937157936&mkt=zh-CN&setlang=zh-CN&w=HawJyY7gq5R6GcgMl9cdQOFi-qVBf3d5原创 2015-03-24 11:44:28 · 1525 阅读 · 0 评论 -
OpenCascade 6.8.0 和 VS2010联合编译
Open CASCADE (简称OCC)是为特定领域快速开发程序而设计的面向对象的C++类库,可以用来开发二维和三维的通用几何造型的计算机辅助设计程序CAD(Computer Aided Design),计算机辅助制造程序CAM(Computer Aided Manufacturing)和计算机辅助分析程序CAA(Computer Aided Analysis);仿真程序和绘图程序。OCC库可以明原创 2015-03-26 11:29:47 · 3756 阅读 · 0 评论 -
三维表面的降噪处理 (surface denoising)
查找到的目前已经有的研究包括:1 Jianbo Peng, Vasily Strela,Denis Zorin. A Simple Algorithm for Surface Denoising2 Xianfang Sun, Paul L. Rosin,Ralph R. Martin, and Frank C. Langbein. Fast and Ef原创 2015-03-04 10:10:16 · 1611 阅读 · 0 评论 -
三维空间中圆的参数方程
http://www.mathchina.net/dvbbs/dispbbs.asp?boardid=3&Id=471转载 2015-01-22 16:37:36 · 25735 阅读 · 0 评论 -
三角面片剖分
1 加州大学伯克利分校的代码:http://www.cs.cmu.edu/~quake/triangle.html2 matlab中进行三维绘制的方法:(1)axis equal trisurf(t,p(:,1),p(:,2),p(:,3),'facecolor','c','edgecolor','b')%plot della superficie t原创 2015-02-10 10:22:42 · 2708 阅读 · 0 评论 -
vtk事件响应机制
vtk中大致有三种时间响应机制:command/observer模式之callback functionvtk中的command/observer模式是最常用的,也是各种处理方式的基础。这里首先介绍如何使用callback function的方法:void KeyPressCallbackFunction ( vtkObject* caller, long unsigned i原创 2015-07-22 22:01:45 · 5348 阅读 · 1 评论