VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
vtkOpenGLProjectedPolyDataRayBounder.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkOpenGLProjectedPolyDataRayBounder.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
=========================================================================*/
32
#ifndef __vtkOpenGLProjectedPolyDataRayBounder_h
33
#define __vtkOpenGLProjectedPolyDataRayBounder_h
34
35
#include "vtkProjectedPolyDataRayBounder.h"
36
#ifndef VTK_IMPLEMENT_MESA_CXX
37
#ifdef __APPLE__
38
#include <OpenGL/gl.h>
//Needed for GLUint
39
#else
40
#include <GL/gl.h>
//Needed for GLUint
41
#endif
42
#endif
43
44
class
vtkWindow
;
45
46
class
VTK_RENDERING_EXPORT
vtkOpenGLProjectedPolyDataRayBounder
:
public
vtkProjectedPolyDataRayBounder
47
{
48
public
:
49
vtkTypeMacro(
vtkOpenGLProjectedPolyDataRayBounder
,vtkProjectedPolyDataRayBounder);
50
void
PrintSelf(ostream& os,
vtkIndent
indent);
51
54
static
vtkOpenGLProjectedPolyDataRayBounder
*New();
55
59
void
ReleaseGraphicsResources(
vtkWindow
*);
60
61
62
protected
:
63
vtkOpenGLProjectedPolyDataRayBounder
();
64
~
vtkOpenGLProjectedPolyDataRayBounder
();
65
66
GLuint
DisplayList
;
67
float
*
DepthRangeBuffer
;
68
70
void
Build(
vtkPolyData
*pdata );
71
73
float
*Draw(
vtkRenderer
*ren,
vtkMatrix4x4
*matrix );
74
75
private
:
76
vtkOpenGLProjectedPolyDataRayBounder
(
const
vtkOpenGLProjectedPolyDataRayBounder
&);
// Not implemented.
77
void
operator=(
const
vtkOpenGLProjectedPolyDataRayBounder
&);
// Not implemented.
78
};
79
80
#endif
Generated on Thu Mar 13 2014 08:10:33 for VTK by
1.8.1.2