<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
declaration to work. You have declared a local instance of<br>
vtkSmartPointer&lt;vtkTransform&gt; and so the full definition is required. Forward<br>
declarations can only be used when you are using pointers or references.<br>
<br>
The smart pointer becomes fairly useless when you need to use a pointer to it<br>
though, as you then have to destroy it yourself and so you may as well use a<br>
pointer to the object.<br>
<br>
Marcus<br>
<font color="#888888"><br></font></blockquote><div><br>So the solution is not to use smart pointers for member variables?<br><br clear="all">Thanks,<br><br>David<br> 
<br></div></div><br>