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

Class HyperTreeGrid

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

A wrapper for vtkHyperTreeGrid that makes it easier to access CellData arrays as VTKArrays.

Source from the content-addressed store, hash-verified

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
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
1242class CompositeDataSet(DataObject):
1243 """A wrapper for vtkCompositeData and subclasses that makes it easier

Callers 1

WrapDataObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected