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

selection source used to produce different types of vtkSelections. More...

#include <vtkPVSelectionSource.h>

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

Public Types

typedef vtkSelectionAlgorithm Superclass
 
- Public Types inherited from vtkSelectionAlgorithm
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
 
void AddFrustum (double vertices[32])
 Set a frustum to choose within. More...
 
virtual void SetArrayName (const char *)
 For threshold and value selection, this controls the name of the scalar array that will be thresholded within. More...
 
void AddGlobalID (vtkIdType id)
 Add global IDs. More...
 
void RemoveAllGlobalIDs ()
 Add global IDs. More...
 
void AddPedigreeID (const char *domain, vtkIdType id)
 Add integer pedigree IDs in a particular domain. More...
 
void RemoveAllPedigreeIDs ()
 Add integer pedigree IDs in a particular domain. More...
 
void AddPedigreeStringID (const char *domain, const char *id)
 Add string pedigree IDs in a particular domain. More...
 
void RemoveAllPedigreeStringIDs ()
 Add string pedigree IDs in a particular domain. More...
 
void AddID (vtkIdType piece, vtkIdType id)
 Add a (piece, id) to the selection set. More...
 
void RemoveAllIDs ()
 Add a (piece, id) to the selection set. More...
 
void AddValue (vtkIdType piece, vtkIdType value)
 Add a (piece, value) to the selection set. More...
 
void RemoveAllValues ()
 Add a (piece, value) to the selection set. More...
 
void AddCompositeID (unsigned int composite_index, vtkIdType piece, vtkIdType id)
 Add IDs that will be added to the selection produced by the selection source. More...
 
void RemoveAllCompositeIDs ()
 Add IDs that will be added to the selection produced by the selection source. More...
 
void AddHierarhicalID (unsigned int level, unsigned int dataset, vtkIdType id)
 The list of IDs that will be added to the selection produced by the selection source. More...
 
void RemoveAllHierarchicalIDs ()
 The list of IDs that will be added to the selection produced by the selection source. More...
 
void AddThreshold (double min, double max)
 Add a value range to threshold within. More...
 
void RemoveAllThresholds ()
 Add a value range to threshold within. More...
 
void AddBlock (vtkIdType blockno)
 Add the flat-index/composite index for a block. More...
 
void RemoveAllBlocks ()
 Add the flat-index/composite index for a block. More...
 
void AddLocation (double x, double y, double z)
 Add a point in world space to probe at. More...
 
void RemoveAllLocations ()
 Add a point in world space to probe at. More...
 
void AddBlockSelector (const char *selector)
 Add/Remove block-selectors to make selections with vtkSelectionNode::BLOCK_SELECTORS as the content-type. More...
 
void RemoveAllBlockSelectors ()
 Add/Remove block-selectors to make selections with vtkSelectionNode::BLOCK_SELECTORS as the content-type. More...
 
virtual void SetProcessID (int)
 Get/Set which process to limit the selection to. More...
 
virtual int GetProcessID ()
 Get/Set which process to limit the selection to. More...
 
virtual void SetFieldType (int)
 Set the field type for the generated selection. More...
 
virtual int GetFieldType ()
 Set the field type for the generated selection. More...
 
virtual void SetContainingCells (int)
 When extracting by points, extract the cells that contain the passing points. More...
 
virtual int GetContainingCells ()
 When extracting by points, extract the cells that contain the passing points. More...
 
virtual void SetInverse (int)
 
virtual int GetInverse ()
 
virtual void SetQueryString (const char *)
 Set/get the query expression string. More...
 
virtual char * GetQueryString ()
 Set/get the query expression string. More...
 
virtual void SetNumberOfLayers (int)
 Specify number of layers to extract connected to the selected elements. More...
 
virtual int GetNumberOfLayers ()
 Specify number of layers to extract connected to the selected elements. More...
 
virtual void SetRemoveSeed (bool)
 Set/Get the flag the control if, when using the number of layers to extract connected elements, the initial selection seed should be removed. More...
 
virtual bool GetRemoveSeed ()
 Set/Get the flag the control if, when using the number of layers to extract connected elements, the initial selection seed should be removed. More...
 
virtual void SetRemoveIntermediateLayers (bool)
 Set/Get the flag the control if, when using the number of layers to extract connected elements, the intermediate layers should be removed. More...
 
virtual bool GetRemoveIntermediateLayers ()
 Set/Get the flag the control if, when using the number of layers to extract connected elements, the intermediate layers should be removed. More...
 
- Public Member Functions inherited from vtkSelectionAlgorithm
vtkSelectionAlgorithmNewInstance () const
 
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
vtkSelectionGetOutput ()
 
vtkSelectionGetOutput (int index)
 
void SetInputData (vtkDataObject *obj)
 
void SetInputData (int index, vtkDataObject *obj)
 
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
vtkSelectionGetOutput ()
 
vtkSelectionGetOutput (int index)
 
void SetInputData (vtkDataObject *obj)
 
void SetInputData (int index, vtkDataObject *obj)
 
- 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 ()
 
virtual vtkMTimeType GetMTime ()
 
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 vtkPVSelectionSourceNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPVSelectionSourceSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkSelectionAlgorithm
static vtkSelectionAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkSelectionAlgorithmSafeDownCast (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 Types

enum  Modes {
  FRUSTUM, GLOBALIDS, ID, COMPOSITEID,
  HIERARCHICALID, THRESHOLDS, LOCATIONS, BLOCKS,
  BLOCK_SELECTORS, PEDIGREEIDS, QUERY, VALUES
}
 

Protected Member Functions

 vtkPVSelectionSource ()
 
 ~vtkPVSelectionSource () override
 
int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 
int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 
- Protected Member Functions inherited from vtkSelectionAlgorithm
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkSelectionAlgorithm ()
 
 ~vtkSelectionAlgorithm ()
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
- 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

Modes Mode
 
int ProcessID
 
int FieldType
 
int ContainingCells
 
int Inverse
 
double Frustum [32]
 
char * ArrayName
 
char * QueryString
 
int NumberOfLayers
 
bool RemoveSeed = false
 
bool RemoveIntermediateLayers = false
 
- 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

selection source used to produce different types of vtkSelections.

vtkPVSelectionSource is used to create different types of selections. It provides different APIs for different types of selections to create. The output selection type depends on the API used most recently.

Definition at line 19 of file vtkPVSelectionSource.h.

Member Typedef Documentation

◆ Superclass

Definition at line 23 of file vtkPVSelectionSource.h.

Member Enumeration Documentation

◆ Modes

Enumerator
FRUSTUM 
GLOBALIDS 
ID 
COMPOSITEID 
HIERARCHICALID 
THRESHOLDS 
LOCATIONS 
BLOCKS 
BLOCK_SELECTORS 
PEDIGREEIDS 
QUERY 
VALUES 

Definition at line 212 of file vtkPVSelectionSource.h.

Constructor & Destructor Documentation

◆ vtkPVSelectionSource()

vtkPVSelectionSource::vtkPVSelectionSource ( )
protected

◆ ~vtkPVSelectionSource()

vtkPVSelectionSource::~vtkPVSelectionSource ( )
overrideprotected

Member Function Documentation

◆ New()

static vtkPVSelectionSource* vtkPVSelectionSource::New ( )
static

◆ GetClassName()

virtual const char* vtkPVSelectionSource::GetClassName ( )
virtual

◆ IsTypeOf()

static int vtkPVSelectionSource::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkPVSelectionSource::IsA ( const char *  type)
virtual

Reimplemented from vtkSelectionAlgorithm.

◆ SafeDownCast()

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

◆ PrintSelf()

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

Reimplemented from vtkSelectionAlgorithm.

◆ AddFrustum()

void vtkPVSelectionSource::AddFrustum ( double  vertices[32])

Set a frustum to choose within.

◆ AddGlobalID()

void vtkPVSelectionSource::AddGlobalID ( vtkIdType  id)

Add global IDs.

◆ RemoveAllGlobalIDs()

void vtkPVSelectionSource::RemoveAllGlobalIDs ( )

Add global IDs.

◆ AddPedigreeID()

void vtkPVSelectionSource::AddPedigreeID ( const char *  domain,
vtkIdType  id 
)

Add integer pedigree IDs in a particular domain.

◆ RemoveAllPedigreeIDs()

void vtkPVSelectionSource::RemoveAllPedigreeIDs ( )

Add integer pedigree IDs in a particular domain.

◆ AddPedigreeStringID()

void vtkPVSelectionSource::AddPedigreeStringID ( const char *  domain,
const char *  id 
)

Add string pedigree IDs in a particular domain.

◆ RemoveAllPedigreeStringIDs()

void vtkPVSelectionSource::RemoveAllPedigreeStringIDs ( )

Add string pedigree IDs in a particular domain.

◆ AddID()

void vtkPVSelectionSource::AddID ( vtkIdType  piece,
vtkIdType  id 
)

Add a (piece, id) to the selection set.

The source will generate only the ids for which piece == UPDATE_PIECE_NUMBER. If piece == -1, the id applies to all pieces.

◆ RemoveAllIDs()

void vtkPVSelectionSource::RemoveAllIDs ( )

Add a (piece, id) to the selection set.

The source will generate only the ids for which piece == UPDATE_PIECE_NUMBER. If piece == -1, the id applies to all pieces.

◆ AddValue()

void vtkPVSelectionSource::AddValue ( vtkIdType  piece,
vtkIdType  value 
)

Add a (piece, value) to the selection set.

The source will generate only the values for which piece == UPDATE_PIECE_NUMBER. If piece == -1, the id applies to all pieces.

◆ RemoveAllValues()

void vtkPVSelectionSource::RemoveAllValues ( )

Add a (piece, value) to the selection set.

The source will generate only the values for which piece == UPDATE_PIECE_NUMBER. If piece == -1, the id applies to all pieces.

◆ AddCompositeID()

void vtkPVSelectionSource::AddCompositeID ( unsigned int  composite_index,
vtkIdType  piece,
vtkIdType  id 
)

Add IDs that will be added to the selection produced by the selection source.

The source will generate only the ids for which piece == UPDATE_PIECE_NUMBER. If piece == -1, the id applies to all pieces.

◆ RemoveAllCompositeIDs()

void vtkPVSelectionSource::RemoveAllCompositeIDs ( )

Add IDs that will be added to the selection produced by the selection source.

The source will generate only the ids for which piece == UPDATE_PIECE_NUMBER. If piece == -1, the id applies to all pieces.

◆ AddHierarhicalID()

void vtkPVSelectionSource::AddHierarhicalID ( unsigned int  level,
unsigned int  dataset,
vtkIdType  id 
)

The list of IDs that will be added to the selection produced by the selection source.

◆ RemoveAllHierarchicalIDs()

void vtkPVSelectionSource::RemoveAllHierarchicalIDs ( )

The list of IDs that will be added to the selection produced by the selection source.

◆ AddThreshold()

void vtkPVSelectionSource::AddThreshold ( double  min,
double  max 
)

Add a value range to threshold within.

◆ RemoveAllThresholds()

void vtkPVSelectionSource::RemoveAllThresholds ( )

Add a value range to threshold within.

◆ AddBlock()

void vtkPVSelectionSource::AddBlock ( vtkIdType  blockno)

Add the flat-index/composite index for a block.

◆ RemoveAllBlocks()

void vtkPVSelectionSource::RemoveAllBlocks ( )

Add the flat-index/composite index for a block.

◆ SetArrayName()

virtual void vtkPVSelectionSource::SetArrayName ( const char *  )
virtual

For threshold and value selection, this controls the name of the scalar array that will be thresholded within.

◆ AddLocation()

void vtkPVSelectionSource::AddLocation ( double  x,
double  y,
double  z 
)

Add a point in world space to probe at.

◆ RemoveAllLocations()

void vtkPVSelectionSource::RemoveAllLocations ( )

Add a point in world space to probe at.

◆ AddBlockSelector()

void vtkPVSelectionSource::AddBlockSelector ( const char *  selector)

Add/Remove block-selectors to make selections with vtkSelectionNode::BLOCK_SELECTORS as the content-type.

◆ RemoveAllBlockSelectors()

void vtkPVSelectionSource::RemoveAllBlockSelectors ( )

Add/Remove block-selectors to make selections with vtkSelectionNode::BLOCK_SELECTORS as the content-type.

◆ SetProcessID()

virtual void vtkPVSelectionSource::SetProcessID ( int  )
virtual

Get/Set which process to limit the selection to.

-1 is treated as all processes.

◆ GetProcessID()

virtual int vtkPVSelectionSource::GetProcessID ( )
virtual

Get/Set which process to limit the selection to.

-1 is treated as all processes.

◆ SetFieldType()

virtual void vtkPVSelectionSource::SetFieldType ( int  )
virtual

Set the field type for the generated selection.

Possible values are as defined by vtkSelectionNode::SelectionField.

◆ GetFieldType()

virtual int vtkPVSelectionSource::GetFieldType ( )
virtual

Set the field type for the generated selection.

Possible values are as defined by vtkSelectionNode::SelectionField.

◆ SetContainingCells()

virtual void vtkPVSelectionSource::SetContainingCells ( int  )
virtual

When extracting by points, extract the cells that contain the passing points.

◆ GetContainingCells()

virtual int vtkPVSelectionSource::GetContainingCells ( )
virtual

When extracting by points, extract the cells that contain the passing points.

◆ SetInverse()

virtual void vtkPVSelectionSource::SetInverse ( int  )
virtual

◆ GetInverse()

virtual int vtkPVSelectionSource::GetInverse ( )
virtual

◆ SetQueryString()

virtual void vtkPVSelectionSource::SetQueryString ( const char *  )
virtual

Set/get the query expression string.

◆ GetQueryString()

virtual char* vtkPVSelectionSource::GetQueryString ( )
virtual

Set/get the query expression string.

◆ SetNumberOfLayers()

virtual void vtkPVSelectionSource::SetNumberOfLayers ( int  )
virtual

Specify number of layers to extract connected to the selected elements.

◆ GetNumberOfLayers()

virtual int vtkPVSelectionSource::GetNumberOfLayers ( )
virtual

Specify number of layers to extract connected to the selected elements.

◆ SetRemoveSeed()

virtual void vtkPVSelectionSource::SetRemoveSeed ( bool  )
virtual

Set/Get the flag the control if, when using the number of layers to extract connected elements, the initial selection seed should be removed.

Default is falsse

◆ GetRemoveSeed()

virtual bool vtkPVSelectionSource::GetRemoveSeed ( )
virtual

Set/Get the flag the control if, when using the number of layers to extract connected elements, the initial selection seed should be removed.

Default is falsse

◆ SetRemoveIntermediateLayers()

virtual void vtkPVSelectionSource::SetRemoveIntermediateLayers ( bool  )
virtual

Set/Get the flag the control if, when using the number of layers to extract connected elements, the intermediate layers should be removed.

Default is falsse

◆ GetRemoveIntermediateLayers()

virtual bool vtkPVSelectionSource::GetRemoveIntermediateLayers ( )
virtual

Set/Get the flag the control if, when using the number of layers to extract connected elements, the intermediate layers should be removed.

Default is falsse

◆ RequestInformation()

int vtkPVSelectionSource::RequestInformation ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
)
overrideprotectedvirtual

Reimplemented from vtkSelectionAlgorithm.

◆ RequestData()

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

Reimplemented from vtkSelectionAlgorithm.

Member Data Documentation

◆ Mode

Modes vtkPVSelectionSource::Mode
protected

Definition at line 228 of file vtkPVSelectionSource.h.

◆ ProcessID

int vtkPVSelectionSource::ProcessID
protected

Definition at line 229 of file vtkPVSelectionSource.h.

◆ FieldType

int vtkPVSelectionSource::FieldType
protected

Definition at line 230 of file vtkPVSelectionSource.h.

◆ ContainingCells

int vtkPVSelectionSource::ContainingCells
protected

Definition at line 231 of file vtkPVSelectionSource.h.

◆ Inverse

int vtkPVSelectionSource::Inverse
protected

Definition at line 232 of file vtkPVSelectionSource.h.

◆ Frustum

double vtkPVSelectionSource::Frustum[32]
protected

Definition at line 233 of file vtkPVSelectionSource.h.

◆ ArrayName

char* vtkPVSelectionSource::ArrayName
protected

Definition at line 234 of file vtkPVSelectionSource.h.

◆ QueryString

char* vtkPVSelectionSource::QueryString
protected

Definition at line 235 of file vtkPVSelectionSource.h.

◆ NumberOfLayers

int vtkPVSelectionSource::NumberOfLayers
protected

Definition at line 236 of file vtkPVSelectionSource.h.

◆ RemoveSeed

bool vtkPVSelectionSource::RemoveSeed = false
protected

Definition at line 237 of file vtkPVSelectionSource.h.

◆ RemoveIntermediateLayers

bool vtkPVSelectionSource::RemoveIntermediateLayers = false
protected

Definition at line 238 of file vtkPVSelectionSource.h.


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