<br><br><div class="gmail_quote">On Fri, Nov 6, 2009 at 6:17 PM, F <span dir="ltr"><<a href="mailto:frinxor@gmail.com">frinxor@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I've been following along with this conversation and following the example on the wiki, I tried to do this:<br><br> vtkSmartPointer<vtkMultiBlockPLOT3DReader> m_Reader2;<br> vtkSmartPointer<vtkMultiBlockDataSet> dataset = m_Reader2->GetOutput();<br>
<br>which gave me an error <br> error C2664: 'vtkSmartPointerBase::vtkSmartPointerBase(vtkObjectBase *)' : cannot convert parameter 1 from 'vtkMultiBlockDataSet *' to 'vtkObjectBase *'<br><br>I can't seem to figure out why this is the case?<div>
<div></div><div class="h5"><br><br></div></div></blockquote><div><br></div><div>These seemingly cryptic errors with smart pointers normally mean that you forgot an include:</div><div><br></div><div>#include "vtkMultiBlockDataSet.h"</div>
<div><br></div><div>Jeff </div><div><br></div></div>