|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
VTK filter that masks input points and generates 3D glyphs only for selected points. More...
#include <vtkMaskedGlyph3D.h>


Public Member Functions | |
| vtkTypeMacro (vtkMaskedGlyph3D, vtkGlyph3D) | |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| vtkSetMacro (MaximumNumberOfPoints, int) | |
| Set the maximum number of points to glyph. More... | |
| vtkGetMacro (MaximumNumberOfPoints, int) | |
| Get the maximum number of points to glyph. More... | |
| virtual void | SetInput (vtkDataSet *input) |
| Set the input dataset to this filter. More... | |
| vtkSetMacro (UseMaskPoints, int) | |
| Set whether to enable point masking. Non-zero to enable, 0 to disable. More... | |
| vtkGetMacro (UseMaskPoints, int) | |
| Get whether point masking is enabled. More... | |
| void | SetRandomMode (int mode) |
| Set whether to randomly select which points to mask. More... | |
| int | GetRandomMode () |
| Get the current random masking mode. More... | |
| void | SetInputConnection (vtkAlgorithmOutput *input) override |
| Set the input connection for the VTK pipeline. More... | |
Static Public Member Functions | |
| static vtkMaskedGlyph3D * | New () |
| Create a new instance of vtkMaskedGlyph3D. More... | |
Protected Member Functions | |
| vtkMaskedGlyph3D () | |
| ~vtkMaskedGlyph3D () override | |
| int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override |
Protected Attributes | |
| vtkMaskPoints * | MaskPoints |
| int | MaximumNumberOfPoints |
| int | UseMaskPoints |
VTK filter that masks input points and generates 3D glyphs only for selected points.
Extends vtkGlyph3D by adding point masking functionality. Points may be selected by random sampling or by ratio to limit the number of glyphs rendered, which is useful for large datasets where rendering all glyphs would be too slow.
Definition at line 32 of file vtkMaskedGlyph3D.h.
|
protected |
|
overrideprotected |
| int vtkMaskedGlyph3D::GetRandomMode | ( | ) |
Get the current random masking mode.
|
static |
Create a new instance of vtkMaskedGlyph3D.
|
override |
|
overrideprotected |
|
virtual |
Set the input dataset to this filter.
| [in] | input | The input dataset containing points to glyph. |
|
override |
Set the input connection for the VTK pipeline.
| [in] | input | The algorithm output port to connect as input. |
| void vtkMaskedGlyph3D::SetRandomMode | ( | int | mode | ) |
Set whether to randomly select which points to mask.
| [in] | mode | Non-zero for random masking, 0 for uniform masking. |
| vtkMaskedGlyph3D::vtkGetMacro | ( | MaximumNumberOfPoints | , |
| int | |||
| ) |
Get the maximum number of points to glyph.
| vtkMaskedGlyph3D::vtkGetMacro | ( | UseMaskPoints | , |
| int | |||
| ) |
Get whether point masking is enabled.
| vtkMaskedGlyph3D::vtkSetMacro | ( | MaximumNumberOfPoints | , |
| int | |||
| ) |
Set the maximum number of points to glyph.
| vtkMaskedGlyph3D::vtkSetMacro | ( | UseMaskPoints | , |
| int | |||
| ) |
Set whether to enable point masking. Non-zero to enable, 0 to disable.
| vtkMaskedGlyph3D::vtkTypeMacro | ( | vtkMaskedGlyph3D | , |
| vtkGlyph3D | |||
| ) |
|
protected |
Definition at line 87 of file vtkMaskedGlyph3D.h.
|
protected |
Definition at line 88 of file vtkMaskedGlyph3D.h.
|
protected |
Definition at line 89 of file vtkMaskedGlyph3D.h.