[vtkusers] subID

Guiseppe DiIullio lost_bits1110 at hotmail.com
Fri Feb 20 21:39:41 EST 2004


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??

_________________________________________________________________
Get fast, reliable access with MSN 9 Dial-up. Click here for Special Offer! 
http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/




More information about the vtkusers mailing list