[vtkusers] vtkDataSetToStructuredGridFilter
Becker, Benjamin
Benjamin.Becker at eads.net
Tue Apr 19 10:10:55 EDT 2005
Hi there,
i was trying to convert unstructured grids to structured ones
to easily load them into glsl shaders.
Therefore i chose "vtkDataSetToStructuredGridFilter".
The classes constructor is protected. Calling
vtkDataSetToStructuredGridFilter::New();
produces a vtkObject*.
For further use and to regain the functionality i tried:
vtkDataSetToStructuredGridFilter::SafeDownCast(vtkObject* );
but this cast returns a null pointer.
Anyone an idea what i am doing wrong? Any other
suggestions how to convert the grid to a structured one?
Thanks for your help.
Best regards,
Benjamin Becker
More information about the vtkusers
mailing list