[vtkusers] subID

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


okay nevemrind
its an abstract class i just realized.


>From: "Guiseppe DiIullio" <lost_bits1110 at hotmail.com>
>To: lost_bits1110 at hotmail.com, vtkusers at vtk.org
>Subject: RE: [vtkusers] subID
>Date: Sat, 21 Feb 2004 02:39:41 +0000
>
>
>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??
>

_________________________________________________________________
Stay informed on Election 2004 and the race to Super Tuesday. 
http://special.msn.com/msn/election2004.armx




More information about the vtkusers mailing list