VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
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 "
vtkGlyph3DMapper.h
"
31
#include "
vtkGlyph3D.h
"
// for the constants (VTK_SCALE_BY_SCALAR, ...).
32
#include "
vtkWeakPointer.h
"
// needed for vtkWeakPointer.
33
34
class
vtkOpenGLGlyph3DMapperArray;
// pimp
35
class
vtkPainterPolyDataMapper
;
36
class
vtkScalarsToColorsPainter
;
37
38
class
VTK_RENDERING_EXPORT
vtkOpenGLGlyph3DMapper
:
public
vtkGlyph3DMapper
39
{
40
public
:
41
static
vtkOpenGLGlyph3DMapper
*
New
();
42
vtkTypeMacro(
vtkOpenGLGlyph3DMapper
,
vtkGlyph3DMapper
);
43
47
virtual
void
Render
(
vtkRenderer
*ren,
vtkActor
*a);
48
52
virtual
void
ReleaseGraphicsResources
(
vtkWindow
*window);
53
54
void
PrintSelf
(ostream& os,
vtkIndent
indent);
55
56
//BTX
57
protected
:
58
vtkOpenGLGlyph3DMapper
();
59
~
vtkOpenGLGlyph3DMapper
();
60
62
virtual
void
ReportReferences
(
vtkGarbageCollector
*collector);
63
65
void
CopyInformationToSubMapper(
vtkPainterPolyDataMapper
*mapper);
66
68
void
ReleaseList();
69
72
virtual
void
UpdatePainterInformation();
73
74
vtkOpenGLGlyph3DMapperArray *
SourceMappers
;
// array of mappers
75
76
vtkWeakPointer<vtkWindow>
LastWindow
;
// Window used for previous render.
77
78
unsigned
int
DisplayListId
;
// GLuint
79
80
vtkScalarsToColorsPainter
*
ScalarsToColorsPainter
;
81
vtkInformation
*
PainterInformation
;
82
vtkTimeStamp
PainterUpdateTime
;
83
84
private
:
85
vtkOpenGLGlyph3DMapper
(
const
vtkOpenGLGlyph3DMapper
&);
// Not implemented.
86
void
operator=(
const
vtkOpenGLGlyph3DMapper
&);
// Not implemented.
87
88
virtual
void
Render
(
vtkRenderer
*ren,
vtkActor
*a,
vtkDataSet
* ds);
89
//ETX
90
};
91
92
#endif
Generated on Wed May 30 2012 13:22:22 for VTK by
1.8.1