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

Method RequestData

Modules/MapperExt/src/vtkMaskedGlyph3D.cpp:60–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60int vtkMaskedGlyph3D::RequestData(vtkInformation *request,
61 vtkInformationVector **inputVector,
62 vtkInformationVector *outputVector)
63{
64 if (this->UseMaskPoints)
65 {
66 this->Superclass::SetInputConnection(this->MaskPoints->GetOutputPort());
67 vtkIdType numPts = this->MaskPoints->GetPolyDataInput(0)->GetNumberOfPoints();
68 this->MaskPoints->SetMaximumNumberOfPoints(MaximumNumberOfPoints);
69 this->MaskPoints->SetOnRatio(numPts / MaximumNumberOfPoints);
70 this->MaskPoints->Update();
71 }
72 else
73 {
74 this->Superclass::SetInputData(this->MaskPoints->GetInput());
75 }
76
77 return this->Superclass::RequestData(request, inputVector, outputVector);
78}
79
80void vtkMaskedGlyph3D::PrintSelf(ostream &os, vtkIndent indent)
81{

Callers

nothing calls this directly

Calls 3

GetNumberOfPointsMethod · 0.80
UpdateMethod · 0.45
GetInputMethod · 0.45

Tested by

no test coverage detected