MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / if

Function if

source/MRViewer/ImGuiMenu.cpp:1500–1508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1498 }
1499#ifndef MRVIEWER_NO_VOXELS
1500 else if ( auto vObj = obj->asType<ObjectVoxels>() )
1501 {
1502 updateVoxelsInfo( voxelDims, vObj->dimensions() );
1503 updateVoxelsInfo( voxelSize, vObj->voxelSize() );
1504 updateVoxelsInfo( voxelActiveBox, vObj->getActiveBounds() );
1505 updateVoxelsInfo( voxelMinValue, vObj->vdbVolume().min, FLT_MAX );
1506 updateVoxelsInfo( voxelIsoValue, vObj->getIsoValue(), FLT_MAX );
1507 updateVoxelsInfo( voxelMaxValue, vObj->vdbVolume().max, FLT_MAX );
1508 }
1509#endif
1510 }
1511

Callers 6

drawCustomizeModal_Method · 0.70
makeObjectTreeFromFolderFunction · 0.70
updateMethod · 0.70
drawMethod · 0.70
enableAlphaSortMethod · 0.70
gtkDialogFunction · 0.70

Calls 1

voxelSizeMethod · 0.80

Tested by

no test coverage detected