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

Method GetVtkPolyData

Modules/Core/src/DataManagement/mitkSurface.cpp:140–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140vtkPolyData *mitk::Surface::GetVtkPolyData(unsigned int t) const
141{
142 if (t < m_PolyDatas.size())
143 {
144 if (m_PolyDatas[t] == nullptr && this->GetSource().IsNotNull())
145 {
146 RegionType requestedRegion;
147 requestedRegion.SetIndex(3, t);
148 requestedRegion.SetSize(3, 1);
149 this->m_RequestedRegion = requestedRegion;
150 this->GetSource()->Update();
151 }
152
153 return m_PolyDatas[t].GetPointer();
154 }
155
156 return nullptr;
157}
158
159void mitk::Surface::UpdateOutputInformation()
160{

Calls 7

IsNotNullMethod · 0.80
SetIndexMethod · 0.80
GetPointerMethod · 0.80
sizeMethod · 0.45
GetSourceMethod · 0.45
SetSizeMethod · 0.45
UpdateMethod · 0.45