MCPcopy Create free account
hub / github.com/Kitware/VTK / Table

Class Table

Wrapping/Python/vtkmodules/numpy_interface/dataset_adapter.py:1214–1226  ·  view source on GitHub ↗

A wrapper for vtkTable that makes it easier to access RowData array as VTKArrays

Source from the content-addressed store, hash-verified

1212 FieldData = property(GetFieldData, None, None, "This property returns the field data of a data object.")
1213
1214class 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
1228class HyperTreeGrid(DataObject):
1229 """A wrapper for vtkHyperTreeGrid that makes it easier to access CellData

Callers 1

WrapDataObjectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected