VTK
vtkOpenGLImageMapper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLImageMapper.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
29 #ifndef __vtkOpenGLImageMapper_h
30 #define __vtkOpenGLImageMapper_h
31 
32 
33 #include "vtkRenderingOpenGLModule.h" // For export macro
34 #include "vtkImageMapper.h"
35 class vtkActor2D;
36 
37 
38 class VTKRENDERINGOPENGL_EXPORT vtkOpenGLImageMapper : public vtkImageMapper
39 {
40 public:
41  static vtkOpenGLImageMapper *New();
43  virtual void PrintSelf(ostream& os, vtkIndent indent);
44 
46 
47  void RenderOverlay(vtkViewport* viewport, vtkActor2D* actor) {
48  this->RenderStart(viewport,actor);}
50 
52 
54  void RenderData(vtkViewport* viewport, vtkImageData* data,
55  vtkActor2D* actor);
57 
58 protected:
59  //
60  //
63 
64 private:
65  vtkOpenGLImageMapper(const vtkOpenGLImageMapper&); // Not implemented.
66  void operator=(const vtkOpenGLImageMapper&); // Not implemented.
67 };
68 
69 
70 #endif
71 
72 
73 
74 
75 
76 
77 
78 
79