Commit 13926f30 authored by Joachim Pouderoux's avatar Joachim Pouderoux

Expose Molecule as input/output type of Python Programmable Source&Filter

parent 41d05b8d
# Expose vtkMolecule type for Programmable Source & Filter.
We add support for vtkMolecule as input/output data type in Python programmable
source and filter.
Molecule type is now also exposed correctly in the Information panel.
......@@ -1099,6 +1099,8 @@ const char* vtkPVDataInformation::GetPrettyDataTypeString()
return "Multi-piece Dataset";
case VTK_DIRECTED_ACYCLIC_GRAPH:
return "Directed Acyclic Graph";
case VTK_MOLECULE:
return "Molecule";
default:
vtkPVDataInformationHelper* dhelper = vtkPVDataInformation::FindHelper(this->DataClassName);
if (dhelper)
......
......@@ -355,6 +355,8 @@ annotation text.
value="19" />
<!-- <Entry value="20" text="vtkGraph"/> -->
<!-- <Entry value="21" text="vtkTree"/> -->
<Entry text="vtkMolecule"
value="33" />
</EnumerationDomain>
<Documentation>The value of this property determines the dataset type
for the output of the programmable filter.</Documentation>
......@@ -480,6 +482,8 @@ annotation text.
value="19" />
<!-- <Entry value="20" text="vtkGraph"/> -->
<!-- <Entry value="21" text="vtkTree"/> -->
<Entry text="vtkMolecule"
value="33" />
</EnumerationDomain>
<Documentation>The value of this property determines the dataset type
for the output of the programmable source.</Documentation>
......
Subproject commit 49f21220e655cfdb32446580285480fa8f70478f
Subproject commit 446144dad72d59b5c9f705606cffe70bf11b2ff2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment