The Common Vision Blox composite. More...
Public Member Functions | |
cvb.Composite | from_object (Union[cvb.MultiPartImage, cvb.PointCloud] object) |
Returns a composite object from the given composite compatible object. | |
None | insert_item_at (self, int index, Union[cvb.Image, cvb.Plane, cvb.PFNCBuffer, cvb.CompressedPFNCBuffer] item) |
Insert a composite item specified at given index. | |
Properties | |
item_count = property | |
int: Number of variants in the composite. | |
purpose = property | |
int: The purpose of the composite container (see cvb.CompositePurpose). | |
The Common Vision Blox composite.
Creates a composite with the given optional parameter.
For accessing the individual items use[].
purpose : int The purpose of this container (see cvb.CompositePurpose).
cvb.Composite from_object | ( | Union[cvb.MultiPartImage, cvb.PointCloud] | object | ) |
Returns a composite object from the given composite compatible object.
object : Union[cvb.MultiPartImage, cvb.PointCloud] A composite compatible object to share.
cvb.Composite A composite that shares resources with the given object.
None insert_item_at | ( | self, | |
int | index, | ||
Union[cvb.Image, cvb.Plane, cvb.PFNCBuffer, cvb.CompressedPFNCBuffer] | item ) |
Insert a composite item specified at given index.
index : int Item index to insert the composite item at given index.
item : Union[cvb.Image, cvb.Plane, cvb.PFNCBuffer, cvb.CompressedPFNCBuffer] The composite item to insert.