Classes | |
| class | KeyMod |
| class | MouseButton |
| class | UiEntry |
| class | UiEntryType |
| class | UiValueInt |
| class | UiValueReal |
| class | UiValueString |
| class | UiValueUint |
| class | Viewer |
| class | ViewerLaunchParams |
| class | ViewerLaunchParamsMode |
| class | ViewerSetup |
| class | Viewport |
| class | ViewportFitDataParams |
| class | ViewportFitMode |
Functions | |
| None | addDistanceMapToScene (meshlib.mrmeshpy.DistanceMap distancemap, str name, meshlib.mrmeshpy.AffineXf3f dmap_to_local_xf) |
| None | addLinesToScene (meshlib.mrmeshpy.Polyline3 lines, str name) |
| None | addMeshToScene (meshlib.mrmeshpy.Mesh mesh, str name) |
| None | addPointCloudToScene (meshlib.mrmeshpy.PointCloud points, str name) |
| None | addVoxelsToScene (meshlib.mrmeshpy.VdbVolume voxels, str name) |
| None | clearScene () |
| meshlib.mrmeshpy.std_vector_DistanceMap | getSelectedDistanceMaps () |
| meshlib.mrmeshpy.std_vector_TypedBitSet_Id_UndirectedEdgeTag | getSelectedMeshEdges () |
| meshlib.mrmeshpy.std_vector_TypedBitSet_Id_FaceTag | getSelectedMeshFaces () |
| meshlib.mrmeshpy.std_vector_Mesh | getSelectedMeshes () |
| meshlib.mrmeshpy.std_vector_std_shared_ptr_Object | getSelectedObjects () |
| meshlib.mrmeshpy.std_vector_TypedBitSet_Id_VertTag | getSelectedPointCloudPoints () |
| meshlib.mrmeshpy.std_vector_PointCloud | getSelectedPointClouds () |
| meshlib.mrmeshpy.std_vector_Polyline_Vector3_float | getSelectedPolylines () |
| meshlib.mrmeshpy.std_vector_VoxelsVolumeMinMax_FloatGrid | getSelectedVoxels () |
| None | launch (ViewerLaunchParams params=..., ViewerSetup setup=...) |
| None | modifySelectedMesh (meshlib.mrmeshpy.Mesh mesh) |
| None | runFromGUIThread (typing.Callable lambda) |
| None | selectByName (str objectName) |
| None | selectByType (str typeName) |
| None | setSelectedMeshEdges (meshlib.mrmeshpy.std_vector_TypedBitSet_Id_UndirectedEdgeTag arg0) |
| None | setSelectedMeshFaces (meshlib.mrmeshpy.std_vector_TypedBitSet_Id_FaceTag arg0) |
| None | setSelectedPointCloudPoints (meshlib.mrmeshpy.std_vector_TypedBitSet_Id_VertTag arg0) |
| list[UiEntry] | uiListEntries (list[str] arg0) |
| None | uiPressButton (list[str] arg0) |
| UiValueInt | uiReadValueInt (list[str] arg0) |
| UiValueReal | uiReadValueReal (list[str] arg0) |
| UiValueString | uiReadValueString (list[str] arg0) |
| UiValueUint | uiReadValueUint (list[str] arg0) |
| None | uiWriteValue (list[str] arg0, int arg1) |
| None | uiWriteValue (list[str] arg0, float arg1) |
| None | uiWriteValue (list[str] arg0, str arg1) |
| None | uiWriteValueInt (list[str] arg0, int arg1) |
| None | uiWriteValueReal (list[str] arg0, float arg1) |
| None | uiWriteValueString (list[str] arg0, str arg1) |
| None | uiWriteValueUint (list[str] arg0, int arg1) |
| None | unselectAll () |
| None mrviewerpy.addDistanceMapToScene | ( | meshlib.mrmeshpy.DistanceMap | distancemap, |
| str | name, | ||
| meshlib.mrmeshpy.AffineXf3f | dmap_to_local_xf ) |
Add given distance map to scene tree.
| None mrviewerpy.addLinesToScene | ( | meshlib.mrmeshpy.Polyline3 | lines, |
| str | name ) |
Add given lines to scene tree.
| None mrviewerpy.addMeshToScene | ( | meshlib.mrmeshpy.Mesh | mesh, |
| str | name ) |
Add given mesh to scene tree.
| None mrviewerpy.addPointCloudToScene | ( | meshlib.mrmeshpy.PointCloud | points, |
| str | name ) |
Add given point cloud to scene tree.
| None mrviewerpy.addVoxelsToScene | ( | meshlib.mrmeshpy.VdbVolume | voxels, |
| str | name ) |
Add given voxels to scene tree.
| None mrviewerpy.clearScene | ( | ) |
remove all objects from scene tree
| meshlib.mrmeshpy.std_vector_DistanceMap mrviewerpy.getSelectedDistanceMaps | ( | ) |
Get copies of all selected voxel grids in the scene.
| meshlib.mrmeshpy.std_vector_TypedBitSet_Id_UndirectedEdgeTag mrviewerpy.getSelectedMeshEdges | ( | ) |
Get selected edge bitsets of the selected mesh objects.
| meshlib.mrmeshpy.std_vector_Mesh mrviewerpy.getSelectedMeshes | ( | ) |
Get copies of all selected meshes in the scene.
| meshlib.mrmeshpy.std_vector_TypedBitSet_Id_FaceTag mrviewerpy.getSelectedMeshFaces | ( | ) |
Get selected face bitsets of the selected mesh objects.
| meshlib.mrmeshpy.std_vector_std_shared_ptr_Object mrviewerpy.getSelectedObjects | ( | ) |
| meshlib.mrmeshpy.std_vector_TypedBitSet_Id_VertTag mrviewerpy.getSelectedPointCloudPoints | ( | ) |
Get selected point bitsets of the selected point cloud objects.
| meshlib.mrmeshpy.std_vector_PointCloud mrviewerpy.getSelectedPointClouds | ( | ) |
Get copies of all selected point clouds in the scene.
| meshlib.mrmeshpy.std_vector_Polyline_Vector3_float mrviewerpy.getSelectedPolylines | ( | ) |
Get copies of all selected polylines in the scene.
| meshlib.mrmeshpy.std_vector_VoxelsVolumeMinMax_FloatGrid mrviewerpy.getSelectedVoxels | ( | ) |
Get copies of all selected voxel grids in the scene.
| None mrviewerpy.launch | ( | ViewerLaunchParams | params = ..., |
| ViewerSetup | setup = ... ) |
starts default viewer with given params and setup
| None mrviewerpy.modifySelectedMesh | ( | meshlib.mrmeshpy.Mesh | mesh | ) |
Assign a new mesh to the selected mesh object. Exactly one object must be selected.
| None mrviewerpy.runFromGUIThread | ( | typing.Callable | lambda | ) |
Executes given function from GUI thread, and returns after it is done
| None mrviewerpy.selectByName | ( | str | objectName | ) |
select objects in scene tree with given name, unselect others
| None mrviewerpy.selectByType | ( | str | typeName | ) |
string typeName: {"Meshes", "Points", "Voxels"}
objects in scene tree with given type, unselect others
| None mrviewerpy.setSelectedMeshEdges | ( | meshlib.mrmeshpy.std_vector_TypedBitSet_Id_UndirectedEdgeTag | arg0 | ) |
Set selected edge bitsets of the selected mesh objects.
| None mrviewerpy.setSelectedMeshFaces | ( | meshlib.mrmeshpy.std_vector_TypedBitSet_Id_FaceTag | arg0 | ) |
Set selected face bitsets of the selected mesh objects.
| None mrviewerpy.setSelectedPointCloudPoints | ( | meshlib.mrmeshpy.std_vector_TypedBitSet_Id_VertTag | arg0 | ) |
Set selected point bitsets of the selected point cloud objects.
| list[UiEntry] mrviewerpy.uiListEntries | ( | list[str] | arg0 | ) |
List existing UI entries at the specified path. Pass an empty list to see top-level groups. Add group name to the end of the vector to see its contents. When you find the button you need, pass it to `uiPressButton()`.
| None mrviewerpy.uiPressButton | ( | list[str] | arg0 | ) |
Simulate a button click. Use `uiListEntries()` to find button names.
| UiValueInt mrviewerpy.uiReadValueInt | ( | list[str] | arg0 | ) |
Read a value from a drag/slider widget. This function is for signed integers.
| UiValueReal mrviewerpy.uiReadValueReal | ( | list[str] | arg0 | ) |
Read a value from a drag/slider widget. This function is for real numbers.
| UiValueString mrviewerpy.uiReadValueString | ( | list[str] | arg0 | ) |
Read a value from a drag/slider widget. This function is for strings.
| UiValueUint mrviewerpy.uiReadValueUint | ( | list[str] | arg0 | ) |
Read a value from a drag/slider widget. This function is for unsigned integers.
| None mrviewerpy.uiWriteValue | ( | list[str] | arg0, |
| float | arg1 ) |
Write a value to a drag/slider widget. This overload is for real numbers.
| None mrviewerpy.uiWriteValue | ( | list[str] | arg0, |
| int | arg1 ) |
Write a value to a drag/slider widget. This overload is for signed integers.
Write a value to a drag/slider widget. This overload is for unsigned integers.
| None mrviewerpy.uiWriteValue | ( | list[str] | arg0, |
| str | arg1 ) |
Write a value to a drag/slider widget. This overload is for strings.
| None mrviewerpy.uiWriteValueInt | ( | list[str] | arg0, |
| int | arg1 ) |
Write a value to a drag/slider widget. This overload is for signed integers.
| None mrviewerpy.uiWriteValueReal | ( | list[str] | arg0, |
| float | arg1 ) |
Write a value to a drag/slider widget. This overload is for real numbers.
| None mrviewerpy.uiWriteValueString | ( | list[str] | arg0, |
| str | arg1 ) |
Write a value to a drag/slider widget. This overload is for strings.
| None mrviewerpy.uiWriteValueUint | ( | list[str] | arg0, |
| int | arg1 ) |
Write a value to a drag/slider widget. This overload is for unsigned integers.
| None mrviewerpy.unselectAll | ( | ) |
unselect all objects in scene tree