[vtkusers] Help on win32 prog - error

de Boer Ingo I.deBoer at polytec.de
Fri Jun 18 02:12:11 EDT 2004


Hi,

look at the VTK documentation:

SetPoints is a member of vtkPointSet. vtkPointSet is derived
from vtkDataSet. So, vtkDataSet has no SetPoints() member.
Try to use a vtkPolyData instead of vtkDataSet.

greets
  Ingo

---
Dr.-Ing. Ingo H. de Boer

Polytec GmbH
Polytec-Platz 1-7, 76337 Waldbronn, Germany
phone: ++49 7243 604 106
fax  : ++49 7243 604 255

> This is my code and I am migrating the financial example from 
> the vtk book 
> from regular C++ to winprog32, and im currently getting errors :
> 
> "  this->dataSet1->SetPoints(newPts); "
> 
> that Setpoints are not a member of dataset, but the same code 
> works for reg 
> c++, any sugs.



More information about the vtkusers mailing list