[vtkusers] Why I can't create a global vtkPolyData instance?
David Doria
daviddoria at gmail.com
Tue May 1 08:48:13 EDT 2012
On Tue, May 1, 2012 at 8:44 AM, Wenlong <scc.wwl at gmail.com> wrote:
> Hi, Alex
>
> Many thanks to your reply. It is working now.
>
> Thank you very much.
>
> Best wishes
> Wenlong
Though that works, you should really really try to avoid global
variables like that. Once your code gets to be a couple hundred lines,
it will surely be very hard to follow/keep track of.
David
More information about the vtkusers
mailing list