vtkSelectionLink Class Reference

#include <vtkSelectionLink.h>

Inheritance diagram for vtkSelectionLink:

Inheritance graph
[legend]
Collaboration diagram for vtkSelectionLink:

Collaboration graph
[legend]
List of all members.

Detailed Description

An algorithm for linking selections among objects.

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.

Examples:
vtkSelectionLink (Examples)
Tests:
vtkSelectionLink (Tests)

Definition at line 41 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 vtkSelectionGetSelection ()
void SetSelection (vtkSelection *selection)
void AddDomainMap (vtkTable *map)
void RemoveDomainMap (vtkTable *map)
void RemoveAllDomainMaps ()
int GetNumberOfDomainMaps ()
vtkTableGetDomainMap (int i)

Static Public Member Functions

static vtkSelectionLinkNew ()
static int IsTypeOf (const char *type)
static vtkSelectionLinkSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkSelectionLink ()
 ~vtkSelectionLink ()
virtual int FillOutputPortInformation (int, vtkInformation *)
virtual int RequestData (vtkInformation *info, vtkInformationVector **inVector, vtkInformationVector *outVector)

Protected Attributes

vtkSelectionSelection
vtkDataObjectCollectionDomainMaps


Member Typedef Documentation

typedef vtkSelectionAlgorithm vtkSelectionLink::Superclass

Reimplemented from vtkSelectionAlgorithm.

Definition at line 45 of file vtkSelectionLink.h.


Constructor & Destructor Documentation

vtkSelectionLink::vtkSelectionLink (  )  [protected]

vtkSelectionLink::~vtkSelectionLink (  )  [protected]


Member Function Documentation

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 *  type  )  [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 *  type  )  [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.


Member Data Documentation

vtkSelection* vtkSelectionLink::Selection [protected]

The shared selection.

Definition at line 79 of file vtkSelectionLink.h.

vtkDataObjectCollection* vtkSelectionLink::DomainMaps [protected]

The mappings between domains.

Definition at line 82 of file vtkSelectionLink.h.


The documentation for this class was generated from the following file:
Generated on Thu Nov 20 17:17:45 2008 for VTK by  doxygen 1.4.7