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

Method SetVtkPolyData

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

Source from the content-addressed store, hash-verified

107}
108
109void mitk::Surface::SetVtkPolyData(vtkPolyData *polyData, unsigned int t)
110{
111 this->Expand(t + 1);
112
113 if (m_PolyDatas[t] != nullptr)
114 {
115 if (m_PolyDatas[t].GetPointer() == polyData)
116 return;
117 }
118
119 m_PolyDatas[t].TakeReference(polyData);
120
121 if (polyData != nullptr)
122 polyData->Register(nullptr);
123
124 m_CalculateBoundingBox = true;
125
126 this->Modified();
127 this->UpdateOutputInformation();
128}
129
130bool mitk::Surface::IsEmptyTimeStep(unsigned int t) const
131{

Callers 15

ExecuteOperationMethod · 0.95
StartRegionGrowingMethod · 0.80
DeepCopyMethod · 0.80
GenerateDataMethod · 0.80
InternalProcessingMethod · 0.80
CreateTestSurfaceMethod · 0.80
InterpolateMethod · 0.80
GetNormalsAsSurfaceMethod · 0.80
GenerateDataMethod · 0.80
setUpMethod · 0.80
CreateContourMethod · 0.80

Calls 5

ExpandMethod · 0.95
GetPointerMethod · 0.80
RegisterMethod · 0.45
ModifiedMethod · 0.45