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


Public Member Functions | |
| vtkTypeMacro (vtkMaskedGlyph2D, vtkGlyph2D) | |
| 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... | |
Static Public Member Functions | |
| static vtkMaskedGlyph2D * | New () |
| Create a new instance of vtkMaskedGlyph2D. More... | |
Protected Member Functions | |
| vtkMaskedGlyph2D () | |
| ** More... | |
| ~vtkMaskedGlyph2D () override | |
| int | RequestData (vtkInformation *info, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) override |
Protected Attributes | |
| vtkMaskPoints * | MaskPoints |
| int | MaximumNumberOfPoints |
| int | UseMaskPoints |
VTK filter that masks input points and generates 2D glyphs only for selected points.
Extends vtkGlyph2D 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 31 of file vtkMaskedGlyph2D.h.
|
protected |
**
** **
|
overrideprotected |
| int vtkMaskedGlyph2D::GetRandomMode | ( | ) |
Get the current random masking mode.
|
static |
Create a new instance of vtkMaskedGlyph2D.
|
override |
|
overrideprotected |
|
virtual |
Set the input dataset to this filter.
| [in] | input | The input dataset containing points to glyph. |
| void vtkMaskedGlyph2D::SetRandomMode | ( | int | mode | ) |
Set whether to randomly select which points to mask.
| [in] | mode | Non-zero for random masking, 0 for uniform masking. |
| vtkMaskedGlyph2D::vtkGetMacro | ( | MaximumNumberOfPoints | , |
| int | |||
| ) |
Get the maximum number of points to glyph.
| vtkMaskedGlyph2D::vtkGetMacro | ( | UseMaskPoints | , |
| int | |||
| ) |
Get whether point masking is enabled.
| vtkMaskedGlyph2D::vtkSetMacro | ( | MaximumNumberOfPoints | , |
| int | |||
| ) |
Set the maximum number of points to glyph.
Points exceeding this limit are masked out. Default: all points.
| vtkMaskedGlyph2D::vtkSetMacro | ( | UseMaskPoints | , |
| int | |||
| ) |
Set whether to enable point masking. Non-zero to enable, 0 to disable.
| vtkMaskedGlyph2D::vtkTypeMacro | ( | vtkMaskedGlyph2D | , |
| vtkGlyph2D | |||
| ) |
|
protected |
Definition at line 108 of file vtkMaskedGlyph2D.h.
|
protected |
Definition at line 109 of file vtkMaskedGlyph2D.h.
|
protected |
Definition at line 110 of file vtkMaskedGlyph2D.h.