323#ifndef vtkSelectionNode_h
324#define vtkSelectionNode_h
326#include "vtkCommonDataModelModule.h"
329VTK_ABI_NAMESPACE_BEGIN
494 vtkSetStringMacro(QueryString);
495 vtkGetStringMacro(QueryString);
664 static const char ContentTypeNames[SelectionContent::NUM_CONTENT_TYPES][16];
667 static const char FieldTypeNames[SelectionField::NUM_FIELD_TYPES][8];
Abstract superclass for all arrays.
represent and manipulate attribute data in a dataset
a simple class to control print indentation
abstract base class for most VTK objects
abstract superclass for all actors, volumes and annotations
a node in a vtkSelection the defines the selection criteria.
static int GetFieldTypeFromString(const char *type)
Get field type from string.
void SubtractSelectionList(vtkSelectionNode *other)
Subtracts the items in the selection list, other, from this selection list.
virtual void SetFieldType(int type)
Get or set the field type of the selection.
virtual void SetSelectionList(vtkAbstractArray *)
Get/Set the selection list.
virtual void Initialize()
Restore data object to initial state,.
~vtkSelectionNode() override
void UnionSelectionList(vtkSelectionNode *other)
Merges the selection list between self and the other.
SelectionField
Indicate the types of entities to which the selection-data applies.
@ POINT
The selection data provided is point-data.
@ EDGE
The selection data provided is graph edge-data.
@ CELL
The selection data provided is cell-data.
@ FIELD
The selection data provided is field-data.
@ ROW
The selection data provided is table row-data.
@ VERTEX
The selection data provided is graph vertex-data.
static vtkInformationIntegerKey * CELLGRID_CELL_TYPE_INDEX()
Used to identify a cell type and whether picked entity is a side in a vtkCellGrid.
virtual int GetContentType()
Get or set the content type of the selection.
virtual void SetContentType(int type)
Get or set the content type of the selection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetSelectionData(vtkDataSetAttributes *data)
Sets the selection table.
static const char * GetFieldTypeAsString(int type)
Get the field type as a string.
static int ConvertAttributeTypeToSelectionField(int val)
Methods to convert vtkSelectionNode::SelectionField to vtkDataSetAttribute::AttributeTypes and vice-v...
SelectionContent
Indicate the means by which data is selected.
@ VALUES
Select entities that take on specific array values.
@ PEDIGREEIDS
Select entities that have some identifiable pedigree.
@ GLOBALIDS
Select entities called out by their globally-unique IDs.
@ LOCATIONS
Select entities near the supplied world coordinates.
@ BLOCK_SELECTORS
Select datasets within a composite dataset using selector expressions.
@ INDICES
Select entities by their offsets into the dataset.
@ THRESHOLDS
Select entities whose array values fall within a given threshold.
@ QUERY
Select entities with a text query.
@ BLOCKS
Select blocks within a composite dataset by their flat index.
@ USER
Select entities with user-supplied, application-specific logic.
@ FRUSTUM
Select entities contained within a viewing frustum.
bool EqualProperties(vtkSelectionNode *other, bool fullcompare=true)
Compares Properties of self and other to ensure that they are exactly same.
virtual void DeepCopy(vtkSelectionNode *src)
Copy properties, selection list and children of the input.
static vtkSelectionNode * New()
vtkMTimeType GetMTime() override
Return the MTime taking into account changes to the properties.
virtual int GetFieldType()
Get or set the field type of the selection.
static vtkInformationIntegerKey * CELLGRID_SOURCE_SPECIFICATION_INDEX()
Used to identify a cell type and whether picked entity is a side in a vtkCellGrid.
static const char * GetContentTypeAsString(int type)
Get the content type as a string.
vtkDataSetAttributes * SelectionData
virtual vtkAbstractArray * GetSelectionList()
Get/Set the selection list.
vtkInformation * Properties
virtual void ShallowCopy(vtkSelectionNode *src)
Copy properties, selection list and children of the input.
static int ConvertSelectionFieldToAttributeType(int val)
Methods to convert vtkSelectionNode::SelectionField to vtkDataSetAttribute::AttributeTypes and vice-v...
A table, which contains similar-typed columns of data.
vtkTypeUInt32 vtkMTimeType