[vtkusers] Problems with ComputeOBB - wrong OBB computed
mail at oliwe.com
Thu Aug 14 04:37:57 EDT 2014
Yes, it would be nice to have it in vtkMath.
Variance calculation can easily be integrated in this calculation.
static int vtkMath::GetMean(vtkDataArray *array, int dim, double* mean,
So variance can additionally calculated if variance!=0.
I will have a look on Gerrit tomorrow .
Goodwin Lawlor-2 wrote
> Would methods like:
> static int vtkMath::GetMean3 (vtkDataArray *array, double mean)
> static int vtkMath::GetCovarianceMatrix (vtkDataArray *array, double
> mean, double *covariance)
> be a better way?
View this message in context: http://vtk.1045678.n5.nabble.com/Problems-with-ComputeOBB-wrong-OBB-computed-tp5728174p5728218.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers