Hi Andrew,
I see a couple of things in your script. First is normals and scalars
are data set attributes. so you need to access them through one of those
classes, ex vtkPointData.
Correct me if I'm wrong but, although in VTK 6 you generally don't need
to shallow copy the input to filters I
Great! I just experimented with your plugin, I have to say that's pretty
cool!
On 05/31/2014 04:47 PM, Andrew Maclean wrote:
Burlen,
Thankyou so much for your quick response. The script works fine. I
am a bit of a ParaView novice when it comes to scripting so thanks for
the help!
This
I have a source object that produces a polydata object. Unfortunately the
normals and scalars are unnamed. How do I access these and name them in
ParaView.
I thought something like this may work in a Programmable Filter:
pdi = self.GetPolyDataInput()
pdo = self.GetPolyDataOutput()