Hybrid/vtkPushImageReader.h Source File

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

# Hybrid/vtkPushImageReader.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkPushImageReader.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 =========================================================================*/
    00045 #ifndef __vtkPushImageReader_h
    00046 #define __vtkPushImageReader_h
    00047
    00048 #include "vtkImageReader2.h"
    00049
    00050 class vtkPushPipeline;
    00051
    00052 class VTK_HYBRID_EXPORT vtkPushImageReader : public vtkImageReader2
    00053 {
    00054 public:
    00055   static vtkPushImageReader *New();
    00056   vtkTypeRevisionMacro(vtkPushImageReader,vtkImageReader2);
    00057   void PrintSelf(ostream& os, vtkIndent indent);
    00058
    00060
    00061   vtkGetMacro(CurrentSlice,int);
    00062   vtkSetMacro(CurrentSlice,int);
    00064
    00066   void Push();
    00067
    00069   void Run();
    00070
    00072
    00073   virtual void SetPushPipeline(vtkPushPipeline *);
    00074   vtkGetObjectMacro(PushPipeline,vtkPushPipeline);
    00076
    00077 protected:
    00078   vtkPushImageReader();
    00079   ~vtkPushImageReader();
    00080
    00081   vtkPushPipeline *PushPipeline;
    00082
    00083   int CurrentSlice;
    00084   virtual void ExecuteInformation();
    00085   virtual void ExecuteData(vtkDataObject *out);
    00086 private:
    00087   vtkPushImageReader(const vtkPushImageReader&);  // Not implemented.
    00088   void operator=(const vtkPushImageReader&);  // Not implemented.
    00089 };
    00090 #endif
    00091
    00092