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 |
None meshlib.mrviewerpy.addDistanceMapToScene | ( | meshlib.mrmeshpy.DistanceMap | distancemap, |
str | name, | ||
meshlib.mrmeshpy.AffineXf3f | dmap_to_local_xf ) |
Add given distance map to scene tree.
None meshlib.mrviewerpy.addLinesToScene | ( | meshlib.mrmeshpy.Polyline3 | lines, |
str | name ) |
Add given lines to scene tree.
None meshlib.mrviewerpy.addMeshToScene | ( | meshlib.mrmeshpy.Mesh | mesh, |
str | name ) |
Add given mesh to scene tree.
None meshlib.mrviewerpy.addPointCloudToScene | ( | meshlib.mrmeshpy.PointCloud | points, |
str | name ) |
Add given point cloud to scene tree.
None meshlib.mrviewerpy.addVoxelsToScene | ( | meshlib.mrmeshpy.VdbVolume | voxels, |
str | name ) |
Add given voxels to scene tree.
None meshlib.mrviewerpy.clearScene | ( | ) |
remove all objects from scene tree
meshlib.mrmeshpy.std_vector_DistanceMap meshlib.mrviewerpy.getSelectedDistanceMaps | ( | ) |
Get copies of all selected voxel grids in the scene.
meshlib.mrmeshpy.std_vector_TaggedBitSet_UndirectedEdgeTag meshlib.mrviewerpy.getSelectedMeshEdges | ( | ) |
Get selected edge bitsets of the selected mesh objects.
meshlib.mrmeshpy.std_vector_Mesh meshlib.mrviewerpy.getSelectedMeshes | ( | ) |
Get copies of all selected meshes in the scene.
meshlib.mrmeshpy.std_vector_TaggedBitSet_FaceTag meshlib.mrviewerpy.getSelectedMeshFaces | ( | ) |
Get selected face bitsets of the selected mesh objects.
meshlib.mrmeshpy.std_vector_std_shared_ptr_Object meshlib.mrviewerpy.getSelectedObjects | ( | ) |
meshlib.mrmeshpy.std_vector_TaggedBitSet_VertTag meshlib.mrviewerpy.getSelectedPointCloudPoints | ( | ) |
Get selected point bitsets of the selected point cloud objects.
meshlib.mrmeshpy.std_vector_PointCloud meshlib.mrviewerpy.getSelectedPointClouds | ( | ) |
Get copies of all selected point clouds in the scene.
meshlib.mrmeshpy.std_vector_Polyline_Vector3_float meshlib.mrviewerpy.getSelectedPolylines | ( | ) |
Get copies of all selected polylines in the scene.
meshlib.mrmeshpy.std_vector_VoxelsVolumeMinMax_std_shared_ptr_OpenVdbFloatGrid meshlib.mrviewerpy.getSelectedVoxels | ( | ) |
Get copies of all selected voxel grids in the scene.
None meshlib.mrviewerpy.launch | ( | ViewerLaunchParams | params = ..., |
ViewerSetup | setup = ... ) |
starts default viewer with given params and setup
None meshlib.mrviewerpy.modifySelectedMesh | ( | meshlib.mrmeshpy.Mesh | mesh | ) |
Assign a new mesh to the selected mesh object. Exactly one object must be selected.
None meshlib.mrviewerpy.selectByName | ( | str | objectName | ) |
select objects in scene tree with given name, unselect others
None meshlib.mrviewerpy.selectByType | ( | str | typeName | ) |
string typeName: {"Meshes", "Points", "Voxels"} objects in scene tree with given type, unselect others
None meshlib.mrviewerpy.setSelectedMeshEdges | ( | meshlib.mrmeshpy.std_vector_TaggedBitSet_UndirectedEdgeTag | arg0 | ) |
Set selected edge bitsets of the selected mesh objects.
None meshlib.mrviewerpy.setSelectedMeshFaces | ( | meshlib.mrmeshpy.std_vector_TaggedBitSet_FaceTag | arg0 | ) |
Set selected face bitsets of the selected mesh objects.
None meshlib.mrviewerpy.setSelectedPointCloudPoints | ( | meshlib.mrmeshpy.std_vector_TaggedBitSet_VertTag | arg0 | ) |
Set selected point bitsets of the selected point cloud objects.
list[UiEntry] meshlib.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 meshlib.mrviewerpy.uiPressButton | ( | list[str] | arg0 | ) |
Simulate a button click. Use `uiListEntries()` to find button names.
UiValueInt meshlib.mrviewerpy.uiReadValueInt | ( | list[str] | arg0 | ) |
Read a value from a drag/slider widget. This overload is for signed integers.
UiValueReal meshlib.mrviewerpy.uiReadValueReal | ( | list[str] | arg0 | ) |
Read a value from a drag/slider widget. This overload is for real numbers.
UiValueString meshlib.mrviewerpy.uiReadValueString | ( | list[str] | arg0 | ) |
Read a value from a drag/slider widget. This overload is for strings.
UiValueUint meshlib.mrviewerpy.uiReadValueUint | ( | list[str] | arg0 | ) |
Read a value from a drag/slider widget. This overload is for unsigned integers.
None meshlib.mrviewerpy.uiWriteValueInt | ( | list[str] | arg0, |
int | arg1 ) |
Write a value to a drag/slider widget. This overload is for signed integers.
None meshlib.mrviewerpy.uiWriteValueReal | ( | list[str] | arg0, |
float | arg1 ) |
Write a value to a drag/slider widget. This overload is for real numbers.
None meshlib.mrviewerpy.uiWriteValueString | ( | list[str] | arg0, |
str | arg1 ) |
Write a value to a drag/slider widget. This overload is for strings.
None meshlib.mrviewerpy.uiWriteValueUint | ( | list[str] | arg0, |
int | arg1 ) |
Write a value to a drag/slider widget. This overload is for unsigned integers.
None meshlib.mrviewerpy.unselectAll | ( | ) |
unselect all objects in scene tree