[vtkusers] What is vtkCxxSetObjectMacro

Wenlong Wang scc.wwl at gmail.com
Fri Dec 9 06:24:07 EST 2011


Dear all,

I'm trying to set a vtkPoints to my polydata. Here is what I do.

polydata->SetPoints(points);

The compiler returns a access vialation and redirect me to line 32 in
vtkPointSet.cxx. The source code is vtkCxxSetObjectMacro(vtkPointSet,
Points, vtkPoints);

I haven't find any reference about it online. Can anyone tell me what is
this and how it works?

Thank you very much.

Best Regards
Wenlong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111209/c7d72525/attachment.htm>


More information about the vtkusers mailing list