[vtkusers] VTKPythonAlgorithm Assistance

Andrew E. Slaughter andrew.slaughter at inl.gov
Tue Sep 11 12:10:22 EDT 2018


I am using VTK7.1 on MacOS High Sierra, installed via miniconda to create a tool for reading Exodus files. I would like to create a VTKPythonAlgorithm object to create an interface to common operations and plug into the proper VTK pipeline. I am having trouble getting variable data to be mapped. The attached script demonstrates the problem.

When using the VTKPythonAlgorithm the call to vtkPolyDataMapper::SetColorArray doesn't seem to trigger the proper mapping.

I would appreciate assistance getting this problem corrected.

Thanks,

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mug_blocks_out.e
Type: application/octet-stream
Size: 1928660 bytes
Desc: mug_blocks_out.e
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180911/a434c72e/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exodus_algorithm.py
Type: text/x-python-script
Size: 2705 bytes
Desc: exodus_algorithm.py
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180911/a434c72e/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: with_algorithm.png
Type: image/png
Size: 4891 bytes
Desc: with_algorithm.png
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180911/a434c72e/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: without_algorithm.png
Type: image/png
Size: 5739 bytes
Desc: without_algorithm.png
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180911/a434c72e/attachment-0003.png>


More information about the vtkusers mailing list