* \brief Return the BaseGeometry of the data at time step \a t as a non-const pointer. * * \warning No update will be called. Use GetUpdatedGeometry() if you cannot * be sure that the geometry is up-to-date. * * Normally used in GenerateOutputInformation of subclasses of BaseProcess. * * \param[in] t The time step for which to retrieve the geometry (default: 0).
| 222 | * \sa GetUpdatedGeometry, GetTimeGeometry |
| 223 | */ |
| 224 | mitk::BaseGeometry *GetGeometry(int t = 0) const |
| 225 | { |
| 226 | if (m_TimeGeometry.IsNull()) |
| 227 | return nullptr; |
| 228 | return m_TimeGeometry->GetGeometryForTimeStep(t); |
| 229 | } |
| 230 | |
| 231 | /** |
| 232 | * \brief Update the information for this BaseData so that it can be used as |
no test coverage detected