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

#include <vtkMaskedGlyph3D.h>

Inheritance diagram for vtkMaskedGlyph3D:
Collaboration diagram for vtkMaskedGlyph3D:

Public Member Functions

 vtkTypeMacro (vtkMaskedGlyph3D, vtkGlyph3D)
 
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 ()
 
void SetInputConnection (vtkAlgorithmOutput *input) override
 

Static Public Member Functions

static vtkMaskedGlyph3DNew ()
 

Protected Member Functions

 vtkMaskedGlyph3D ()
 
 ~vtkMaskedGlyph3D () override
 
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) 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 31 of file vtkMaskedGlyph3D.h.

Constructor & Destructor Documentation

◆ vtkMaskedGlyph3D()

vtkMaskedGlyph3D::vtkMaskedGlyph3D ( )
protected

Definition at line 21 of file vtkMaskedGlyph3D.cpp.

References MaskPoints, MaximumNumberOfPoints, and UseMaskPoints.

◆ ~vtkMaskedGlyph3D()

vtkMaskedGlyph3D::~vtkMaskedGlyph3D ( )
overrideprotected

Definition at line 30 of file vtkMaskedGlyph3D.cpp.

References MaskPoints.

Member Function Documentation

◆ GetRandomMode()

int vtkMaskedGlyph3D::GetRandomMode ( )

Definition at line 55 of file vtkMaskedGlyph3D.cpp.

References MaskPoints.

◆ New()

static vtkMaskedGlyph3D* vtkMaskedGlyph3D::New ( )
static

Constructor

Referenced by mitk::VectorImageMapper2D::Paint().

◆ PrintSelf()

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

Definition at line 80 of file vtkMaskedGlyph3D.cpp.

References UseMaskPoints.

◆ RequestData()

int vtkMaskedGlyph3D::RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
overrideprotected

Definition at line 60 of file vtkMaskedGlyph3D.cpp.

References MaskPoints, MaximumNumberOfPoints, and UseMaskPoints.

◆ SetInput()

void vtkMaskedGlyph3D::SetInput ( vtkDataSet *  input)
virtual

Set the input to this filter.

Definition at line 38 of file vtkMaskedGlyph3D.cpp.

References MaskPoints.

Referenced by mitk::VectorImageMapper2D::Paint().

◆ SetInputConnection()

void vtkMaskedGlyph3D::SetInputConnection ( vtkAlgorithmOutput *  input)
override

Definition at line 44 of file vtkMaskedGlyph3D.cpp.

References MaskPoints.

◆ SetRandomMode()

void vtkMaskedGlyph3D::SetRandomMode ( int  mode)

Set/get flag to cause randomization of which points to mask.

Definition at line 50 of file vtkMaskedGlyph3D.cpp.

References MaskPoints.

Referenced by mitk::VectorImageMapper2D::Paint().

◆ vtkGetMacro() [1/2]

vtkMaskedGlyph3D::vtkGetMacro ( MaximumNumberOfPoints  ,
int   
)

◆ vtkGetMacro() [2/2]

vtkMaskedGlyph3D::vtkGetMacro ( UseMaskPoints  ,
int   
)

◆ vtkSetMacro() [1/2]

vtkMaskedGlyph3D::vtkSetMacro ( MaximumNumberOfPoints  ,
int   
)

Limit the number of points to glyph

◆ vtkSetMacro() [2/2]

vtkMaskedGlyph3D::vtkSetMacro ( UseMaskPoints  ,
int   
)

Set/get whether to mask points

◆ vtkTypeMacro()

vtkMaskedGlyph3D::vtkTypeMacro ( vtkMaskedGlyph3D  ,
vtkGlyph3D   
)

Member Data Documentation

◆ MaskPoints

vtkMaskPoints* vtkMaskedGlyph3D::MaskPoints
protected

◆ MaximumNumberOfPoints

int vtkMaskedGlyph3D::MaximumNumberOfPoints
protected

Definition at line 76 of file vtkMaskedGlyph3D.h.

Referenced by RequestData(), and vtkMaskedGlyph3D().

◆ UseMaskPoints

int vtkMaskedGlyph3D::UseMaskPoints
protected

Definition at line 77 of file vtkMaskedGlyph3D.h.

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


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