------------------------------------------------------------------------------
| 465 | |
| 466 | //------------------------------------------------------------------------------ |
| 467 | std::string vtkObjectManager::GetState(vtkTypeUInt32 identifier) |
| 468 | { |
| 469 | auto state = this->Context->GetState(identifier); |
| 470 | if (!state.empty() && !state.is_null()) |
| 471 | { |
| 472 | return state.dump(); |
| 473 | } |
| 474 | else |
| 475 | { |
| 476 | return ""; |
| 477 | } |
| 478 | } |
| 479 | |
| 480 | //------------------------------------------------------------------------------ |
| 481 | vtkSmartPointer<vtkObjectBase> vtkObjectManager::GetObjectAtId(vtkTypeUInt32 identifier) |