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

Method Initialize

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

Source from the content-addressed store, hash-verified

746}
747
748void mitk::Image::Initialize()
749{
750 ImageDataItemPointerArray::iterator it, end;
751 for (it = m_Slices.begin(), end = m_Slices.end(); it != end; ++it)
752 {
753 (*it) = nullptr;
754 }
755 for (it = m_Volumes.begin(), end = m_Volumes.end(); it != end; ++it)
756 {
757 (*it) = nullptr;
758 }
759 for (it = m_Channels.begin(), end = m_Channels.end(); it != end; ++it)
760 {
761 (*it) = nullptr;
762 }
763 m_CompleteData = nullptr;
764
765 if (m_ImageStatistics == nullptr)
766 {
767 m_ImageStatistics = new mitk::ImageStatisticsHolder(this);
768 }
769
770 SetRequestedRegionToLargestPossibleRegion();
771}
772
773void mitk::Image::Initialize(const mitk::ImageDescriptor::Pointer inDesc)
774{

Callers 9

ImageMethod · 0.95
SetGeometryMethod · 0.45
SetGeometryMethod · 0.45
TransferFunctionMethod · 0.45
InitializeByMitkImageMethod · 0.45
SetCtBlackWhiteModeMethod · 0.45
SetPlaneGeometryMethod · 0.45

Calls 15

InitializeFunction · 0.85
FillVector3DFunction · 0.85
GetChannelDescriptorMethod · 0.80
GetDimensionsMethod · 0.80
SetIndexMethod · 0.80
AddNewChannelMethod · 0.80
GetPointerMethod · 0.80
NewFunction · 0.50
GetNumberOfChannelsFunction · 0.50

Tested by

no test coverage detected