Пример #1
0
 def GetOutputData(self, outInfo, i):
     """Convenience method that returns an output data object
     given an information object and an index."""
     return outInfo.GetInformationObject(i).Get(vtkDataObject.DATA_OBJECT())
Пример #2
0
    def GetInputData(self, inInfo, i, j):
        """Convenience method that returns an input data object
        given a vector of information objects and two indices."""

        return inInfo[i].GetInformationObject(j).Get(
            vtkDataObject.DATA_OBJECT())