A wrapper for vtkHyperTreeGrid that makes it easier to access CellData arrays as VTKArrays.
| 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 |
| 1230 | arrays as VTKArrays. |
| 1231 | """ |
| 1232 | def GetCellData(self): |
| 1233 | "Returns the cell data as DataSetAttributes instance." |
| 1234 | return self.GetAttributes(ArrayAssociation.CELL) |
| 1235 | |
| 1236 | def HasAttributes(self, type): |
| 1237 | "Returns if current object support this attributes type" |
| 1238 | return type == ArrayAssociation.CELL or DataObject.HasAttributes(self, type) |
| 1239 | |
| 1240 | CellData = property(GetCellData, None, None, "This property returns the cell data of the hypertree grid.") |
| 1241 | |
| 1242 | class CompositeDataSet(DataObject): |
| 1243 | """A wrapper for vtkCompositeData and subclasses that makes it easier |