VTK 实例63:纹理映射


1 #include <vtkAutoInit.h> 2 VTK_MODULE_INIT(vtkRenderingOpenGL2); 3 VTK_MODULE_INIT(vtkRenderingFreeType); 4 VTK_MODULE_INIT(vtkInteractionStyle); 5 6 #include <vtkSmartPointer.h> 7 #include <vtkRenderWindowInteractor.h> 8 #include <vtkRenderWindoh> 9 #include <vtkRenderer.h> 10 #include <vtkActor.h> 11 #include <vtkPolyDataMapper.h> 12 #include <vtkTransformTextureCoords.h> 13 #include <vtkTexture.h> 14 #include <vtkTextureMapToSphere.h> 15 #include <vtkTextureMapToCylinder.h> 16 #include <vtkBMPReader.h> 17 #include <vtkTexturedSphereSource.h> 18 #include <vtkXMLPolyDataReader.h> 19 20 //测试:../data/masonry.bmp ../data/covtp 21 int main (int argc, char *argv[]) 22



上一篇:ITK 实例4 访问像素数据

下一篇:VTK 实例54:封闭性检测


VTK
Copyright © 2002-2019 k262电脑网 www.k262.cn 皖ICP备2020016292号
温馨提示:部分文章图片数据来源与网络,仅供参考!版权归原作者所有,如有侵权请联系删除!QQ:251442993 热门搜索 网站地图