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

Method GetVtkImageData

Modules/Core/src/DataManagement/mitkImage.cpp:136–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136vtkImageData *mitk::Image::GetVtkImageData(int t, int n)
137{
138 if (m_Initialized == false)
139 {
140 if (GetSource().IsNull())
141 return nullptr;
142 if (GetSource()->Updating() == false)
143 GetSource()->UpdateOutputInformation();
144 }
145 ImageDataItemPointer volume = GetVolumeData(t, n);
146 return volume.GetPointer() == nullptr ? nullptr : volume->GetVtkImageAccessor(this)->GetVtkImageData();
147}
148
149const vtkImageData *mitk::Image::GetVtkImageData(int t, int n) const
150{

Callers 15

StartRegionGrowingMethod · 0.45
mainFunction · 0.45
UpdateSurfaceMappingMethod · 0.45
InternalProcessingMethod · 0.45
GetInputImageMethod · 0.45
DoCalculateFeaturesMethod · 0.45
DoCalculateFeaturesMethod · 0.45
DoCalculateFeaturesMethod · 0.45
GenerateDataMethod · 0.45
GenerateDataMethod · 0.45

Calls 5

UpdatingMethod · 0.80
GetPointerMethod · 0.80
GetVtkImageAccessorMethod · 0.80
IsNullMethod · 0.45

Tested by 7

testRoutineMethod · 0.36
mitkImageTestFunction · 0.36