Medical Imaging Interaction Toolkit  2016.11.0
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 ()
 
virtual void SetInputConnection (vtkAlgorithmOutput *input) override
 

Static Public Member Functions

static vtkMaskedGlyph3DNew ()
 

Protected Member Functions

 vtkMaskedGlyph3D ()
 
 ~vtkMaskedGlyph3D ()
 
virtual 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 35 of file vtkMaskedGlyph3D.h.

Constructor & Destructor Documentation

vtkMaskedGlyph3D::vtkMaskedGlyph3D ( )
protected

Definition at line 25 of file vtkMaskedGlyph3D.cpp.

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

vtkMaskedGlyph3D::~vtkMaskedGlyph3D ( )
protected

Definition at line 34 of file vtkMaskedGlyph3D.cpp.

References MaskPoints.

Member Function Documentation

int vtkMaskedGlyph3D::GetRandomMode ( )

Definition at line 59 of file vtkMaskedGlyph3D.cpp.

References MaskPoints.

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

Definition at line 84 of file vtkMaskedGlyph3D.cpp.

References UseMaskPoints.

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

Definition at line 64 of file vtkMaskedGlyph3D.cpp.

References MaskPoints, MaximumNumberOfPoints, and UseMaskPoints.

void vtkMaskedGlyph3D::SetInput ( vtkDataSet *  input)
virtual

Set the input to this filter.

Definition at line 42 of file vtkMaskedGlyph3D.cpp.

References MaskPoints.

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

void vtkMaskedGlyph3D::SetInputConnection ( vtkAlgorithmOutput *  input)
overridevirtual

Definition at line 48 of file vtkMaskedGlyph3D.cpp.

References MaskPoints.

void vtkMaskedGlyph3D::SetRandomMode ( int  mode)

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

Definition at line 54 of file vtkMaskedGlyph3D.cpp.

References MaskPoints.

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

vtkMaskedGlyph3D::vtkGetMacro ( MaximumNumberOfPoints  ,
int   
)
vtkMaskedGlyph3D::vtkGetMacro ( UseMaskPoints  ,
int   
)
vtkMaskedGlyph3D::vtkSetMacro ( MaximumNumberOfPoints  ,
int   
)

Limit the number of points to glyph

vtkMaskedGlyph3D::vtkSetMacro ( UseMaskPoints  ,
int   
)

Set/get whether to mask points

vtkMaskedGlyph3D::vtkTypeMacro ( vtkMaskedGlyph3D  ,
vtkGlyph3D   
)

Member Data Documentation

vtkMaskPoints* vtkMaskedGlyph3D::MaskPoints
protected
int vtkMaskedGlyph3D::MaximumNumberOfPoints
protected

Definition at line 80 of file vtkMaskedGlyph3D.h.

Referenced by RequestData(), and vtkMaskedGlyph3D().

int vtkMaskedGlyph3D::UseMaskPoints
protected

Definition at line 81 of file vtkMaskedGlyph3D.h.

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


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