MCPcopy Create free account
hub / github.com/Kitware/VTK / CopyTail

Method CopyTail

Filters/ParallelFlowPaths/vtkPStreamTracer.cxx:246–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244 vtkPolyData* GetTail() { return this->Tail; }
245
246 void CopyTail(PStreamTracerPoint* other)
247 {
248 if (other->Tail)
249 {
250 vtkPointData* pd = other->Tail->GetPointData();
251 if (!this->Tail)
252 {
253 AllocateTail(pd);
254 }
255 this->Tail->GetPointData()->DeepCopy(pd);
256 }
257 else
258 {
259 Tail = nullptr;
260 }
261 }
262
263 // allocate a one point vtkPolyData whose PointData setup matches pd
264 void AllocateTail(vtkPointData* pd)

Callers 1

NewTaskInstanceMethod · 0.80

Calls 2

GetPointDataMethod · 0.45
DeepCopyMethod · 0.45

Tested by

no test coverage detected