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

dox/Graphics/vtkExtractSelectedIds.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkExtractSelectedIds.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 =========================================================================*/
00030 #ifndef __vtkExtractSelectedIds_h
00031 #define __vtkExtractSelectedIds_h
00032 
00033 #include "vtkExtractSelectionBase.h"
00034 
00035 class vtkSelection;
00036 class vtkSelectionNode;
00037 
00038 class VTK_GRAPHICS_EXPORT vtkExtractSelectedIds : public vtkExtractSelectionBase
00039 {
00040 public:
00041   static vtkExtractSelectedIds *New();
00042   vtkTypeRevisionMacro(vtkExtractSelectedIds, vtkExtractSelectionBase);
00043   void PrintSelf(ostream& os, vtkIndent indent);
00044 
00045 protected:
00046   vtkExtractSelectedIds();
00047   ~vtkExtractSelectedIds();
00048 
00049   // Usual data generation method
00050   virtual int RequestData(vtkInformation *, 
00051                           vtkInformationVector **, 
00052                           vtkInformationVector *);
00053 
00054 
00055   int ExtractCells(vtkSelectionNode *sel, vtkDataSet *input, 
00056                    vtkDataSet *output);
00057   int ExtractPoints(vtkSelectionNode *sel, vtkDataSet *input, 
00058                     vtkDataSet *output);
00059 
00060 private:
00061   vtkExtractSelectedIds(const vtkExtractSelectedIds&);  // Not implemented.
00062   void operator=(const vtkExtractSelectedIds&);  // Not implemented.
00063 };
00064 
00065 #endif

Generated by  doxygen 1.7.1