Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkImageAppendComponents.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageAppendComponents.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 __vtkImageAppendComponents_h
00029 #define __vtkImageAppendComponents_h
00030 
00031 
00032 #include "vtkThreadedImageAlgorithm.h"
00033 
00034 class VTK_IMAGING_EXPORT vtkImageAppendComponents : public vtkThreadedImageAlgorithm
00035 {
00036 public:
00037   static vtkImageAppendComponents *New();
00038   vtkTypeRevisionMacro(vtkImageAppendComponents,vtkThreadedImageAlgorithm);
00039 
00041 
00044   void SetInput(int num, vtkDataObject *input);
00045   void SetInput(vtkDataObject *input) { this->SetInput(0, input); };
00047 
00049 
00052   vtkDataObject *GetInput(int num);
00053   vtkDataObject *GetInput() { return this->GetInput(0); };
00055 
00059   int GetNumberOfInputs() { return this->GetNumberOfInputConnections(0); };
00060 
00061 protected:
00062   vtkImageAppendComponents() {};
00063   ~vtkImageAppendComponents() {};
00064   
00065   virtual int RequestInformation (vtkInformation *, vtkInformationVector **, 
00066                                   vtkInformationVector *);
00067   
00068   void ThreadedRequestData (vtkInformation* request,
00069                             vtkInformationVector** inputVector,
00070                             vtkInformationVector* outputVector,
00071                             vtkImageData ***inData, vtkImageData **outData,
00072                             int ext[6], int id);
00073 
00074   // Implement methods required by vtkAlgorithm.
00075   virtual int FillInputPortInformation(int, vtkInformation*);
00076 
00077 private:
00078   vtkImageAppendComponents(const vtkImageAppendComponents&);  // Not implemented.
00079   void operator=(const vtkImageAppendComponents&);  // Not implemented.
00080 };
00081 
00082 #endif
00083 
00084 
00085 
00086 

Generated on Mon Jan 21 23:07:28 2008 for VTK by  doxygen 1.4.3-20050530