VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
OpenGL
vtkOpenGLGlyph3DMapper.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkOpenGLGlyph3DMapper.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
=========================================================================*/
27
#ifndef __vtkOpenGLGlyph3DMapper_h
28
#define __vtkOpenGLGlyph3DMapper_h
29
30
#include "vtkRenderingOpenGLModule.h"
// For export macro
31
#include "
vtkGlyph3DMapper.h
"
32
#include "
vtkGlyph3D.h
"
// for the constants (VTK_SCALE_BY_SCALAR, ...).
33
#include "
vtkWeakPointer.h
"
// needed for vtkWeakPointer.
34
35
class
vtkOpenGLGlyph3DMapperArray;
// pimp
36
class
vtkPainterPolyDataMapper
;
37
class
vtkScalarsToColorsPainter
;
38
39
class
VTKRENDERINGOPENGL_EXPORT
vtkOpenGLGlyph3DMapper
:
public
vtkGlyph3DMapper
40
{
41
public
:
42
static
vtkOpenGLGlyph3DMapper
*
New
();
43
vtkTypeMacro(
vtkOpenGLGlyph3DMapper
,
vtkGlyph3DMapper
);
44
48
virtual
void
Render
(
vtkRenderer
*ren,
vtkActor
*a);
49
53
virtual
void
ReleaseGraphicsResources
(
vtkWindow
*window);
54
55
void
PrintSelf
(ostream& os,
vtkIndent
indent);
56
57
//BTX
58
protected
:
59
vtkOpenGLGlyph3DMapper
();
60
~
vtkOpenGLGlyph3DMapper
();
61
63
virtual
void
ReportReferences
(
vtkGarbageCollector
*collector);
64
66
void
CopyInformationToSubMapper(
vtkPainterPolyDataMapper
*mapper);
67
69
void
ReleaseList();
70
73
virtual
void
UpdatePainterInformation();
74
75
vtkOpenGLGlyph3DMapperArray *
SourceMappers
;
// array of mappers
76
77
vtkWeakPointer<vtkWindow>
LastWindow
;
// Window used for previous render.
78
79
unsigned
int
DisplayListId
;
// GLuint
80
81
vtkScalarsToColorsPainter
*
ScalarsToColorsPainter
;
82
vtkInformation
*
PainterInformation
;
83
vtkTimeStamp
PainterUpdateTime
;
84
85
private
:
86
vtkOpenGLGlyph3DMapper
(
const
vtkOpenGLGlyph3DMapper
&);
// Not implemented.
87
void
operator=(
const
vtkOpenGLGlyph3DMapper
&);
// Not implemented.
88
89
virtual
void
Render
(
vtkRenderer
*ren,
vtkActor
*a,
vtkDataSet
* ds);
90
//ETX
91
};
92
93
#endif
Generated on Thu May 24 2012 22:22:36 for VTK by
1.8.1