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 "vtkImageMapper.h"
34 class vtkActor2D;
35 
36 
38 {
39 public:
40  static vtkOpenGLImageMapper *New();
42  virtual void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
46  void RenderOverlay(vtkViewport* viewport, vtkActor2D* actor) {
47  this->RenderStart(viewport,actor);}
49 
51 
53  void RenderData(vtkViewport* viewport, vtkImageData* data,
54  vtkActor2D* actor);
56 
57 protected:
58  //
59  //
62 
63 private:
64  vtkOpenGLImageMapper(const vtkOpenGLImageMapper&); // Not implemented.
65  void operator=(const vtkOpenGLImageMapper&); // Not implemented.
66 };
67 
68 
69 #endif
70 
71 
72 
73 
74 
75 
76 
77 
78 
virtual void RenderData(vtkViewport *, vtkImageData *, vtkActor2D *)=0
abstract specification for Viewports
Definition: vtkViewport.h:45
void RenderOverlay(vtkViewport *viewport, vtkActor2D *actor)
a actor that draws 2D data
Definition: vtkActor2D.h:43
2D image display support for OpenGL
a simple class to control print indentation
Definition: vtkIndent.h:37
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
void PrintSelf(ostream &os, vtkIndent indent)
#define VTK_RENDERING_EXPORT
static vtkImageMapper * New()
2D image display
void RenderStart(vtkViewport *viewport, vtkActor2D *actor)