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

Method Initialize

Filters/FlowPaths/vtkParticlePathFilter.cxx:59–72  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

57
58//------------------------------------------------------------------------------
59int vtkParticlePathFilter::Initialize(
60 vtkInformation* request, vtkInformationVector** inputVector, vtkInformationVector* outputVector)
61{
62 int retVal = this->Superclass::Initialize(request, inputVector, outputVector);
63
64 this->Paths.clear();
65
66 this->Points = vtkSmartPointer<vtkPointSet>::New();
67 vtkNew<vtkPoints> points;
68 this->Points->SetPoints(points);
69 this->Points->GetPointData()->CopyAllocate(this->OutputPointData);
70
71 return retVal;
72}
73
74//------------------------------------------------------------------------------
75int vtkParticlePathFilter::Execute(

Callers 1

FinalizeMethod · 0.45

Calls 5

NewFunction · 0.50
clearMethod · 0.45
SetPointsMethod · 0.45
CopyAllocateMethod · 0.45
GetPointDataMethod · 0.45

Tested by

no test coverage detected