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

Method GetMapper

Modules/Core/src/DataManagement/mitkDataNode.cpp:35–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35mitk::Mapper *mitk::DataNode::GetMapper(MapperSlotId id) const
36{
37 if ((id >= m_Mappers.size()) || (m_Mappers[id].IsNull()))
38 {
39 if (id >= m_Mappers.capacity())
40 {
41 // int i, size=id-m_Mappers.capacity()+10;
42 m_Mappers.resize(id + 10);
43 }
44 m_Mappers[id] = CoreObjectFactory::GetInstance()->CreateMapper(const_cast<DataNode *>(this), id);
45 }
46 return m_Mappers[id];
47}
48
49mitk::BaseData *mitk::DataNode::GetData() const
50{

Callers 15

GetVtkPropMethod · 0.80
GetSplinesPolyDataMethod · 0.80
UpdateVtkObjectsMethod · 0.80
PickFrom2DMethod · 0.80
PickFrom3DMethod · 0.80
TestMapperSettingMethod · 0.80
ProcessNodeMethod · 0.80
PrepareMapperQueueMethod · 0.80
UpdateMethod · 0.80
PickObjectMethod · 0.80
UpdatePathsMethod · 0.80

Calls 3

sizeMethod · 0.45
IsNullMethod · 0.45
CreateMapperMethod · 0.45

Tested by 2

TestMapperSettingMethod · 0.64
AreMappersEqualMethod · 0.64