| 39 | } |
| 40 | |
| 41 | void mitk::SlicedData::UpdateOutputInformation() |
| 42 | { |
| 43 | Superclass::UpdateOutputInformation(); |
| 44 | |
| 45 | if (this->GetSource().IsNull()) |
| 46 | // If we don't have a source, then let's make our Image |
| 47 | // span our buffer |
| 48 | { |
| 49 | m_UseLargestPossibleRegion = true; |
| 50 | } |
| 51 | |
| 52 | // Now we should know what our largest possible region is. If our |
| 53 | // requested region was not set yet, (or has been set to something |
| 54 | // invalid - with no data in it ) then set it to the largest possible |
| 55 | // region. |
| 56 | if (!m_RequestedRegionInitialized) |
| 57 | { |
| 58 | this->SetRequestedRegionToLargestPossibleRegion(); |
| 59 | m_RequestedRegionInitialized = true; |
| 60 | } |
| 61 | |
| 62 | m_LastRequestedRegionWasOutsideOfTheBufferedRegion = false; |
| 63 | } |
| 64 | |
| 65 | void mitk::SlicedData::PrepareForNewData() |
| 66 | { |
nothing calls this directly
no test coverage detected