<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
&nbsp;
<br>I get these types of errors from the more recent versions of vtk (4.0
and higher).. on
<br>SGI&nbsp;IRIX compilers..
<p>******************************
<br>cc-1367 CC: ERROR File = impDiscreteSet.cc, Line = 188
<br>&nbsp; A pointer to an incomplete class type is not allowed.
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; origVolume->GetPointData()->SetScalars
(dset_scalars);
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^
<p>cc-1367 CC: ERROR File = impDiscreteSet.cc, Line = 194
<br>&nbsp; A pointer to an incomplete class type is not allowed.
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; origVolume->GetPointData()->GetScalars()->GetRange(r);
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^
<br>***********************
<p>I know how to fix it - include vtkPointData.h. I am just curious why
this
<br>has started appearing or why this include file is needed, as its just
a pointer
<br>being dereferenced. If thats the case, then why dont I&nbsp;get a similar
error
<br>for not include vtkDataArray.h (returned by GetScalars())?
<p>Thanks.
<p>&nbsp;&nbsp;&nbsp; == krs
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<pre>--&nbsp;
K.R.Subramanian&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Phone: (704) 687-4872
Department of Computer Science&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FAX:&nbsp;&nbsp; (704) 687-4893
UNC Charlotte, CARC 311&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Email: krs@cs.uncc.edu
Charlotte, NC 28223-0001&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Web: <A HREF="http://www.cs.uncc.edu/~krs">http://www.cs.uncc.edu/~krs</A></pre>
&nbsp;</html>