<DIV>Hi all,</DIV>
<DIV>I'm a newbie at this. When compiling the example code available on the vtk website for visualizing a quadric function, I get the following errors. </DIV>
<DIV>Compiling...<BR>Quadric.cpp<BR>G:\wolken\vtk\Quadric\Quadric.cpp(26) : error C2664: 'SetInput' : cannot convert parameter 1 from 'class vtkImageData *' to 'class vtkDataSet *'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<BR>G:\wolken\vtk\Quadric\Quadric.cpp(42) : error C2664: 'SetInput' : cannot convert parameter 1 from 'class vtkImageData *' to 'class vtkDataSet *'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<BR>G:\wolken\vtk\Quadric\Quadric.cpp(51) : error C2027: use of undefined type 'vtkProperty'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; g:\program files\vtk42\include\vtk\vtkactor.h(42) : see declaration of 'vtkProperty'<BR>G:\wolken\vtk\Quadric\Quadric.cpp(51) : error C2227: left of '-&gt;SetColor' must point to class/struct/union</DIV>
<DIV>&nbsp;</DIV>
<DIV>Could somebody please help me with this?</DIV>
<DIV>Thanks!</DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://pa.yahoo.com/*http://rd.yahoo.com/evt=1207/*http://promo.yahoo.com/sbc/">SBC Yahoo! DSL</a> - Now only $29.95 per month!