connectedViews
Connected views in view set
Description
Examples
Get Connected Views in View Set
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
Input Arguments
vSet
— Point cloud view set
pcviewset
object
Point cloud view set, specified as a pcviewset
object.
viewId
— View identifier
positive integer
View identifier, specified as an integer. View identifiers are unique to a specific view.
Output Arguments
viewTable
— One or more views
two-column table | three-column table
One or more views, returned as a three-column table. The table must contain the columns as described in this table.
Column | Description |
---|---|
ViewID | View identifier, specified as an integer. View identifiers are unique to a specific view. |
AbsolutePose | Absolute pose of the view, specified as a rigid3d object. |
Points | Point cloud for the view, specified as a pointCloud object. |
Extended Capabilities
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Version History
Open Example
You have a modified version of this example. Do you want to open this example with your edits?
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)