[vtkusers] CellData null pointer?

Brett Tully brett.tully at oxyntix.com
Mon May 14 15:50:50 EDT 2012


Unfortunately not, AllocateScalars does not help either, Still giving a
NULL pointer to the cell data....
Brett.

On Mon, May 14, 2012 at 8:45 PM, David Doria <daviddoria at gmail.com> wrote:

> On Mon, May 14, 2012 at 3:37 PM, Brett Tully <brett.tully at oxyntix.com>
> wrote:
> > Thanks David,
> > I probably should have mentioned, I am running 5.0.8. Thus, vtkImageData
> > doesn't have an Allocate method, but it does have Initialize -- I have
> tried
> > this with no luck.
> > Brett
>
> Sorry, just a typo. It should have been
> imageData->AllocateScalars()
>
> I believe that is there in VTK 5.
>
> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120514/8798907e/attachment.htm>


More information about the vtkusers mailing list