VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Rendering/OpenGL/vtkOpenGLImageMapper.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkOpenGLImageMapper.h
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 =========================================================================*/
00029 #ifndef vtkOpenGLImageMapper_h
00030 #define vtkOpenGLImageMapper_h
00031 
00032 #include "vtkRenderingOpenGLModule.h" // For export macro
00033 #include "vtkImageMapper.h"
00034 
00035 class vtkActor2D;
00036 
00037 class VTKRENDERINGOPENGL_EXPORT vtkOpenGLImageMapper : public vtkImageMapper
00038 {
00039 public:
00040   static vtkOpenGLImageMapper *New();
00041   vtkTypeMacro(vtkOpenGLImageMapper, vtkImageMapper);
00042   virtual void PrintSelf(ostream& os, vtkIndent indent);
00043 
00045 
00046   void RenderOverlay(vtkViewport* viewport, vtkActor2D* actor)
00047     { this->RenderStart(viewport, actor); }
00049 
00051 
00053   void RenderData(vtkViewport* viewport, vtkImageData* data,
00054                   vtkActor2D* actor);
00056 
00057 protected:
00058   vtkOpenGLImageMapper();
00059   ~vtkOpenGLImageMapper();
00060 
00061 private:
00062   vtkOpenGLImageMapper(const vtkOpenGLImageMapper&);  // Not implemented.
00063   void operator=(const vtkOpenGLImageMapper&);  // Not implemented.
00064 };
00065 
00066 #endif