[vtkusers] subID
Guiseppe DiIullio
lost_bits1110 at hotmail.com
Fri Feb 20 21:46:28 EST 2004
but now if i do the following:
int subID = SetOfQuadCells->GetCell(cellNum)->GetParametricCenter(
paraCoords );
SetOfQuadCells->GetCell(cellNum)->EvaluateLocation( subID, paraCoords,
xyzCoords, vtkcellweights );
i still get a segmentation fault just before it does EvaluateLocation??
what should i change?
>
>so basically my problem is i get a segmentation fault
>
>here are all my parameters:
>
>float paraCoords[3] , xyzCoords[3];
> float *vtkcellweights = NULL;
>Cell = SetOfQuadCells->GetCell( cellNum );
>subID = Cell->GetParametricCenter( paraCoords );
>Cell->EvaluateLocation( subID, paraCoords, xyzCoords, vtkcellweights );
>
>but i think my problem is because it wont let me initialize an object of
>vtkCell
>
>if i do :
>vtkCell *Cell = vtkCell::New();
>
>It says
>
>invalid conversion from `vtkObject*' to `
> vtkCell*'
>
>
>??? what am i doing wrong??
>
_________________________________________________________________
Find and compare great deals on Broadband access at the MSN High-Speed
Marketplace. http://click.atdmt.com/AVE/go/onm00200360ave/direct/01/
More information about the vtkusers
mailing list