Generate selection from given set of ids vtkSelectionSource generates a vtkSelection from a set of (piece id, cell id) pairs. It will only generate the selection values that match UPDATE_PIECE_NUMBER (i.e. piece == UPDATE_PIECE_NUMBER).
More...
#include <vtkSelectionSource.h>
Inherits vtkSelectionAlgorithm.
Generate selection from given set of ids vtkSelectionSource generates a vtkSelection from a set of (piece id, cell id) pairs. It will only generate the selection values that match UPDATE_PIECE_NUMBER (i.e. piece == UPDATE_PIECE_NUMBER).
- Examples:
- vtkSelectionSource (Examples)
- Tests:
- vtkSelectionSource (Tests)
Definition at line 38 of file vtkSelectionSource.h.
vtkSelectionSource::vtkSelectionSource |
( |
| ) |
|
|
protected |
vtkSelectionSource::~vtkSelectionSource |
( |
| ) |
|
|
protected |
static int vtkSelectionSource::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkSelectionSource::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkSelectionSource::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkSelectionSource::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
void vtkSelectionSource::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 vtkSelectionSource::AddStringID |
( |
vtkIdType |
piece, |
|
|
const char * |
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 vtkSelectionSource::AddLocation |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
Add a point in world space to probe at.
void vtkSelectionSource::AddThreshold |
( |
double |
min, |
|
|
double |
max |
|
) |
| |
Add a value range to threshold within.
void vtkSelectionSource::SetFrustum |
( |
double * |
vertices | ) |
|
Set a frustum to choose within.
void vtkSelectionSource::AddBlock |
( |
vtkIdType |
blockno | ) |
|
Add the flat-index/composite index for a block.
void vtkSelectionSource::RemoveAllIDs |
( |
| ) |
|
void vtkSelectionSource::RemoveAllStringIDs |
( |
| ) |
|
void vtkSelectionSource::RemoveAllThresholds |
( |
| ) |
|
Remove all thresholds added with AddThreshold.
void vtkSelectionSource::RemoveAllLocations |
( |
| ) |
|
Remove all locations added with AddLocation.
void vtkSelectionSource::RemoveAllBlocks |
( |
| ) |
|
Remove all blocks added with AddBlock.
virtual void vtkSelectionSource::SetContentType |
( |
int |
| ) |
|
|
virtual |
Set the content type for the generated selection. Possible values are as defined by vtkSelection::SelectionContent.
virtual int vtkSelectionSource::GetContentType |
( |
| ) |
|
|
virtual |
Set the content type for the generated selection. Possible values are as defined by vtkSelection::SelectionContent.
virtual void vtkSelectionSource::SetFieldType |
( |
int |
| ) |
|
|
virtual |
Set the field type for the generated selection. Possible values are as defined by vtkSelection::SelectionField.
virtual int vtkSelectionSource::GetFieldType |
( |
| ) |
|
|
virtual |
Set the field type for the generated selection. Possible values are as defined by vtkSelection::SelectionField.
virtual void vtkSelectionSource::SetContainingCells |
( |
int |
| ) |
|
|
virtual |
When extracting by points, extract the cells that contain the passing points.
virtual int vtkSelectionSource::GetContainingCells |
( |
| ) |
|
|
virtual |
When extracting by points, extract the cells that contain the passing points.
virtual void vtkSelectionSource::SetInverse |
( |
int |
| ) |
|
|
virtual |
Determines whether the selection describes what to include or exclude. Default is 0, meaning include.
virtual int vtkSelectionSource::GetInverse |
( |
| ) |
|
|
virtual |
Determines whether the selection describes what to include or exclude. Default is 0, meaning include.
virtual void vtkSelectionSource::SetArrayName |
( |
const char * |
| ) |
|
|
virtual |
Access to the name of the selection's subset description array.
virtual char* vtkSelectionSource::GetArrayName |
( |
| ) |
|
|
virtual |
Access to the name of the selection's subset description array.
virtual void vtkSelectionSource::SetArrayComponent |
( |
int |
| ) |
|
|
virtual |
Access to the component number for the array specified by ArrayName. Default is component 0. Use -1 for magnitude.
virtual int vtkSelectionSource::GetArrayComponent |
( |
| ) |
|
|
virtual |
Access to the component number for the array specified by ArrayName. Default is component 0. Use -1 for magnitude.
virtual void vtkSelectionSource::SetCompositeIndex |
( |
int |
| ) |
|
|
virtual |
If CompositeIndex < 0 then COMPOSITE_INDEX() is not added to the output.
virtual int vtkSelectionSource::GetCompositeIndex |
( |
| ) |
|
|
virtual |
If CompositeIndex < 0 then COMPOSITE_INDEX() is not added to the output.
virtual void vtkSelectionSource::SetHierarchicalLevel |
( |
int |
| ) |
|
|
virtual |
If HierarchicalLevel or HierarchicalIndex < 0 , then HIERARCHICAL_LEVEL() and HIERARCHICAL_INDEX() keys are not added to the output.
virtual int vtkSelectionSource::GetHierarchicalLevel |
( |
| ) |
|
|
virtual |
If HierarchicalLevel or HierarchicalIndex < 0 , then HIERARCHICAL_LEVEL() and HIERARCHICAL_INDEX() keys are not added to the output.
virtual void vtkSelectionSource::SetHierarchicalIndex |
( |
int |
| ) |
|
|
virtual |
If HierarchicalLevel or HierarchicalIndex < 0 , then HIERARCHICAL_LEVEL() and HIERARCHICAL_INDEX() keys are not added to the output.
virtual int vtkSelectionSource::GetHierarchicalIndex |
( |
| ) |
|
|
virtual |
If HierarchicalLevel or HierarchicalIndex < 0 , then HIERARCHICAL_LEVEL() and HIERARCHICAL_INDEX() keys are not added to the output.
virtual void vtkSelectionSource::SetQueryString |
( |
const char * |
| ) |
|
|
virtual |
Set/Get the query expression string.
virtual char* vtkSelectionSource::GetQueryString |
( |
| ) |
|
|
virtual |
Set/Get the query expression string.
virtual int vtkSelectionSource::RequestInformation |
( |
vtkInformation * |
request, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector |
|
) |
| |
|
protectedvirtual |
virtual int vtkSelectionSource::RequestData |
( |
vtkInformation * |
request, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector |
|
) |
| |
|
protectedvirtual |
vtkSelectionSourceInternals* vtkSelectionSource::Internal |
|
protected |
int vtkSelectionSource::ContentType |
|
protected |
int vtkSelectionSource::FieldType |
|
protected |
int vtkSelectionSource::ContainingCells |
|
protected |
int vtkSelectionSource::PreserveTopology |
|
protected |
int vtkSelectionSource::Inverse |
|
protected |
int vtkSelectionSource::CompositeIndex |
|
protected |
int vtkSelectionSource::HierarchicalLevel |
|
protected |
int vtkSelectionSource::HierarchicalIndex |
|
protected |
char* vtkSelectionSource::ArrayName |
|
protected |
int vtkSelectionSource::ArrayComponent |
|
protected |
char* vtkSelectionSource::QueryString |
|
protected |
The documentation for this class was generated from the following file: