Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkPVGlyphFilter Class Reference

extended API for vtkGlyph3D for better control over glyph placement. More...

#include <vtkPVGlyphFilter.h>

Inheritance diagram for vtkPVGlyphFilter:
Inheritance graph
[legend]
Collaboration diagram for vtkPVGlyphFilter:
Collaboration graph
[legend]

Public Types

enum  VectorScaleMode { SCALE_BY_MAGNITUDE, SCALE_BY_COMPONENTS }
 
enum  GlyphModeType {
  ALL_POINTS, EVERY_NTH_POINT, SPATIALLY_UNIFORM_DISTRIBUTION, SPATIALLY_UNIFORM_INVERSE_TRANSFORM_SAMPLING_SURFACE,
  SPATIALLY_UNIFORM_INVERSE_TRANSFORM_SAMPLING_VOLUME
}
 
typedef vtkPolyDataAlgorithm Superclass
 
- Public Types inherited from vtkPolyDataAlgorithm
typedef vtkAlgorithm Superclass
 
- Public Types inherited from vtkAlgorithm
enum  DesiredOutputPrecision
 
enum  DesiredOutputPrecision
 
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void SetVectorScaleMode (int)
 Get/set the vector scaling mode. More...
 
virtual int GetVectorScaleMode ()
 
vtkMTimeType GetMTime () override
 Overridden to include SourceTransform's MTime. More...
 
virtual void SetScaleFactor (double)
 Set/get scale factor used to change the size of glyphs. More...
 
virtual double GetScaleFactor ()
 
int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
 Overridden to create output data of appropriate type. More...
 
void SetSourceConnection (int id, vtkAlgorithmOutput *algOutput)
 Specify a source object at a specified table location. More...
 
void SetSourceConnection (vtkAlgorithmOutput *algOutput)
 Specify a source object at a specified table location. More...
 
void SetController (vtkMultiProcessController *)
 Get/Set the vtkMultiProcessController to use for parallel processing. More...
 
virtual vtkMultiProcessControllerGetController ()
 Get/Set the vtkMultiProcessController to use for parallel processing. More...
 
void SetSourceTransform (vtkTransform *)
 When set, this is use to transform the source polydata before using it to generate the glyph. More...
 
virtual vtkTransformGetSourceTransform ()
 When set, this is use to transform the source polydata before using it to generate the glyph. More...
 
virtual void SetOutputPointsPrecision (int)
 Set/get the desired precision for the output types. More...
 
virtual int GetOutputPointsPrecision ()
 Set/get the desired precision for the output types. 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_*. More...
 
virtual int GetMaximumNumberOfSamplePoints ()
 Set/Get maximum number of sample points to use to sample the space when GlyphMode is set to SPATIALLY_UNIFORM_*. More...
 
- Public Member Functions inherited from vtkPolyDataAlgorithm
vtkPolyDataAlgorithmNewInstance () const
 
vtkDataObjectGetInput ()
 
vtkDataObjectGetInput (int port)
 
vtkPolyDataGetPolyDataInput (int port)
 
vtkPolyDataGetOutput ()
 
vtkPolyDataGetOutput (int)
 
virtual void SetOutput (vtkDataObject *d)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
void AddInputData (vtkDataObject *)
 
void AddInputData (int, vtkDataObject *)
 
vtkPolyDataGetOutput ()
 
vtkPolyDataGetOutput (int)
 
virtual void SetOutput (vtkDataObject *d)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
void AddInputData (vtkDataObject *)
 
void AddInputData (int, vtkDataObject *)
 
- Public Member Functions inherited from vtkAlgorithm
vtkAlgorithmNewInstance () const
 
int HasExecutive ()
 
vtkExecutiveGetExecutive ()
 
virtual void SetExecutive (vtkExecutive *executive)
 
virtual int ModifyRequest (vtkInformation *request, int when)
 
vtkInformationGetInputPortInformation (int port)
 
vtkInformationGetOutputPortInformation (int port)
 
int GetNumberOfInputPorts ()
 
int GetNumberOfOutputPorts ()
 
void UpdateProgress (double amount)
 
vtkInformationGetInputArrayInformation (int idx)
 
void RemoveAllInputs ()
 
vtkDataObjectGetOutputDataObject (int port)
 
virtual void RemoveInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void RemoveInputConnection (int port, int idx)
 
virtual void RemoveAllInputConnections (int port)
 
int GetNumberOfInputConnections (int port)
 
int GetTotalNumberOfInputConnections ()
 
vtkAlgorithmOutputGetInputConnection (int port, int index)
 
vtkAlgorithmGetInputAlgorithm (int port, int index, int &algPort)
 
vtkAlgorithmGetInputAlgorithm (int port, int index)
 
vtkExecutiveGetInputExecutive (int port, int index)
 
vtkInformationGetInputInformation (int port, int index)
 
vtkInformationGetOutputInformation (int port)
 
virtual int Update (int port, vtkInformationVector *requests)
 
virtual int Update (vtkInformation *requests)
 
virtual int UpdateExtent (const int extents[6])
 
virtual void UpdateInformation ()
 
virtual void UpdateDataObject ()
 
virtual void PropagateUpdateExtent ()
 
virtual void UpdateWholeExtent ()
 
void ConvertTotalInputToPortConnection (int ind, int &port, int &conn)
 
int SetUpdateExtentToWholeExtent (int port)
 
int SetUpdateExtentToWholeExtent ()
 
void SetUpdateExtent (int port, int extent[6])
 
void SetUpdateExtent (int extent[6])
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime)
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
void Register (vtkObjectBase *o) VTK_OVERRIDE
 
void UnRegister (vtkObjectBase *o) VTK_OVERRIDE
 
virtual void SetAbortExecute (int)
 
virtual int GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetProgressText (const char *ptext)
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 
vtkDataObjectGetInputDataObject (int port, int connection)
 
virtual void SetInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 
vtkAlgorithmOutputGetOutputPort ()
 
vtkAlgorithmGetInputAlgorithm ()
 
vtkExecutiveGetInputExecutive ()
 
vtkInformationGetInputInformation ()
 
virtual void Update (int port)
 
virtual void Update ()
 
virtual int UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0)
 
virtual int UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0)
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 
intGetUpdateExtent ()
 
intGetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 
virtual vtkProgressObserverGetProgressObserver ()
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime)
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
void Register (vtkObjectBase *o) VTK_OVERRIDE
 
void UnRegister (vtkObjectBase *o) VTK_OVERRIDE
 
virtual void SetAbortExecute (int)
 
virtual int GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetProgressText (const char *ptext)
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 
vtkDataObjectGetInputDataObject (int port, int connection)
 
virtual void SetInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 
vtkAlgorithmOutputGetOutputPort ()
 
vtkAlgorithmGetInputAlgorithm ()
 
vtkExecutiveGetInputExecutive ()
 
vtkInformationGetInputInformation ()
 
virtual void Update (int port)
 
virtual void Update ()
 
virtual int UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0)
 
virtual int UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0)
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 
intGetUpdateExtent ()
 
intGetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 
virtual vtkProgressObserverGetProgressObserver ()
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
void SetReferenceCount (int)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkPVGlyphFilterSafeDownCast (vtkObject *o)
 
static vtkPVGlyphFilterNew ()
 
- Static Public Member Functions inherited from vtkPolyDataAlgorithm
static vtkPolyDataAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPolyDataAlgorithmSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkAlgorithm
static vtkAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkAlgorithmSafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKeyINPUT_IS_OPTIONAL ()
 
static vtkInformationIntegerKeyINPUT_IS_REPEATABLE ()
 
static vtkInformationInformationVectorKeyINPUT_REQUIRED_FIELDS ()
 
static vtkInformationStringVectorKeyINPUT_REQUIRED_DATA_TYPE ()
 
static vtkInformationInformationVectorKeyINPUT_ARRAYS_TO_PROCESS ()
 
static vtkInformationIntegerKeyINPUT_PORT ()
 
static vtkInformationIntegerKeyINPUT_CONNECTION ()
 
static vtkInformationIntegerKeyCAN_PRODUCE_SUB_EXTENT ()
 
static vtkInformationIntegerKeyCAN_HANDLE_PIECE_REQUEST ()
 
static void SetDefaultExecutivePrototype (vtkExecutive *proto)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkPVGlyphFilter ()
 
 ~vtkPVGlyphFilter () override
 
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
 
int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
 
virtual int RequestDataObject (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
int FillInputPortInformation (int, vtkInformation *) override
 
int FillOutputPortInformation (int, vtkInformation *) override
 
virtual int IsPointVisible (unsigned int index, vtkDataSet *ds, vtkIdType ptId, bool cellCenters)
 Returns 1 if point is to be glyphed, otherwise returns 0. More...
 
bool IsInputArrayToProcessValid (vtkDataSet *input)
 Returns true if input Scalars and Vectors are compatible, otherwise returns 0. More...
 
vtkPolyDataGetSource (int idx, vtkInformationVector *sourceInfo)
 Get the glyph source. More...
 
bool UseCellCenters (vtkDataSet *input)
 Returns true if input Scalars and Vectors are cell attributes, otherwise returns 0. More...
 
bool NeedsScalars ()
 Returns true if input scalars are used for glyphing. More...
 
bool NeedsVectors ()
 Returns true if input vectors are used for glyphing. More...
 
virtual bool Execute (unsigned int index, vtkDataSet *input, vtkInformationVector *sourceVector, vtkPolyData *output)
 Method called in RequestData() to do the actual data processing. More...
 
virtual bool Execute (unsigned int index, vtkDataSet *input, vtkInformationVector *sourceVector, vtkPolyData *output, vtkDataArray *inSScalars, vtkDataArray *inVectors, bool cellCenters=false)
 Method called in RequestData() to do the actual data processing. More...
 
- Protected Member Functions inherited from vtkPolyDataAlgorithm
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkPolyDataAlgorithm ()
 
 ~vtkPolyDataAlgorithm ()
 
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
- Protected Member Functions inherited from vtkAlgorithm
 vtkAlgorithm ()
 
 ~vtkAlgorithm ()
 
virtual void SetNumberOfInputPorts (int n)
 
virtual void SetNumberOfOutputPorts (int n)
 
int InputPortIndexInRange (int index, const char *action)
 
int OutputPortIndexInRange (int index, const char *action)
 
int GetInputArrayAssociation (int idx, vtkInformationVector **inputVector)
 
virtual vtkExecutiveCreateDefaultExecutive ()
 
void ReportReferences (vtkGarbageCollector *) VTK_OVERRIDE
 
virtual void SetNumberOfInputConnections (int port, int n)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 
void SetInputDataInternal (int port, vtkDataObject *input)
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 
virtual void SetErrorCode (unsigned long)
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 
void SetInputDataInternal (int port, vtkDataObject *input)
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

int VectorScaleMode
 
vtkTransformSourceTransform
 
double ScaleFactor
 
int GlyphMode
 
int MaximumNumberOfSamplePoints
 
int Seed
 
int Stride
 
vtkMultiProcessControllerController
 
int OutputPointsPrecision
 
- Protected Attributes inherited from vtkAlgorithm
vtkInformationInformation
 
double Progress
 
char * ProgressText
 
vtkProgressObserverProgressObserver
 
unsigned long ErrorCode
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Additional Inherited Members

- Public Attributes inherited from vtkAlgorithm
 SINGLE_PRECISION
 
 DOUBLE_PRECISION
 
 DEFAULT_PRECISION
 
int AbortExecute
 
- Static Protected Member Functions inherited from vtkAlgorithm
static vtkInformationIntegerKeyPORT_REQUIREMENTS_FILLED ()
 
- Static Protected Attributes inherited from vtkAlgorithm
static vtkExecutiveDefaultExecutivePrototype
 

Detailed Description

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:

Definition at line 56 of file vtkPVGlyphFilter.h.

Member Typedef Documentation

◆ Superclass

Definition at line 74 of file vtkPVGlyphFilter.h.

Member Enumeration Documentation

◆ VectorScaleMode

Enumerator
SCALE_BY_MAGNITUDE 
SCALE_BY_COMPONENTS 

Definition at line 59 of file vtkPVGlyphFilter.h.

◆ GlyphModeType

Enumerator
ALL_POINTS 
EVERY_NTH_POINT 
SPATIALLY_UNIFORM_DISTRIBUTION 
SPATIALLY_UNIFORM_INVERSE_TRANSFORM_SAMPLING_SURFACE 
SPATIALLY_UNIFORM_INVERSE_TRANSFORM_SAMPLING_VOLUME 

Definition at line 65 of file vtkPVGlyphFilter.h.

Constructor & Destructor Documentation

◆ vtkPVGlyphFilter()

vtkPVGlyphFilter::vtkPVGlyphFilter ( )
protected

◆ ~vtkPVGlyphFilter()

vtkPVGlyphFilter::~vtkPVGlyphFilter ( )
overrideprotected

Member Function Documentation

◆ 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

Reimplemented from vtkPolyDataAlgorithm.

◆ SafeDownCast()

static vtkPVGlyphFilter* vtkPVGlyphFilter::SafeDownCast ( vtkObject o)
static

◆ PrintSelf()

void vtkPVGlyphFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Reimplemented from vtkPolyDataAlgorithm.

◆ New()

static vtkPVGlyphFilter* vtkPVGlyphFilter::New ( )
static

◆ SetSourceConnection() [1/2]

void vtkPVGlyphFilter::SetSourceConnection ( int  id,
vtkAlgorithmOutput algOutput 
)

Specify a source object at a specified table location.

New style. Source connection is stored in port 1. This method is equivalent to SetInputConnection(1, id, outputPort).

◆ SetSourceConnection() [2/2]

void vtkPVGlyphFilter::SetSourceConnection ( vtkAlgorithmOutput algOutput)
inline

Specify a source object at a specified table location.

New style. Source connection is stored in port 1. This method is equivalent to SetInputConnection(1, id, outputPort).

Definition at line 85 of file vtkPVGlyphFilter.h.

◆ 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.

◆ SetVectorScaleMode()

virtual void vtkPVGlyphFilter::SetVectorScaleMode ( int  )
virtual

Get/set the vector scaling mode.

This mode determines how glyphs are scaled when the scale array has more than one component.

◆ GetVectorScaleMode()

virtual int vtkPVGlyphFilter::GetVectorScaleMode ( )
virtual

◆ SetSourceTransform()

void vtkPVGlyphFilter::SetSourceTransform ( vtkTransform )

When set, this is use to transform the source polydata before using it to generate the glyph.

This is useful if one wanted to reorient the source, for example.

◆ GetSourceTransform()

virtual vtkTransform* vtkPVGlyphFilter::GetSourceTransform ( )
virtual

When set, this is use to transform the source polydata before using it to generate the glyph.

This is useful if one wanted to reorient the source, for example.

◆ GetMTime()

vtkMTimeType vtkPVGlyphFilter::GetMTime ( )
overridevirtual

Overridden to include SourceTransform's MTime.

Reimplemented from vtkObject.

◆ SetOutputPointsPrecision()

virtual void vtkPVGlyphFilter::SetOutputPointsPrecision ( int  )
virtual

Set/get the desired precision for the output types.

See the documentation for the vtkAlgorithm::DesiredOutputPrecision enum for an explanation of the available precision settings.

◆ GetOutputPointsPrecision()

virtual int vtkPVGlyphFilter::GetOutputPointsPrecision ( )
virtual

Set/get the desired precision for the output types.

See the documentation for the vtkAlgorithm::DesiredOutputPrecision enum for an explanation of the available precision settings.

◆ SetScaleFactor()

virtual void vtkPVGlyphFilter::SetScaleFactor ( double  )
virtual

Set/get scale factor used to change the size of glyphs.

This factor is applied uniformly in each dimension.

◆ GetScaleFactor()

virtual double vtkPVGlyphFilter::GetScaleFactor ( )
virtual

◆ 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_*.

◆ 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_*.

◆ ProcessRequest()

int vtkPVGlyphFilter::ProcessRequest ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
)
overridevirtual

Overridden to create output data of appropriate type.

Reimplemented from vtkPolyDataAlgorithm.

◆ RequestData()

int vtkPVGlyphFilter::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
)
overrideprotectedvirtual

Reimplemented from vtkPolyDataAlgorithm.

◆ RequestUpdateExtent()

int vtkPVGlyphFilter::RequestUpdateExtent ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
)
overrideprotectedvirtual

Reimplemented from vtkPolyDataAlgorithm.

◆ RequestDataObject()

virtual int vtkPVGlyphFilter::RequestDataObject ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
)
protectedvirtual

◆ FillInputPortInformation()

int vtkPVGlyphFilter::FillInputPortInformation ( int  ,
vtkInformation  
)
overrideprotectedvirtual

Reimplemented from vtkPolyDataAlgorithm.

◆ FillOutputPortInformation()

int vtkPVGlyphFilter::FillOutputPortInformation ( int  ,
vtkInformation  
)
overrideprotectedvirtual

Reimplemented from vtkPolyDataAlgorithm.

◆ IsPointVisible()

virtual int vtkPVGlyphFilter::IsPointVisible ( unsigned int  index,
vtkDataSet ds,
vtkIdType  ptId,
bool  cellCenters 
)
protectedvirtual

Returns 1 if point is to be glyphed, otherwise returns 0.

index is the flat index of the dataset when using composite dataset. cellCenters is a flag to know if cellCenters are currently used

◆ IsInputArrayToProcessValid()

bool vtkPVGlyphFilter::IsInputArrayToProcessValid ( vtkDataSet input)
protected

Returns true if input Scalars and Vectors are compatible, otherwise returns 0.

◆ GetSource()

vtkPolyData* vtkPVGlyphFilter::GetSource ( int  idx,
vtkInformationVector sourceInfo 
)
protected

Get the glyph source.

◆ UseCellCenters()

bool vtkPVGlyphFilter::UseCellCenters ( vtkDataSet input)
protected

Returns true if input Scalars and Vectors are cell attributes, otherwise returns 0.

◆ NeedsScalars()

bool vtkPVGlyphFilter::NeedsScalars ( )
protected

Returns true if input scalars are used for glyphing.

◆ NeedsVectors()

bool vtkPVGlyphFilter::NeedsVectors ( )
protected

Returns true if input vectors are used for glyphing.

◆ Execute() [1/2]

virtual bool vtkPVGlyphFilter::Execute ( unsigned int  index,
vtkDataSet input,
vtkInformationVector sourceVector,
vtkPolyData output 
)
protectedvirtual

Method called in RequestData() to do the actual data processing.

This will glyph the input, filling up the output based on the filter parameters. index is the flat index of the dataset when using composite dataset. This will use vtkCellCenters if UseCellCenters returns true.

◆ Execute() [2/2]

virtual bool vtkPVGlyphFilter::Execute ( unsigned int  index,
vtkDataSet input,
vtkInformationVector sourceVector,
vtkPolyData output,
vtkDataArray inSScalars,
vtkDataArray inVectors,
bool  cellCenters = false 
)
protectedvirtual

Method called in RequestData() to do the actual data processing.

This will glyph the input, filling up the output based on the filter parameters. index is the flat index of the dataset when using composite dataset. This will use vtkCellCenters if UseCellCenters returns true.

Member Data Documentation

◆ VectorScaleMode

Definition at line 239 of file vtkPVGlyphFilter.h.

◆ SourceTransform

vtkTransform* vtkPVGlyphFilter::SourceTransform
protected

Definition at line 240 of file vtkPVGlyphFilter.h.

◆ ScaleFactor

double vtkPVGlyphFilter::ScaleFactor
protected

Definition at line 241 of file vtkPVGlyphFilter.h.

◆ GlyphMode

int vtkPVGlyphFilter::GlyphMode
protected

Definition at line 242 of file vtkPVGlyphFilter.h.

◆ MaximumNumberOfSamplePoints

int vtkPVGlyphFilter::MaximumNumberOfSamplePoints
protected

Definition at line 243 of file vtkPVGlyphFilter.h.

◆ Seed

int vtkPVGlyphFilter::Seed
protected

Definition at line 244 of file vtkPVGlyphFilter.h.

◆ Stride

int vtkPVGlyphFilter::Stride
protected

Definition at line 245 of file vtkPVGlyphFilter.h.

◆ Controller

vtkMultiProcessController* vtkPVGlyphFilter::Controller
protected

Definition at line 246 of file vtkPVGlyphFilter.h.

◆ OutputPointsPrecision

int vtkPVGlyphFilter::OutputPointsPrecision
protected

Definition at line 247 of file vtkPVGlyphFilter.h.


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