| 81 | |
| 82 | #if VTK_DBG_ASSEMBLY |
| 83 | int modelCardinality(vtkStatisticalModel* model) |
| 84 | { |
| 85 | if (!model || model->GetNumberOfTables(0) <= 0) |
| 86 | { |
| 87 | return 0; |
| 88 | } |
| 89 | vtkTable* tab = model->GetTable(0, 0); |
| 90 | return tab->GetValueByName(0, "Cardinality").ToInt(); |
| 91 | } |
| 92 | #endif // VTK_DBG_ASSEMBLY |
| 93 | |
| 94 | #if VTK_DBG_MODELDATA |
no test coverage detected