Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top