Connected views in view set
viewTable = connectedViews(vSet,viewId)
example
viewTable = connectedViews(vSet,viewId) returns a table of views from vSet that are connected to the view specified by viewId.
viewTable
vSet
viewId
collapse all
Create an empty point cloud view set object.
vSet = pcviewset;
Add views to the point cloud view set.
vSet = addView(vSet,1); vSet = addView(vSet,2); vSet = addView(vSet,3); vSet = addView(vSet,4);
Connect views in the point cloud view set.
vSet = addConnection(vSet,1,2); vSet = addConnection(vSet,2,3); vSet = addConnection(vSet,2,4);
Get the connected views for the view with ID 2.
viewTable = connectedViews(vSet,2)
viewTable=3×3 table ViewId AbsolutePose PointCloud ______ _____________ ________________ 1 [1x1 rigid3d] [1x1 pointCloud] 3 [1x1 rigid3d] [1x1 pointCloud] 4 [1x1 rigid3d] [1x1 pointCloud]
pcviewset
Point cloud view set, specified as a pcviewset object.
View identifier, specified as an integer. View identifiers are unique to a specific view.
One or more views, returned as a three-column table. The table must contain the columns as described in this table.
ViewID
AbsolutePose
rigid3d
Points
pointCloud
You have a modified version of this example. Do you want to open this example with your edits?