[vtkusers] How to get data ptr from the vtkpolydata?
daviddoria at gmail.com
Wed Sep 17 07:41:41 EDT 2014
On Wed, Sep 17, 2014 at 7:17 AM, Lin M <majcjc at gmail.com> wrote:
> Hi all,
> I try to get the data ptr which I think is a double * pointing to a double
> array from vtkpolydata but I met an access violation when I use
> double *skullTemplate =
> m_SkullMesh is a vtkPolyData.
> How can I do to get it work? Thank you!
Please post the smallest, compilable code you can that demonstrates the
problem. From what you've shown, one error is that you shouldn't have to
GetOutput() from a vtkPolyData.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers