Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <vtkMaskedGlyph2D.h>
Public Member Functions | |
vtkTypeMacro (vtkMaskedGlyph2D, vtkGlyph2D) | |
void | PrintSelf (ostream &os, vtkIndent indent) override |
vtkSetMacro (MaximumNumberOfPoints, int) | |
vtkGetMacro (MaximumNumberOfPoints, int) | |
virtual void | SetInput (vtkDataSet *input) |
vtkSetMacro (UseMaskPoints, int) | |
vtkGetMacro (UseMaskPoints, int) | |
void | SetRandomMode (int mode) |
int | GetRandomMode () |
Static Public Member Functions | |
static vtkMaskedGlyph2D * | New () |
Protected Member Functions | |
vtkMaskedGlyph2D () | |
~vtkMaskedGlyph2D () override | |
int | RequestData (vtkInformation *info, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) override |
Protected Attributes | |
vtkMaskPoints * | MaskPoints |
int | MaximumNumberOfPoints |
int | UseMaskPoints |
This class masked points of the input data set and glyphs only the selected poitns. Points may be selected either by random or by ratio. Additionally, this class allows to set the InputScalars, InputVectors and InputNormals by their field name in the input dataset.
Definition at line 30 of file vtkMaskedGlyph2D.h.
|
protected |
If you want to use an arbitrary scalars array, then set its name here. By default this in nullptr and the filter will use the active scalar array. If you want to use an arbitrary vectors array, then set its name here. By default this in nullptr and the filter will use the active vector array. If you want to use an arbitrary normals array, then set its name here. By default this in nullptr and the filter will use the active normal array.
Definition at line 21 of file vtkMaskedGlyph2D.cpp.
References MaskPoints, MaximumNumberOfPoints, and UseMaskPoints.
|
overrideprotected |
Definition at line 30 of file vtkMaskedGlyph2D.cpp.
References MaskPoints.
int vtkMaskedGlyph2D::GetRandomMode | ( | ) |
Definition at line 49 of file vtkMaskedGlyph2D.cpp.
References MaskPoints.
|
static |
Constructor
|
override |
Definition at line 74 of file vtkMaskedGlyph2D.cpp.
References UseMaskPoints.
|
overrideprotected |
Definition at line 54 of file vtkMaskedGlyph2D.cpp.
References MaskPoints, MaximumNumberOfPoints, and UseMaskPoints.
|
virtual |
Set the input to this filter.
Definition at line 38 of file vtkMaskedGlyph2D.cpp.
References MaskPoints.
void vtkMaskedGlyph2D::SetRandomMode | ( | int | mode | ) |
Set/get flag to cause randomization of which points to mask.
Definition at line 44 of file vtkMaskedGlyph2D.cpp.
References MaskPoints.
vtkMaskedGlyph2D::vtkGetMacro | ( | MaximumNumberOfPoints | , |
int | |||
) |
vtkMaskedGlyph2D::vtkGetMacro | ( | UseMaskPoints | , |
int | |||
) |
vtkMaskedGlyph2D::vtkSetMacro | ( | MaximumNumberOfPoints | , |
int | |||
) |
Limit the number of points to glyph
vtkMaskedGlyph2D::vtkSetMacro | ( | UseMaskPoints | , |
int | |||
) |
Set/get whether to mask points
vtkMaskedGlyph2D::vtkTypeMacro | ( | vtkMaskedGlyph2D | , |
vtkGlyph2D | |||
) |
|
protected |
Definition at line 96 of file vtkMaskedGlyph2D.h.
Referenced by GetRandomMode(), RequestData(), SetInput(), SetRandomMode(), vtkMaskedGlyph2D(), and ~vtkMaskedGlyph2D().
|
protected |
Definition at line 97 of file vtkMaskedGlyph2D.h.
Referenced by RequestData(), and vtkMaskedGlyph2D().
|
protected |
Definition at line 98 of file vtkMaskedGlyph2D.h.
Referenced by PrintSelf(), RequestData(), and vtkMaskedGlyph2D().