Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
vtkMaskedGlyph2D Class Reference

#include <vtkMaskedGlyph2D.h>

Inheritance diagram for vtkMaskedGlyph2D:
Collaboration diagram for vtkMaskedGlyph2D:

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 vtkMaskedGlyph2DNew ()
 

Protected Member Functions

 vtkMaskedGlyph2D ()
 
 ~vtkMaskedGlyph2D () override
 
int RequestData (vtkInformation *info, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) override
 

Protected Attributes

vtkMaskPoints * MaskPoints
 
int MaximumNumberOfPoints
 
int UseMaskPoints
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ vtkMaskedGlyph2D()

vtkMaskedGlyph2D::vtkMaskedGlyph2D ( )
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.

◆ ~vtkMaskedGlyph2D()

vtkMaskedGlyph2D::~vtkMaskedGlyph2D ( )
overrideprotected

Definition at line 30 of file vtkMaskedGlyph2D.cpp.

References MaskPoints.

Member Function Documentation

◆ GetRandomMode()

int vtkMaskedGlyph2D::GetRandomMode ( )

Definition at line 49 of file vtkMaskedGlyph2D.cpp.

References MaskPoints.

◆ New()

static vtkMaskedGlyph2D* vtkMaskedGlyph2D::New ( )
static

Constructor

◆ PrintSelf()

void vtkMaskedGlyph2D::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override

Definition at line 74 of file vtkMaskedGlyph2D.cpp.

References UseMaskPoints.

◆ RequestData()

int vtkMaskedGlyph2D::RequestData ( vtkInformation *  info,
vtkInformationVector **  inInfoVec,
vtkInformationVector *  outInfoVec 
)
overrideprotected

Definition at line 54 of file vtkMaskedGlyph2D.cpp.

References MaskPoints, MaximumNumberOfPoints, and UseMaskPoints.

◆ SetInput()

void vtkMaskedGlyph2D::SetInput ( vtkDataSet *  input)
virtual

Set the input to this filter.

Definition at line 38 of file vtkMaskedGlyph2D.cpp.

References MaskPoints.

◆ SetRandomMode()

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.

◆ vtkGetMacro() [1/2]

vtkMaskedGlyph2D::vtkGetMacro ( MaximumNumberOfPoints  ,
int   
)

◆ vtkGetMacro() [2/2]

vtkMaskedGlyph2D::vtkGetMacro ( UseMaskPoints  ,
int   
)

◆ vtkSetMacro() [1/2]

vtkMaskedGlyph2D::vtkSetMacro ( MaximumNumberOfPoints  ,
int   
)

Limit the number of points to glyph

◆ vtkSetMacro() [2/2]

vtkMaskedGlyph2D::vtkSetMacro ( UseMaskPoints  ,
int   
)

Set/get whether to mask points

◆ vtkTypeMacro()

vtkMaskedGlyph2D::vtkTypeMacro ( vtkMaskedGlyph2D  ,
vtkGlyph2D   
)

Member Data Documentation

◆ MaskPoints

vtkMaskPoints* vtkMaskedGlyph2D::MaskPoints
protected

◆ MaximumNumberOfPoints

int vtkMaskedGlyph2D::MaximumNumberOfPoints
protected

Definition at line 97 of file vtkMaskedGlyph2D.h.

Referenced by RequestData(), and vtkMaskedGlyph2D().

◆ UseMaskPoints

int vtkMaskedGlyph2D::UseMaskPoints
protected

Definition at line 98 of file vtkMaskedGlyph2D.h.

Referenced by PrintSelf(), RequestData(), and vtkMaskedGlyph2D().


The documentation for this class was generated from the following files: