Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added VisualizationCapabilities plugin #988

Merged
merged 17 commits into from
Sep 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion examples/worlds/minimal_scene.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ Features:
* Transform controls
* Spawn entities through GUI
* View angles
* View collisions, wireframe, transparent, CoM, etc

Missing for parity with GzScene3D:

* Context menu
* Record video
* View collisions, wireframe, transparent, CoM, etc
* Drag and drop from Fuel / meshes
* ...

Expand Down Expand Up @@ -135,6 +135,20 @@ Missing for parity with GzScene3D:

</plugin>

<plugin filename="VisualizationCapabilities" name="Visualization Capabilities">
<ignition-gui>
<anchors target="Select entities">
<line own="right" target="right"/>
<line own="top" target="top"/>
</anchors>
<property key="resizable" type="bool">false</property>
<property key="width" type="double">5</property>
<property key="height" type="double">5</property>
<property key="state" type="string">floating</property>
<property key="showTitleBar" type="bool">false</property>
</ignition-gui>
</plugin>

<!-- World statistics -->
<plugin filename="WorldStats" name="World stats">
<ignition-gui>
Expand Down
1 change: 1 addition & 0 deletions src/gui/plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,6 @@ add_subdirectory(spawn)
add_subdirectory(transform_control)
add_subdirectory(video_recorder)
add_subdirectory(view_angle)
add_subdirectory(visualization_capabilities)
add_subdirectory(visualize_contacts)
add_subdirectory(visualize_lidar)
8 changes: 8 additions & 0 deletions src/gui/plugins/visualization_capabilities/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
gz_add_gui_plugin(VisualizationCapabilities
SOURCES
VisualizationCapabilities.cc
QT_HEADERS
VisualizationCapabilities.hh
PUBLIC_LINK_LIBS
${PROJECT_LIBRARY_TARGET_NAME}-rendering
)
Loading