#include <vtkSelectionLink.h>
vtkSelectionLink is a simple source filter which outputs the selection object stored internally. Multiple objects may share the same selection link filter and connect it to an internal pipeline so that if one object changes the selection, it will be pulled into all the other objects when their pipelines update.
Definition at line 39 of file vtkSelectionLink.h.
Public Types | |
typedef vtkSelectionAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkSelection * | GetSelection () |
void | SetSelection (vtkSelection *selection) |
void | AddDomainMap (vtkTable *map) |
void | RemoveDomainMap (vtkTable *map) |
void | RemoveAllDomainMaps () |
int | GetNumberOfDomainMaps () |
vtkTable * | GetDomainMap (int i) |
Static Public Member Functions | |
static vtkSelectionLink * | New () |
static int | IsTypeOf (const char *type) |
static vtkSelectionLink * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkSelectionLink () | |
~vtkSelectionLink () | |
virtual int | FillOutputPortInformation (int, vtkInformation *) |
virtual int | RequestData (vtkInformation *info, vtkInformationVector **inVector, vtkInformationVector *outVector) |
Protected Attributes | |
vtkSelection * | Selection |
vtkDataObjectCollection * | DomainMaps |
vtkSelectionLink::vtkSelectionLink | ( | ) | [protected] |
vtkSelectionLink::~vtkSelectionLink | ( | ) | [protected] |
static vtkSelectionLink* vtkSelectionLink::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkSelectionAlgorithm.
virtual const char* vtkSelectionLink::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkSelectionAlgorithm.
static int vtkSelectionLink::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkSelectionAlgorithm.
virtual int vtkSelectionLink::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkSelectionAlgorithm.
static vtkSelectionLink* vtkSelectionLink::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkSelectionAlgorithm.
void vtkSelectionLink::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkSelectionAlgorithm.
virtual vtkSelection* vtkSelectionLink::GetSelection | ( | ) | [virtual] |
The selection to be shared.
void vtkSelectionLink::SetSelection | ( | vtkSelection * | selection | ) |
The selection to be shared.
void vtkSelectionLink::AddDomainMap | ( | vtkTable * | map | ) |
The domain mappings.
void vtkSelectionLink::RemoveDomainMap | ( | vtkTable * | map | ) |
The domain mappings.
void vtkSelectionLink::RemoveAllDomainMaps | ( | ) |
The domain mappings.
int vtkSelectionLink::GetNumberOfDomainMaps | ( | ) |
The domain mappings.
vtkTable* vtkSelectionLink::GetDomainMap | ( | int | i | ) |
The domain mappings.
virtual int vtkSelectionLink::RequestData | ( | vtkInformation * | info, | |
vtkInformationVector ** | inVector, | |||
vtkInformationVector * | outVector | |||
) | [protected, virtual] |
Shallow copy the internal selection to the output.
Reimplemented from vtkSelectionAlgorithm.
virtual int vtkSelectionLink::FillOutputPortInformation | ( | int | , | |
vtkInformation * | ||||
) | [protected, virtual] |
Set up output ports.
Reimplemented from vtkSelectionAlgorithm.
vtkSelection* vtkSelectionLink::Selection [protected] |
The shared selection.
Definition at line 77 of file vtkSelectionLink.h.
vtkDataObjectCollection* vtkSelectionLink::DomainMaps [protected] |
The mappings between domains.
Definition at line 80 of file vtkSelectionLink.h.