A wrapper for vtkTable that makes it easier to access RowData array as VTKArrays
| 1212 | FieldData = property(GetFieldData, None, None, "This property returns the field data of a data object.") |
| 1213 | |
| 1214 | class Table(DataObject): |
| 1215 | """A wrapper for vtkTable that makes it easier to access RowData array as |
| 1216 | VTKArrays |
| 1217 | """ |
| 1218 | def GetRowData(self): |
| 1219 | "Returns the row data as a DataSetAttributes instance." |
| 1220 | return self.GetAttributes(ArrayAssociation.ROW) |
| 1221 | |
| 1222 | def HasAttributes(self, type): |
| 1223 | "Returns if current object support this attributes type" |
| 1224 | return type == ArrayAssociation.ROW or DataObject.HasAttributes(self, type) |
| 1225 | |
| 1226 | RowData = property(GetRowData, None, None, "This property returns the row data of the table.") |
| 1227 | |
| 1228 | class HyperTreeGrid(DataObject): |
| 1229 | """A wrapper for vtkHyperTreeGrid that makes it easier to access CellData |