문제

I have equation of a 3D ellipsoid in the format of Ax^2 + By^2 + Cz^2 + 2Dxy + 2Exz + 2Fyz + 2Gx + 2Hy + 2Iz = 1 and want to plot it in PCL (pint cloud library) or VTK.

any idea?

도움이 되었습니까?

해결책

If you already have a working environment for VTK, you can consider checking this project, that uses an object called vtkEllipsoidSource to draw an ellipsoid. Just compile it, and adjust the parameters to satisfy your equation.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top