[vtkusers] correct way to determine vtkStreamTracer ReasonForTermination?
tom fogal
tfogal at apollo.sr.unh.edu
Tue Aug 10 11:17:55 EDT 2004
Hi all, I've been looking in to determining what causes my stream lines
to end when they do, and vtkStreamTracer seems to have an enum
specifically for this purpose -- ReasonForTermination. I am a little
concerned because it seems to be very difficult to access, and so I'm
starting to believe that I'm not accessing it in the right way.
I would expect some sort of GetReasonForTermination() function that
returns one of the valid values in the enum, but I can't seem to find
one. From looking at the code, it seems like I need to get the output's
cell data, and from that I can extract a vtkDataArray* which is really
a vtkIntArray*. Then the first element (err, tuple) of that Array will
be the ReasonForTermination.
I feel like I'm doing things the wrong way, that I am missing some
blatant interface. Has anyone used this information before? Could you
clarify or redirect me towards what I should be doing to get this data?
Thanks!
-tom
More information about the vtkusers
mailing list