Interface for objects that can produce a target
This could for instance be the result of an alignment or a generation of a
PointCloudinstance from a shape model.
Implementations must define sensible behavior for:
_sync_target_from_state()needs to be triggered as appropriate by subclasses e.g. when
from_vector_inplaceis called. This will in turn trigger
_new_target_from_state(), which each subclass must implement.
Generate an efficient copy of this object.
Note that Numpy arrays and other
selfwill be deeply copied. Dictionaries and sets will be shallow copied, and everything else will be assigned (no copy will be made).
Classes that store state other than numpy arrays and immutable types should overwrite this method to ensure all state is copied.
type(self)– A copy of this object
Update this object so that it attempts to recreate the
Parameters: new_target (
PointCloud) – The new target that this object should try and regenerate.