Imaging/vtkImageAppend.h Source File

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# Imaging/vtkImageAppend.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkImageAppend.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00046 #ifndef __vtkImageAppend_h
    00047 #define __vtkImageAppend_h
    00048
    00049
    00050 #include "vtkImageMultipleInputFilter.h"
    00051
    00052 class VTK_IMAGING_EXPORT vtkImageAppend : public vtkImageMultipleInputFilter
    00053 {
    00054 public:
    00055   static vtkImageAppend *New();
    00056   vtkTypeRevisionMacro(vtkImageAppend,vtkImageMultipleInputFilter);
    00057   void PrintSelf(ostream& os, vtkIndent indent);
    00058
    00060
    00063   vtkSetMacro(AppendAxis, int);
    00064   vtkGetMacro(AppendAxis, int);
    00066
    00068
    00074   vtkSetMacro(PreserveExtents, int);
    00075   vtkGetMacro(PreserveExtents, int);
    00076   vtkBooleanMacro(PreserveExtents, int);
    00078
    00079 protected:
    00080   vtkImageAppend();
    00081   ~vtkImageAppend();
    00082
    00083   int PreserveExtents;
    00084   int AppendAxis;
    00085   // Array holds the AppendAxisExtent shift for each input.
    00086   int *Shifts;
    00087
    00088   void ExecuteInformation(vtkImageData **inputs, vtkImageData *output);
    00089   void ComputeInputUpdateExtent(int inExt[6], int outExt[6], int whichInput);
    00090   void ExecuteInformation(){this->vtkImageMultipleInputFilter::ExecuteInformation();};
    00091
    00092   void ThreadedExecute(vtkImageData **inDatas, vtkImageData *outData,
    00093                        int extent[6], int id);
    00094
    00095   void InitOutput(int outExt[6], vtkImageData *outData);
    00096 private:
    00097   vtkImageAppend(const vtkImageAppend&);  // Not implemented.
    00098   void operator=(const vtkImageAppend&);  // Not implemented.
    00099 };
    00100
    00101 #endif
    00102
    00103
    00104
    00105