| 58 | } |
| 59 | |
| 60 | int 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 | |
| 80 | void vtkMaskedGlyph3D::PrintSelf(ostream &os, vtkIndent indent) |
| 81 | { |
nothing calls this directly
no test coverage detected