• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Graphics/vtkSelectionLink.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkSelectionLink.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00028 #ifndef __vtkSelectionLink_h
00029 #define __vtkSelectionLink_h
00030 
00031 #include "vtkSelectionAlgorithm.h"
00032 
00033 class vtkDataObjectCollection;
00034 class vtkInformation;
00035 class vtkInformationVector;
00036 class vtkSelection;
00037 class vtkTable;
00038 
00039 class VTK_GRAPHICS_EXPORT vtkSelectionLink : public vtkSelectionAlgorithm
00040 {
00041 public:
00042   static vtkSelectionLink *New();
00043   vtkTypeRevisionMacro(vtkSelectionLink, vtkSelectionAlgorithm);
00044   void PrintSelf(ostream& os, vtkIndent indent);
00045   
00047 
00048   vtkGetObjectMacro(Selection, vtkSelection);
00049   void SetSelection(vtkSelection* selection);
00051   
00053 
00054   void AddDomainMap(vtkTable* map);
00055   void RemoveDomainMap(vtkTable* map);
00056   void RemoveAllDomainMaps();
00057   int GetNumberOfDomainMaps();
00058   vtkTable* GetDomainMap(int i);
00060   
00061 protected:
00062   vtkSelectionLink();
00063   ~vtkSelectionLink();
00064   
00066 
00067   virtual int RequestData(
00068     vtkInformation *info,
00069     vtkInformationVector **inVector,
00070     vtkInformationVector *outVector);
00072 
00074   virtual int FillOutputPortInformation(int, vtkInformation*);
00075   
00077   vtkSelection* Selection;
00078 
00080   vtkDataObjectCollection* DomainMaps;
00081   
00082 private:
00083   vtkSelectionLink(const vtkSelectionLink&);  // Not implemented.
00084   void operator=(const vtkSelectionLink&);  // Not implemented.  
00085 };
00086 
00087 #endif

Generated by  doxygen 1.7.1