[vtkusers] What does the coeff mean????

Randy Heiland heiland at ncsa.uiuc.edu
Fri Apr 13 14:45:54 EDT 2001


On Apr 13,  5:53pm, Shiva Bissoon wrote:
> Subject: [vtkusers] What does the coeff mean????
> Hi all,
> I was working on using this quadratic equation to create an ellipse and I
> wanted to change the ellipse in terms of x, y and z dimensions.
>
> The code
>   vtkQuadric quadric
>      quadric SetCoefficients .5 1 .2 0 .1 0 0 .2 0 0
>
> Does anyone know what the coefficients represent????
> Is it max and min of x,y,z...why are there 10 coefficents???


Read the docs...

http://www.kitware.com/vtkhtml/vtkdata/html/class_vtkquadric.html

rf.
http://www.geom.umn.edu/docs/reference/CRC-formulas/node61.html
vtkQuadric evaluates the quadric function F(x,y,z) = a0*x^2 + a1*y^2 + a2*z^2 +
a3*x*y + a4*y*z + a5*x*z + a6*x + a7*y +
a8*z + a9




More information about the vtkusers mailing list