def METHOD_NAME(self, depth):
    depth[edges(depth) > 0.3] = np.nan  # Hide depth edges
    length = depth.shape[0] * depth.shape[1]
    # depth[edges(depth) > 0.3] = 1e6  # Hide depth edges
    z = depth.reshape(length)
    return np.dstack((self.xx * z, self.yy * z, z)).reshape((length, 3))