|
virtual int | IsA (const char *type) |
| Return 1 if this class is the same type of (or a subclass of) the named class. More...
|
|
vtkSelectionNode * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses. More...
|
|
virtual void | Initialize () |
| Restore data object to initial state,. More...
|
|
virtual void | DeepCopy (vtkSelectionNode *src) |
| Copy properties, selection list and children of the input. More...
|
|
virtual void | ShallowCopy (vtkSelectionNode *src) |
| Copy properties, selection list and children of the input. More...
|
|
vtkMTimeType | GetMTime () override |
| Return the MTime taking into account changes to the properties. More...
|
|
void | UnionSelectionList (vtkSelectionNode *other) |
| Merges the selection list between self and the other. More...
|
|
void | SubtractSelectionList (vtkSelectionNode *other) |
| Subtracts the items in the selection list, other, from this selection list. More...
|
|
bool | EqualProperties (vtkSelectionNode *other, bool fullcompare=true) |
| Compares Properties of self and other to ensure that they are exactly same. More...
|
|
|
virtual void | SetSelectionList (vtkAbstractArray *) |
| Sets the selection list. More...
|
|
virtual vtkAbstractArray * | GetSelectionList () |
| Sets the selection list. More...
|
|
|
virtual void | SetSelectionData (vtkDataSetAttributes *data) |
| Sets the selection table. More...
|
|
virtual vtkDataSetAttributes * | GetSelectionData () |
| Sets the selection table. More...
|
|
|
virtual vtkInformation * | GetProperties () |
| Returns the property map. More...
|
|
|
virtual void | SetContentType (int type) |
| Get or set the content type of the selection. More...
|
|
virtual int | GetContentType () |
| Get or set the content type of the selection. More...
|
|
|
virtual void | SetFieldType (int type) |
| Get or set the field type of the selection. More...
|
|
virtual int | GetFieldType () |
| Get or set the field type of the selection. More...
|
|
|
virtual void | SetQueryString (const char *) |
| Set/Get the query expression string. More...
|
|
virtual char * | GetQueryString () |
| Set/Get the query expression string. More...
|
|
| vtkBaseTypeMacro (vtkObject, vtkObjectBase) |
|
virtual void | DebugOn () |
| Turn debugging output on. More...
|
|
virtual void | DebugOff () |
| Turn debugging output off. More...
|
|
bool | GetDebug () |
| Get the value of the debug flag. More...
|
|
void | SetDebug (bool debugFlag) |
| Set the value of the debug flag. More...
|
|
virtual void | Modified () |
| Update the modification time for this object. More...
|
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
int | HasObserver (unsigned long event) |
|
int | HasObserver (const char *event) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
vtkCommand * | GetCommand (unsigned long tag) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
void | RemoveObserver (vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
void | RemoveObservers (const char *event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
int | HasObserver (unsigned long event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
int | HasObserver (const char *event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| Allow user to set the AbortFlagOn() with the return value of the callback method. More...
|
|
int | InvokeEvent (unsigned long event, void *callData) |
| This method invokes an event and return whether the event was aborted or not. More...
|
|
int | InvokeEvent (const char *event, void *callData) |
| This method invokes an event and return whether the event was aborted or not. More...
|
|
const char * | GetClassName () const |
| Return the class name as a string. More...
|
|
virtual void | Delete () |
| Delete a VTK object. More...
|
|
virtual void | FastDelete () |
| Delete a reference to this object. More...
|
|
void | InitializeObjectBase () |
|
void | Print (ostream &os) |
| Print an object to an ostream. More...
|
|
virtual void | Register (vtkObjectBase *o) |
| Increase the reference count (mark as used by another object). More...
|
|
virtual void | UnRegister (vtkObjectBase *o) |
| Decrease the reference count (release by another object). More...
|
|
int | GetReferenceCount () |
| Return the current reference count of this object. More...
|
|
void | SetReferenceCount (int) |
| Sets the reference count. More...
|
|
void | PrintRevisions (ostream &) |
| Legacy. More...
|
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| Methods invoked by print to print information about the object including superclasses. More...
|
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| Methods invoked by print to print information about the object including superclasses. More...
|
|
|
static int | IsTypeOf (const char *type) |
|
static vtkSelectionNode * | SafeDownCast (vtkObjectBase *o) |
|
static vtkSelectionNode * | New () |
|
static vtkInformationIntegerKey * | CONTENT_TYPE () |
| Get the (primary) property that describes the content of a selection node's data. More...
|
|
static vtkInformationIntegerKey * | FIELD_TYPE () |
| Controls whether cell, point, or field data determine what is inside and out. More...
|
|
static vtkInformationDoubleKey * | EPSILON () |
| For location selection of points, if distance is greater than this reject. More...
|
|
static vtkInformationIntegerKey * | CONTAINING_CELLS () |
| This flag tells the extraction filter, when FIELD_TYPE==POINT, that it should also extract the cells that contain any of the extracted points. More...
|
|
static vtkInformationIntegerKey * | COMPONENT_NUMBER () |
| When ContentType==THRESHOLDS or ContentType==VALUES i.e. More...
|
|
static vtkInformationIntegerKey * | INVERSE () |
| This flag tells the extraction filter to exclude the selection. More...
|
|
static vtkInformationIntegerKey * | PIXEL_COUNT () |
| A helper for visible cell selector, this is the number of pixels covered by the actor whose cells are listed in the selection. More...
|
|
static vtkInformationObjectBaseKey * | SOURCE () |
| Pointer to the data or algorithm the selection belongs to. More...
|
|
static vtkInformationIntegerKey * | SOURCE_ID () |
| ID of the data or algorithm the selection belongs to. More...
|
|
static vtkInformationObjectBaseKey * | PROP () |
| Pointer to the prop the selection belongs to. More...
|
|
static vtkInformationIntegerKey * | PROP_ID () |
| ID of the prop the selection belongs to. More...
|
|
static vtkInformationIntegerKey * | PROCESS_ID () |
| Process id the selection is on. More...
|
|
static vtkInformationIntegerKey * | COMPOSITE_INDEX () |
| Used to identify a node in composite datasets. More...
|
|
static vtkInformationIntegerKey * | INDEXED_VERTICES () |
| This key is used when making visible vertex selection. More...
|
|
|
static int | ConvertSelectionFieldToAttributeType (int val) |
| Methods to convert vtkSelectionNode::SelectionField to vtkDataSetAttribute::AttributeTypes and vice-versa. More...
|
|
static int | ConvertAttributeTypeToSelectionField (int val) |
| Methods to convert vtkSelectionNode::SelectionField to vtkDataSetAttribute::AttributeTypes and vice-versa. More...
|
|
|
static vtkInformationIntegerKey * | HIERARCHICAL_LEVEL () |
| Used to identify a dataset in a hiererchical box dataset. More...
|
|
static vtkInformationIntegerKey * | HIERARCHICAL_INDEX () |
| Used to identify a dataset in a hiererchical box dataset. More...
|
|
static vtkObject * | New () |
| Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
|
|
static void | BreakOnError () |
| This method is called when vtkErrorMacro executes. More...
|
|
static void | SetGlobalWarningDisplay (int val) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. More...
|
|
static void | GlobalWarningDisplayOn () |
| This is a global flag that controls whether any debug, warning or error messages are displayed. More...
|
|
static void | GlobalWarningDisplayOff () |
| This is a global flag that controls whether any debug, warning or error messages are displayed. More...
|
|
static int | GetGlobalWarningDisplay () |
| This is a global flag that controls whether any debug, warning or error messages are displayed. More...
|
|
static vtkTypeBool | IsTypeOf (const char *name) |
| Return 1 if this class type is the same type of (or a subclass of) the named class. More...
|
|
static vtkObjectBase * | New () |
| Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
|
|
A node in a selection tree.
Used to store selection results.
vtkSelectionNode stores selection parameters for a selection (or part of a selection). It stores a list of properties (in a vtkInformation) and a list of selection values (in a vtkAbstractArray). The properties provide information about what the selection values mean. For example the CONTENT_TYPE property gives information about what is stored by the node. If the CONTENT_TYPE is GLOBALIDS, the SelectionList array should contain a list of cell or point ids, which identify the particular cells or points that have matching values in the GLOBALID vtkDataSetAttribute array. If the CONTENT_TYPE is PEDIGREEIDS, the SelectionList array should contain a list of cell or point ids, which identify the particular cells or points that have matching values in the PEDIGREEID vtkDataSetAttribute array. The FIELD_TYPE property designates whether the selection refers to cells or points.
Usually, each node under the root is a selection from one data object. SOURCE or SOURCE_ID properties point to this object. If the selection was performed on a renderer, PROP or PROP_ID point to the prop the selection was made on. Selection nodes corresponding to composite datasets may contain child nodes. Each child node of a composite dataset should have COMPOSITE_INDEX set. This is the flat-index to identify a node with in the composite dataset to which the selection applies.
- Warning
- No SelectionList is created by default. It should be assigned.
- Examples:
- vtkSelectionNode (Examples)
- Tests:
- vtkSelectionNode (Tests)
Definition at line 67 of file vtkSelectionNode.h.