1, vtkPolyDataMapper: : SetInputConnection () : VTK visual line of the input data interface, the corresponding output data visualization pipeline interface for GetOutPort (); Versions prior to VTK5.0 use setInput () and getOutput () as input and output interfaces. However, after the 7.1 version, it seems that this is not possible. There is no SetInput for the Mapper directly.
2. VTKMarchingCubes requires the input to be VTKImageData. If the input is VTKPolyData, the program will report an error
3, the use of VTKContourFilter can achieve contour extraction.
http://lzchenheng.blog.163.com/blog/static/8383353620108130751672/
4. Sometimes it is necessary to judge the coordinates of the intersection of a straight line and a specific object, which can be achieved with the help of VTKModifiedBSPTree. See Resources for details
http://www.vtk.org/Wiki/VTK/Examples/Cxx/DataStructures/ModifiedBSPTree_IntersectWithLine
5, the measurement of the curve, can be approximate to the length of the broken line measurement; You can also use spline curve fitting and then calculate the length of the spline curve.
According to the description in reference [1], a polyline is composed of many straight line segments, and the length of a polyline can be obtained by adding up the length of each segment.
2. VTKMarchingCubes requires the input to be VTKImageData. If the input is VTKPolyData, the program will report an error
3, the use of VTKContourFilter can achieve contour extraction.
http://lzchenheng.blog.163.com/blog/static/8383353620108130751672/
4. Sometimes it is necessary to judge the coordinates of the intersection of a straight line and a specific object, which can be achieved with the help of VTKModifiedBSPTree. See Resources for details
http://www.vtk.org/Wiki/VTK/Examples/Cxx/DataStructures/ModifiedBSPTree_IntersectWithLine
5, the measurement of the curve, can be approximate to the length of the broken line measurement; You can also use spline curve fitting and then calculate the length of the spline curve.
According to the description in reference [1], a polyline is composed of many straight line segments, and the length of a polyline can be obtained by adding up the length of each segment.
[1]http://vtk.1045678.n5.nabble.com/get-length-of-vtkpolyline-td1228133.html
[2]http://vtk.1045678.n5.nabble.com/how-to-compute-the-length-of-spline-td5729305.html#a5729341
6. Summary of VTK 3D reconstruction
http://blog.csdn.net/q1302182594/article/details/45892995
Read More:
- Experience of learning VTK
- VTK learning notes: visual model
- VTK cultivation 26: basic operation of image_ Three dimensional image slice extraction
- OpenGL learning notes and other learning thinking
- Android learning notes 03: some problems and solutions in the learning process
- Solutions to several VTK compilation errors (vtk5.8 + VS2010)
- VTK series: installation and introduction of VTK
- VTK: VTK error problem set
- Basic use of filter
- Error c2371: ‘xxx’: redefinition; different basic types solutions
- R learning notes (1) — ARIMA model
- HTTP Basic: Access denied
- Basic formula of logarithm operation
- Simple understanding and basic operation of mongodb
- Error in Git operation: http basic: access denied solution
- Git report HTTP Basic: Access denied
- Common problems and basic concept knowledge of OpenGL
- Introduction of Hadoop HDFS and the use of basic client commands
- CentOS Basic XLib functionality test failed!
- git remote: HTTP Basic: Access denied error resolution