214#ifndef vtkSelectionNode_h
215#define vtkSelectionNode_h
217#include "vtkCommonDataModelModule.h"
220VTK_ABI_NAMESPACE_BEGIN
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
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual vtkMTimeType GetMTime()
Return this object's modified time.
abstract superclass for all actors, volumes and annotations
a node in a vtkSelection the defines the selection criteria.
A table, which contains similar-typed columns of data.
static const char FieldTypeNames[SelectionField::NUM_FIELD_TYPES][8]
static int ConvertSelectionFieldToAttributeType(int val)
Methods to convert vtkSelectionNode::SelectionField to vtkDataSetAttribute::AttributeTypes and vice-v...
static const char * GetFieldTypeAsString(int type)
Get the field type as a string.
virtual void SetSelectionData(vtkDataSetAttributes *data)
Sets the selection table.
static vtkInformationIntegerKey * CELLGRID_SOURCE_SPECIFICATION_INDEX()
Used to identify a cell type and whether picked entity is a side in a vtkCellGrid.
static int ConvertAttributeTypeToSelectionField(int val)
Methods to convert vtkSelectionNode::SelectionField to vtkDataSetAttribute::AttributeTypes and vice-v...
vtkInformation * Properties
static const char * GetContentTypeAsString(int type)
Get the content type as a string.
virtual void SetFieldType(int type)
Get or set the field type of the selection.
virtual void ShallowCopy(vtkSelectionNode *src)
Copy properties, selection list and children of the input.
virtual vtkAbstractArray * GetSelectionList()
Get/Set the selection list.
static int GetFieldTypeFromString(const char *type)
Get field type from string.
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.
virtual void SetSelectionList(vtkAbstractArray *)
Get/Set the selection list.
virtual int GetFieldType()
Get or set the field type of the selection.
static const char ContentTypeNames[SelectionContent::NUM_CONTENT_TYPES][16]
SelectionField
Indicate the types of entities to which the selection-data applies.
@ CELL
The selection data provided is cell-data.
@ POINT
The selection data provided is point-data.
@ VERTEX
The selection data provided is graph vertex-data.
@ EDGE
The selection data provided is graph edge-data.
@ ROW
The selection data provided is table row-data.
virtual void Initialize()
SelectionContent
Indicate the means by which data is selected.
@ LOCATIONS
Select entities near the supplied world coordinates.
@ PEDIGREEIDS
Select entities that have some identifiable pedigree.
@ QUERY
Select entities with a text query.
@ INDICES
Select entities by their offsets into the dataset.
@ BLOCKS
Select blocks within a composite dataset by their flat index.
@ GLOBALIDS
Select entities called out by their globally-unique IDs.
@ THRESHOLDS
Select entities whose array values fall within a given threshold.
@ FRUSTUM
Select entities contained within a viewing frustum.
@ VALUES
Select entities that take on specific array values.
@ USER
Select entities with user-supplied, application-specific logic.
@ BLOCK_SELECTORS
Select datasets within a composite dataset using selector expressions.
static vtkInformationIntegerKey * CELLGRID_CELL_TYPE_INDEX()
Used to identify a cell type and whether picked entity is a side in a vtkCellGrid.
void SubtractSelectionList(vtkSelectionNode *other)
Subtracts the items in the selection list, other, from this selection list.
void UnionSelectionList(vtkSelectionNode *other)
Merges the selection list between self and the other.
vtkDataSetAttributes * SelectionData
bool EqualProperties(vtkSelectionNode *other, bool fullcompare=true)
Compares Properties of self and other to ensure that they are exactly same.
~vtkSelectionNode() override
virtual void DeepCopy(vtkSelectionNode *src)
Copy properties, selection list and children of the input.
vtkTypeUInt32 vtkMTimeType