MCPcopy Create free account
hub / github.com/MITK/MITK / UpdateOutputInformation

Method UpdateOutputInformation

Modules/Core/src/DataManagement/mitkSlicedData.cpp:41–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void 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
65void mitk::SlicedData::PrepareForNewData()
66{

Callers

nothing calls this directly

Calls 3

IsNullMethod · 0.45
GetSourceMethod · 0.45

Tested by

no test coverage detected