Medical Imaging Interaction Toolkit  2016.11.0
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 ()
 
virtual 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 34 of file vtkMaskedGlyph2D.h.

Constructor & Destructor Documentation

vtkMaskedGlyph2D::vtkMaskedGlyph2D ( )
protected

If you want to use an arbitrary scalars array, then set its name here. By default this in NULL 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 NULL 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 NULL and the filter will use the active normal array.

Definition at line 25 of file vtkMaskedGlyph2D.cpp.

References MaskPoints, MaximumNumberOfPoints, mitk::New(), and UseMaskPoints.

vtkMaskedGlyph2D::~vtkMaskedGlyph2D ( )
protected

Definition at line 34 of file vtkMaskedGlyph2D.cpp.

References MaskPoints.

Member Function Documentation

int vtkMaskedGlyph2D::GetRandomMode ( )

Definition at line 53 of file vtkMaskedGlyph2D.cpp.

References MaskPoints.

static vtkMaskedGlyph2D* vtkMaskedGlyph2D::New ( )
static

Constructor

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

Definition at line 78 of file vtkMaskedGlyph2D.cpp.

References UseMaskPoints.

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

Definition at line 58 of file vtkMaskedGlyph2D.cpp.

References MaskPoints, MaximumNumberOfPoints, and UseMaskPoints.

void vtkMaskedGlyph2D::SetInput ( vtkDataSet *  input)
virtual

Set the input to this filter.

Definition at line 42 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 48 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   
)

Member Data Documentation

vtkMaskPoints* vtkMaskedGlyph2D::MaskPoints
protected
int vtkMaskedGlyph2D::MaximumNumberOfPoints
protected

Definition at line 101 of file vtkMaskedGlyph2D.h.

Referenced by RequestData(), and vtkMaskedGlyph2D().

int vtkMaskedGlyph2D::UseMaskPoints
protected

Definition at line 102 of file vtkMaskedGlyph2D.h.

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


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