Go to the documentation of this file.
52 #ifndef vtkSelectionNode_h
53 #define vtkSelectionNode_h
55 #include "vtkCommonDataModelModule.h"
198 vtkSetStringMacro(QueryString);
199 vtkGetStringMacro(QueryString);
static vtkInformationIntegerKey * SOURCE_ID()
ID of the data or algorithm the selection belongs to.
virtual void ShallowCopy(vtkSelectionNode *src)
Copy properties, selection list and children of the input.
static vtkInformationIntegerKey * FIELD_TYPE()
Controls whether cell, point, or field data determine what is inside and out.
static int ConvertAttributeTypeToSelectionField(int val)
A node in a selection tree. Used to store selection results.
vtkInformation * Properties
@ LOCATIONS
Select entities near the supplied world coordinates.
static vtkInformationIntegerKey * PROCESS_ID()
Process id the selection is on.
static vtkInformationIntegerKey * CONTAINING_CELLS()
This flag tells the extraction filter, when FIELD_TYPE==POINT, that it should also extract the cells ...
static vtkInformationObjectBaseKey * PROP()
Pointer to the prop the selection belongs to.
represent and manipulate attribute data in a dataset
vtkDataSetAttributes * SelectionData
A table, which contains similar-typed columns of data.
@ PEDIGREEIDS
Select entities that have some identifiable pedigree.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract base class for most VTK objects
static vtkInformationDoubleKey * EPSILON()
For location selection of points, if distance is greater than this reject.
@ QUERY
Select entities with a text query.
void SubtractSelectionList(vtkSelectionNode *other)
Subtracts the items in the selection list, other, from this selection list.
@ FRUSTUM
Select entities contained within a viewing frustum.
SelectionContent
Indicate the means by which data is selected.
static vtkInformationDoubleKey * ZBUFFER_VALUE()
If present, closest zbuffer value of this selection.
@ VALUES
Select entities that take on specific array values.
static vtkInformationIntegerKey * CONTENT_TYPE()
Get the (primary) property that describes the content of a selection node's data.
virtual vtkAbstractArray * GetSelectionList()
@ POINT
The selection data provided is point-data.
@ VERTEX
The selection data provided is graph vertex-data.
virtual void SetSelectionData(vtkDataSetAttributes *data)
Sets the selection table.
static vtkInformationIntegerKey * INDEXED_VERTICES()
This key is used when making visible vertex selection.
static vtkInformationIntegerKey * COMPOSITE_INDEX()
Used to identify a node in composite datasets.
virtual void SetContentType(int type)
Get or set the content type of the selection.
static vtkInformationObjectBaseKey * SOURCE()
Pointer to the data or algorithm the selection belongs to.
@ BLOCKS
Select blocks within a composite dataset by their flat index.
@ GLOBALIDS
Select entities called out by their globally-unique IDs.
a simple class to control print indentation
vtkMTimeType GetMTime() override
Return the MTime taking into account changes to the properties.
virtual int GetFieldType()
static int ConvertSelectionFieldToAttributeType(int val)
Methods to convert vtkSelectionNode::SelectionField to vtkDataSetAttribute::AttributeTypes and vice-v...
virtual void Initialize()
Restore data object to initial state,.
virtual void DeepCopy(vtkSelectionNode *src)
Copy properties, selection list and children of the input.
@ FIELD
The selection data provided is field-data.
virtual void SetSelectionList(vtkAbstractArray *)
Sets the selection list.
virtual int GetContentType()
Abstract superclass for all arrays.
abstract superclass for all actors, volumes and annotations
static vtkInformationIntegerKey * INVERSE()
This flag tells the extraction filter to exclude the selection.
SelectionField
Indicate the types of entities to which the selection-data applies.
static vtkSelectionNode * New()
static vtkInformationIntegerKey * PROP_ID()
ID of the prop the selection belongs to.
@ THRESHOLDS
Select entities whose array values fall within a given threshold.
@ EDGE
The selection data provided is graph edge-data.
static vtkInformationIntegerKey * COMPONENT_NUMBER()
When ContentType==THRESHOLDS or ContentType==VALUES i.e.
@ INDICES
Select entities by their offsets into the dataset.
static vtkInformationIntegerKey * HIERARCHICAL_LEVEL()
Used to identify a dataset in a hiererchical box dataset.
virtual void SetFieldType(int type)
Get or set the field type of the selection.
~vtkSelectionNode() override
static vtkInformationIntegerKey * PIXEL_COUNT()
A helper for visible cell selector, this is the number of pixels covered by the actor whose cells are...
@ CELL
The selection data provided is cell-data.
static vtkInformationIntegerKey * HIERARCHICAL_INDEX()
bool EqualProperties(vtkSelectionNode *other, bool fullcompare=true)
Compares Properties of self and other to ensure that they are exactly same.
vtkTypeUInt32 vtkMTimeType
void UnionSelectionList(vtkSelectionNode *other)
Merges the selection list between self and the other.