No technical reason. (But as a best-practice convention, it&#39;s good not to depend on the API of a VTK Utilities library remaining constant from release to release. These classes are typically used exclusively within VTK *.cxx files and not included by any VTK header files.)<div>
<br></div><div>In the VTK source tree, the only files that presently include &lt;octree/octree&gt; (note: there is no .h at the end) are&nbsp;Rendering/vtkLabelHierarchy.cxx and&nbsp;Rendering/vtkLabelHierarchyPrivate.h. If a file is include only by a VTK .cxx file or a header file clearly labelled &quot;private&quot; then it&#39;s probably best not to rely on it from release to release.</div>
<div><br></div><div>Perhaps you should just remove the &quot;.h&quot; and try again....</div><div><br></div><div><br></div><div>HTH,</div><div>David</div><div><br><br><div class="gmail_quote">On Tue, Feb 10, 2009 at 10:36 AM, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">If I include<br>
#include &lt;octree/octree.h&gt;<br>
<br>
I get a whole bunch of these errors.<br>
<br>
/home/doriad/src/ParaView3/VTK/Utilities/octree/octree.h:9: error:<br>
expected type-specifier before &#39;vtkstd&#39;<br>
/home/doriad/src/ParaView3/VTK/Utilities/octree/octree.h:9: error:<br>
expected &#39;&gt;&#39; before &#39;vtkstd&#39;<br>
/home/doriad/src/ParaView3/VTK/Utilities/octree/octree.h:23: error:<br>
ISO C++ forbids declaration of &#39;octree_node&#39; with no type<br>
/home/doriad/src/ParaView3/VTK/Utilities/octree/octree.h:23: error:<br>
expected &#39;;&#39; before &#39;&lt;&#39; token<br>
<br>
Any reason why I can&#39;t use the octree class?<br>
<br>
--<br>
Thanks,<br>
<br>
David<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>