15 #include "vtkMaskPoints.h" 16 #include "vtkObjectFactory.h" 17 #include "vtkPolyData.h" 23 this->SetColorModeToColorByScalar();
24 this->SetScaleModeToScaleByVector();
41 this->Superclass::SetInputConnection(this->
MaskPoints->GetOutputPort());
47 this->Superclass::SetInputConnection(this->
MaskPoints->GetOutputPort());
61 vtkInformationVector **inputVector,
62 vtkInformationVector *outputVector)
66 this->Superclass::SetInputConnection(this->
MaskPoints->GetOutputPort());
67 vtkIdType numPts = this->
MaskPoints->GetPolyDataInput(0)->GetNumberOfPoints();
74 this->Superclass::SetInputData(this->
MaskPoints->GetInput());
77 return this->Superclass::RequestData(request, inputVector, outputVector);
82 this->Superclass::PrintSelf(os, indent);
84 os << indent <<
"MaximumNumberOfPoints: " << this->GetMaximumNumberOfPoints() << endl;
86 os << indent <<
"UseMaskPoints: " << (this->
UseMaskPoints ?
"on" :
"off") << endl;
vtkMaskPoints * MaskPoints
void PrintSelf(ostream &os, vtkIndent indent) override
void SetInputConnection(vtkAlgorithmOutput *input) override
int MaximumNumberOfPoints
void SetRandomMode(int mode)
~vtkMaskedGlyph3D() override
virtual void SetInput(vtkDataSet *input)
vtkStandardNewMacro(vtkMaskedGlyph3D)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override