| 270 | } |
| 271 | |
| 272 | std::string vtkStatisticalModel::GetTableName(int type, int index) |
| 273 | { |
| 274 | std::string name; |
| 275 | auto* table = this->GetTable(type, index); |
| 276 | if (!table) |
| 277 | { |
| 278 | return name; |
| 279 | } |
| 280 | auto* info = table->GetInformation(); |
| 281 | if (!info) |
| 282 | { |
| 283 | return name; |
| 284 | } |
| 285 | name = info->Get(vtkCompositeDataSet::NAME()); |
| 286 | return name; |
| 287 | } |
| 288 | |
| 289 | vtkTable* vtkStatisticalModel::FindTableByName(int type, const std::string& tableName) |
| 290 | { |