Conversation
bia-bia
force-pushed
the
fix/cell_size_filter
branch
from
September 17, 2026 04:34
588f87f to
e7a859a
Compare
bia-bia
force-pushed
the
fix/cell_size_filter
branch
from
September 17, 2026 04:39
e7a859a to
668fcec
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
针对测试反馈对 CellSizeFilter(计算单元尺寸)进行三项改进:
0改为NaN,区分"属性不适用"与"真实零尺寸"GetComputedCellCount(),UI 成功弹窗显示已计算单元数量;属性输出语义
对任何支持的网格统一输出三个
IG_CELL标量属性:LengthAreaVolume每个 cell 只填本维度属性,其余两个维度为
NaN(不适用);0仅表示真实计算结果(如退化单元)。改动文件
iGameCore/Filters/CellSize/iGameCellSizeFilter.{h,cpp}Examples/Filter/FeatureExtraction/CellSizeExtraction.cpp新增
Examples/Models/CellSize_TetraCube.vtk新增
Examples/Models/CellSize_MixedTypes.vtk新增
doc/FilterUserNotice/CellSizeFilter使用说明.mdQt/src/IQCore/igQtMainWindow.cpp验证
测试程序与igamevis均编译成功
测试模型(体积均可手算校验)
CellSize_TetraCube.vtkCellSize_MixedTypes.vtk两个模型均为 ASCII VTK,在 ParaView 中对比验证完全正确。
实际运行输出