Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top