

@classmethod
def init_with_all_label(cls, pointcloud, copy=True):
    "\n        Static constructor to create a :map:`LandmarkGroup` with a single\n        default 'all' label that covers all points.\n\n        Parameters\n        ----------\n        pointcloud : :map:`PointCloud`\n            The pointcloud representing the landmarks.\n        copy : `boolean`, optional\n            If ``True``, a copy of the :map:`PointCloud` is stored on the group.\n\n        Returns\n        -------\n        lmark_group : :map:`LandmarkGroup`\n            Landmark group wrapping the given pointcloud with a single label\n            called 'all' that is ``True`` for all points.\n        "
    labels_to_masks = OrderedDict([('all', np.ones(copy.n_points, dtype=np.bool))])
    return LandmarkGroup(pointcloud, labels_to_masks, copy=copy)

dataset/ETHPy150Open menpo/menpo/menpo/landmark/base.py LandmarkGroup.init_with_all_label/VarMisuse@33/248 `pointcloud`->`copy`