VTK/Tutorials/MemberVariables
From KitwarePublic
< VTK | Tutorials
Jump to navigationJump to search
Revision as of 13:49, 13 November 2009 by Daviddoria (talk | contribs) (New page: Here are some common errors when trying to use a templated VTK class as a member variable. We will use vtkDenseArray as an example. ==error: 'vtkDenseArray' is not a template== You have f...)
Here are some common errors when trying to use a templated VTK class as a member variable. We will use vtkDenseArray as an example.
error: 'vtkDenseArray' is not a template
You have forward declared the class in your header: <source lang="cpp"> class vtkDenseArray; </source>
but forgotten to actually include the header in your implementation file:
<source lang="cpp">
- include "vtkDenseArray.h";
</source>
==