A node in a selection tree. Used to store selection results.
More...
#include <vtkSelection.h>
A node in a selection tree. Used to store selection results.
vtkSelection is a collection of vtkSelectionNode objects, each of which contains information about a piece of the whole selection. Each selection node may contain different types of selections.
- See Also
- vtkSelectionNode
- Examples:
- vtkSelection (Examples)
- Tests:
- vtkSelection (Tests)
Definition at line 44 of file vtkSelection.h.
vtkSelection::vtkSelection |
( |
| ) |
|
|
protected |
vtkSelection::~vtkSelection |
( |
| ) |
|
|
protected |
static int vtkSelection::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkSelection::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkSelection::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkSelection::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual void vtkSelection::Initialize |
( |
| ) |
|
|
virtual |
Restore data object to initial state,
virtual int vtkSelection::GetDataObjectType |
( |
| ) |
|
|
inlinevirtual |
Returns VTK_SELECTION enumeration value.
Definition at line 55 of file vtkSelection.h.
unsigned int vtkSelection::GetNumberOfNodes |
( |
| ) |
|
Returns the number of nodes in this selection. Each node contains information about part of the selection.
Returns a node given it's index. Performs bound checking and will return 0 if out-of-bounds.
virtual void vtkSelection::RemoveNode |
( |
unsigned int |
idx | ) |
|
|
virtual |
Removes a selection node.
Removes a selection node.
virtual void vtkSelection::RemoveAllNodes |
( |
| ) |
|
|
virtual |
Removes a selection node.
Copy selection nodes of the input.
Copy selection nodes of the input. This is a shallow copy: selection lists and pointers in the properties are passed by reference.
virtual void vtkSelection::Union |
( |
vtkSelection * |
selection | ) |
|
|
virtual |
Union this selection with the specified selection. Attempts to reuse selection nodes in this selection if properties match exactly. Otherwise, creates new selection nodes.
Union this selection with the specified selection node. Attempts to reuse a selection node in this selection if properties match exactly. Otherwise, creates a new selection node.
virtual void vtkSelection::Subtract |
( |
vtkSelection * |
selection | ) |
|
|
virtual |
Remove the nodes from the specified selection from this selection. Assumes that selection node internal arrays are vtkIdTypeArrays.
Remove the nodes from the specified selection from this selection. Assumes that selection node internal arrays are vtkIdTypeArrays.
unsigned long vtkSelection::GetMTime |
( |
| ) |
|
Return the MTime taking into account changes to the properties
virtual void vtkSelection::Dump |
( |
| ) |
|
|
virtual |
Dumps the contents of the selection, giving basic information only.
virtual void vtkSelection::Dump |
( |
ostream & |
os | ) |
|
|
virtual |
Dumps the contents of the selection, giving basic information only.
Retrieve a vtkSelection stored inside an invormation object.
Retrieve a vtkSelection stored inside an invormation object.
The documentation for this class was generated from the following file: