extended API for vtkGlyph3D for better control over glyph placement.
More...
#include <vtkPVGlyphFilter.h>
Inherits vtkGlyph3D.
|
virtual const char * | GetClassName () |
|
virtual int | IsA (const char *type) |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
|
void | SetController (vtkMultiProcessController *) |
| Get/Set the vtkMultiProcessController to use for parallel processing. More...
|
|
virtual vtkMultiProcessController * | GetController () |
| Get/Set the vtkMultiProcessController to use for parallel processing. More...
|
|
|
virtual void | SetGlyphMode (int) |
| Set/Get the mode at which glyphs will be generated. More...
|
|
virtual int | GetGlyphMode () |
| Set/Get the mode at which glyphs will be generated. More...
|
|
|
virtual void | SetStride (int) |
| Set/Get the stride at which to glyph the dataset. More...
|
|
virtual int | GetStride () |
| Set/Get the stride at which to glyph the dataset. More...
|
|
|
virtual void | SetSeed (int) |
| Set/Get Seed used for generating a spatially uniform distribution. More...
|
|
virtual int | GetSeed () |
| Set/Get Seed used for generating a spatially uniform distribution. More...
|
|
|
virtual void | SetMaximumNumberOfSamplePoints (int) |
| Set/Get maximum number of sample points to use to sample the space when GlyphMode is set to SPATIALLY_UNIFORM_DISTRIBUTION. More...
|
|
virtual int | GetMaximumNumberOfSamplePoints () |
| Set/Get maximum number of sample points to use to sample the space when GlyphMode is set to SPATIALLY_UNIFORM_DISTRIBUTION. More...
|
|
|
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
|
virtual int | RequestDataObject (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
|
virtual int | FillInputPortInformation (int, vtkInformation *) |
|
virtual int | FillOutputPortInformation (int, vtkInformation *) |
|
virtual int | IsPointVisible (vtkDataSet *ds, vtkIdType ptId) |
| Returns 1 if point is to be glyped, otherwise returns 0. More...
|
|
bool | IsInputArrayToProcessValid (vtkDataSet *input) |
| Returns true if input Scalars and Vectors are compatible, otherwise returns 0. More...
|
|
bool | UseCellCenters (vtkDataSet *input) |
| Returns true if input Scalars and Vectors are cell attributes, otherwise returns 0. More...
|
|
virtual bool | ExecuteWithCellCenters (vtkDataSet *input, vtkInformationVector *sourceVector, vtkPolyData *output) |
| Method called in RequestData() to do the actual data processing. More...
|
|
extended API for vtkGlyph3D for better control over glyph placement.
vtkPVGlyphFilter extends vtkGlyph3D for adding control over which points are glyphed using GlyphMode
. Three modes are now provided:
- ALL_POINTS: all points in the input dataset are glyphed. This same as using vtkGlyph3D directly.
- EVERY_NTH_POINT: every n-th point in the input dataset when iterated through the input points sequentially is glyphed. For composite datasets, the counter resets every on block. In parallel, independent counter is used on each rank. Use
Stride
to control now may points to skip.
- SPATIALLY_UNIFORM_DISTRIBUTION: points close to a randomly sampled spatial distribution of points are glyphed.
Seed
controls the seed point for the random number generator (vtkMinimalStandardRandomSequence). MaximumNumberOfSamplePoints
can be used to limit the number of sample points used for random sampling. This doesn't not equal the number of points actually glyphed, since that depends on several factors. In parallel, this filter ensures that spatial bounds are collected across all ranks for generating identical sample points.
Definition at line 48 of file vtkPVGlyphFilter.h.
◆ Superclass
◆ GlyphModeType
Enumerator |
---|
ALL_POINTS | |
EVERY_NTH_POINT | |
SPATIALLY_UNIFORM_DISTRIBUTION | |
Definition at line 51 of file vtkPVGlyphFilter.h.
◆ vtkPVGlyphFilter()
vtkPVGlyphFilter::vtkPVGlyphFilter |
( |
| ) |
|
|
protected |
Overridden to create output data of appropriate type.
◆ ~vtkPVGlyphFilter()
vtkPVGlyphFilter::~vtkPVGlyphFilter |
( |
| ) |
|
|
protected |
Overridden to create output data of appropriate type.
◆ GetClassName()
virtual const char* vtkPVGlyphFilter::GetClassName |
( |
| ) |
|
|
virtual |
◆ IsTypeOf()
static int vtkPVGlyphFilter::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
◆ IsA()
virtual int vtkPVGlyphFilter::IsA |
( |
const char * |
type | ) |
|
|
virtual |
◆ SafeDownCast()
◆ PrintSelf()
void vtkPVGlyphFilter::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
◆ New()
◆ SetController()
void vtkPVGlyphFilter::SetController |
( |
vtkMultiProcessController * |
| ) |
|
Get/Set the vtkMultiProcessController to use for parallel processing.
By default, the vtkMultiProcessController::GetGlobalController() will be used.
◆ GetController()
virtual vtkMultiProcessController* vtkPVGlyphFilter::GetController |
( |
| ) |
|
|
virtual |
Get/Set the vtkMultiProcessController to use for parallel processing.
By default, the vtkMultiProcessController::GetGlobalController() will be used.
◆ SetGlyphMode()
virtual void vtkPVGlyphFilter::SetGlyphMode |
( |
int |
| ) |
|
|
virtual |
Set/Get the mode at which glyphs will be generated.
◆ GetGlyphMode()
virtual int vtkPVGlyphFilter::GetGlyphMode |
( |
| ) |
|
|
virtual |
Set/Get the mode at which glyphs will be generated.
◆ SetStride()
virtual void vtkPVGlyphFilter::SetStride |
( |
int |
| ) |
|
|
virtual |
Set/Get the stride at which to glyph the dataset.
Note, only applicable with EVERY_NTH_POINT GlyphMode.
◆ GetStride()
virtual int vtkPVGlyphFilter::GetStride |
( |
| ) |
|
|
virtual |
Set/Get the stride at which to glyph the dataset.
Note, only applicable with EVERY_NTH_POINT GlyphMode.
◆ SetSeed()
virtual void vtkPVGlyphFilter::SetSeed |
( |
int |
| ) |
|
|
virtual |
Set/Get Seed used for generating a spatially uniform distribution.
◆ GetSeed()
virtual int vtkPVGlyphFilter::GetSeed |
( |
| ) |
|
|
virtual |
Set/Get Seed used for generating a spatially uniform distribution.
◆ SetMaximumNumberOfSamplePoints()
virtual void vtkPVGlyphFilter::SetMaximumNumberOfSamplePoints |
( |
int |
| ) |
|
|
virtual |
Set/Get maximum number of sample points to use to sample the space when GlyphMode is set to SPATIALLY_UNIFORM_DISTRIBUTION.
◆ GetMaximumNumberOfSamplePoints()
virtual int vtkPVGlyphFilter::GetMaximumNumberOfSamplePoints |
( |
| ) |
|
|
virtual |
Set/Get maximum number of sample points to use to sample the space when GlyphMode is set to SPATIALLY_UNIFORM_DISTRIBUTION.
◆ ProcessRequest()
virtual int vtkPVGlyphFilter::ProcessRequest |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
virtual |
Overridden to create output data of appropriate type.
◆ RequestData()
virtual int vtkPVGlyphFilter::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
◆ RequestDataObject()
virtual int vtkPVGlyphFilter::RequestDataObject |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
◆ FillInputPortInformation()
virtual int vtkPVGlyphFilter::FillInputPortInformation |
( |
int |
, |
|
|
vtkInformation * |
|
|
) |
| |
|
protectedvirtual |
◆ FillOutputPortInformation()
virtual int vtkPVGlyphFilter::FillOutputPortInformation |
( |
int |
, |
|
|
vtkInformation * |
|
|
) |
| |
|
protectedvirtual |
◆ IsPointVisible()
virtual int vtkPVGlyphFilter::IsPointVisible |
( |
vtkDataSet * |
ds, |
|
|
vtkIdType |
ptId |
|
) |
| |
|
protectedvirtual |
Returns 1 if point is to be glyped, otherwise returns 0.
◆ IsInputArrayToProcessValid()
bool vtkPVGlyphFilter::IsInputArrayToProcessValid |
( |
vtkDataSet * |
input | ) |
|
|
protected |
Returns true if input Scalars and Vectors are compatible, otherwise returns 0.
◆ UseCellCenters()
bool vtkPVGlyphFilter::UseCellCenters |
( |
vtkDataSet * |
input | ) |
|
|
protected |
Returns true if input Scalars and Vectors are cell attributes, otherwise returns 0.
◆ ExecuteWithCellCenters()
virtual bool vtkPVGlyphFilter::ExecuteWithCellCenters |
( |
vtkDataSet * |
input, |
|
|
vtkInformationVector * |
sourceVector, |
|
|
vtkPolyData * |
output |
|
) |
| |
|
protectedvirtual |
Method called in RequestData() to do the actual data processing.
This will apply a Cell Centers before the Glyph. The input
, filling up the output
based on the filter parameters.
◆ GlyphMode
int vtkPVGlyphFilter::GlyphMode |
|
protected |
◆ MaximumNumberOfSamplePoints
int vtkPVGlyphFilter::MaximumNumberOfSamplePoints |
|
protected |
◆ Seed
int vtkPVGlyphFilter::Seed |
|
protected |
◆ Stride
int vtkPVGlyphFilter::Stride |
|
protected |
◆ Controller
vtkMultiProcessController* vtkPVGlyphFilter::Controller |
|
protected |
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/ParaView-v5.2.0/ParaViewCore/VTKExtensions/Default/vtkPVGlyphFilter.h