ParaView
|
selection source used to produce different types of vtkSelections. More...
#include <vtkPVSelectionSource.h>
Inherits vtkSelectionAlgorithm.
Public Types | |
typedef vtkSelectionAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetFrustum (double vertices[32]) |
Set a frustum to choose within. More... | |
void | SetArrayName (const char *arrayName) |
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 | 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... | |
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... | |
Static Public Member Functions | |
static vtkPVSelectionSource * | New () |
static int | IsTypeOf (const char *type) |
static vtkPVSelectionSource * | SafeDownCast (vtkObject *o) |
Protected Types | |
enum | Modes { FRUSTUM, GLOBALIDS, ID, COMPOSITEID, HIERARCHICALID, THRESHOLDS, LOCATIONS, BLOCKS, PEDIGREEIDS, QUERY } |
Protected Member Functions | |
vtkPVSelectionSource () | |
~vtkPVSelectionSource () | |
virtual int | RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
Protected Attributes | |
Modes | Mode |
int | FieldType |
int | ContainingCells |
int | Inverse |
double | Frustum [32] |
char * | ArrayName |
char * | QueryString |
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 31 of file vtkPVSelectionSource.h.
typedef vtkSelectionAlgorithm vtkPVSelectionSource::Superclass |
Definition at line 35 of file vtkPVSelectionSource.h.
|
protected |
Enumerator | |
---|---|
FRUSTUM | |
GLOBALIDS | |
ID | |
COMPOSITEID | |
HIERARCHICALID | |
THRESHOLDS | |
LOCATIONS | |
BLOCKS | |
PEDIGREEIDS | |
QUERY |
Definition at line 169 of file vtkPVSelectionSource.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
virtual |
|
static |
void vtkPVSelectionSource::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
void vtkPVSelectionSource::SetFrustum | ( | double | vertices[32] | ) |
Set a frustum to choose within.
void vtkPVSelectionSource::AddGlobalID | ( | vtkIdType | id | ) |
Add global IDs.
void vtkPVSelectionSource::RemoveAllGlobalIDs | ( | ) |
Add global IDs.
void vtkPVSelectionSource::AddPedigreeID | ( | const char * | domain, |
vtkIdType | id | ||
) |
Add integer pedigree IDs in a particular domain.
void vtkPVSelectionSource::RemoveAllPedigreeIDs | ( | ) |
Add integer pedigree IDs in a particular domain.
void vtkPVSelectionSource::AddPedigreeStringID | ( | const char * | domain, |
const char * | id | ||
) |
Add string pedigree IDs in a particular domain.
void vtkPVSelectionSource::RemoveAllPedigreeStringIDs | ( | ) |
Add string pedigree IDs in a particular domain.
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.
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.
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.
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.
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.
void vtkPVSelectionSource::RemoveAllHierarchicalIDs | ( | ) |
The list of IDs that will be added to the selection produced by the selection source.
void vtkPVSelectionSource::AddThreshold | ( | double | min, |
double | max | ||
) |
Add a value range to threshold within.
void vtkPVSelectionSource::RemoveAllThresholds | ( | ) |
Add a value range to threshold within.
void vtkPVSelectionSource::AddBlock | ( | vtkIdType | blockno | ) |
Add the flat-index/composite index for a block.
void vtkPVSelectionSource::RemoveAllBlocks | ( | ) |
Add the flat-index/composite index for a block.
void vtkPVSelectionSource::SetArrayName | ( | const char * | arrayName | ) |
For threshold and value selection, this controls the name of the scalar array that will be thresholded within.
void vtkPVSelectionSource::AddLocation | ( | double | x, |
double | y, | ||
double | z | ||
) |
Add a point in world space to probe at.
void vtkPVSelectionSource::RemoveAllLocations | ( | ) |
Add a point in world space to probe at.
|
virtual |
Set the field type for the generated selection.
Possible values are as defined by vtkSelection::SelectionField.
|
virtual |
Set the field type for the generated selection.
Possible values are as defined by vtkSelection::SelectionField.
|
virtual |
When extracting by points, extract the cells that contain the passing points.
|
virtual |
When extracting by points, extract the cells that contain the passing points.
|
virtual |
|
virtual |
|
virtual |
Set/get the query expression string.
|
virtual |
Set/get the query expression string.
|
protectedvirtual |
|
protectedvirtual |
|
protected |
Definition at line 183 of file vtkPVSelectionSource.h.
|
protected |
Definition at line 184 of file vtkPVSelectionSource.h.
|
protected |
Definition at line 185 of file vtkPVSelectionSource.h.
|
protected |
Definition at line 186 of file vtkPVSelectionSource.h.
|
protected |
Definition at line 187 of file vtkPVSelectionSource.h.
|
protected |
Definition at line 188 of file vtkPVSelectionSource.h.
|
protected |
Definition at line 189 of file vtkPVSelectionSource.h.