VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
boeckb
code
depot
group-kitware
vtk
build-release
Utilities
Doxygen
dox
Rendering
OpenGL2
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
#include "vtkRenderingOpenGL2Module.h"
// For export macro
33
#include "
vtkImageMapper.h
"
34
35
class
vtkActor2D
;
36
class
vtkTexturedActor2D
;
37
38
class
VTKRENDERINGOPENGL2_EXPORT
vtkOpenGLImageMapper
:
public
vtkImageMapper
39
{
40
public
:
41
static
vtkOpenGLImageMapper
*
New
();
42
vtkTypeMacro(
vtkOpenGLImageMapper
,
vtkImageMapper
);
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
60
void
DrawPixels(
vtkViewport
*vp,
int
width,
int
height
,
int
numComponents,
void
*
data
);
61
64
void
ReleaseGraphicsResources
(
vtkWindow
*);
65
66
protected
:
67
vtkOpenGLImageMapper
();
68
~
vtkOpenGLImageMapper
();
69
70
vtkTexturedActor2D
*
Actor
;
71
72
private
:
73
vtkOpenGLImageMapper
(
const
vtkOpenGLImageMapper
&);
// Not implemented.
74
void
operator=(
const
vtkOpenGLImageMapper
&);
// Not implemented.
75
};
76
77
#endif
vtkX3D::data
Definition:
vtkX3D.h:315
vtkImageMapper::RenderData
virtual void RenderData(vtkViewport *, vtkImageData *, vtkActor2D *)=0
vtkTexturedActor2D
actor that draws 2D data with texture support
Definition:
vtkTexturedActor2D.h:40
vtkViewport
abstract specification for Viewports
Definition:
vtkViewport.h:46
vtkOpenGLImageMapper::RenderOverlay
void RenderOverlay(vtkViewport *viewport, vtkActor2D *actor)
Definition:
vtkOpenGLImageMapper.h:47
vtkActor2D
a actor that draws 2D data
Definition:
vtkActor2D.h:44
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:36
vtkImageMapper.h
vtkOpenGLImageMapper
2D image display support for OpenGL
Definition:
vtkOpenGLImageMapper.h:37
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
vtkImageData
topologically and geometrically regular array of data
Definition:
vtkImageData.h:44
vtkImageMapper::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkX3D::height
Definition:
vtkX3D.h:254
vtkImageMapper::New
static vtkImageMapper * New()
vtkAbstractMapper::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *)
Definition:
vtkAbstractMapper.h:63
vtkOpenGLImageMapper::Actor
vtkTexturedActor2D * Actor
Definition:
vtkOpenGLImageMapper.h:70
vtkImageMapper
2D image display
Definition:
vtkImageMapper.h:43
vtkImageMapper::RenderStart
void RenderStart(vtkViewport *viewport, vtkActor2D *actor)
Generated by
1.8.9.1