[vtkusers] question..

K.R.Subramanian krs at uncc.edu
Mon Jul 28 12:35:03 EDT 2003


I get these types of errors from the more recent versions of vtk (4.0 and higher).. on
SGI IRIX compilers..

******************************
cc-1367 CC: ERROR File = impDiscreteSet.cc, Line = 188
  A pointer to an incomplete class type is not allowed.

        origVolume->GetPointData()->SetScalars (dset_scalars);
        ^

cc-1367 CC: ERROR File = impDiscreteSet.cc, Line = 194
  A pointer to an incomplete class type is not allowed.

        origVolume->GetPointData()->GetScalars()->GetRange(r);
        ^
***********************

I know how to fix it - include vtkPointData.h. I am just curious why this
has started appearing or why this include file is needed, as its just a pointer
being dereferenced. If thats the case, then why dont I get a similar error
for not include vtkDataArray.h (returned by GetScalars())?

Thanks.

    == krs





--
K.R.Subramanian                        Phone: (704) 687-4872
Department of Computer Science         FAX:   (704) 687-4893
UNC Charlotte, CARC 311                Email: krs at cs.uncc.edu
Charlotte, NC 28223-0001               Web: http://www.cs.uncc.edu/~krs


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030728/432e3deb/attachment.htm>


More information about the vtkusers mailing list