VTK
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 
55 
59  void ReleaseGraphicsResources(vtkWindow *);
60 
61 
62 protected:
65 
66  GLuint DisplayList;
68 
70  void Build( vtkPolyData *pdata );
71 
73  float *Draw( vtkRenderer *ren, vtkMatrix4x4 *matrix );
74 
75 private:
77  void operator=(const vtkOpenGLProjectedPolyDataRayBounder&); // Not implemented.
78 };
79 
80 #endif
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:37
abstract specification for renderers
Definition: vtkRenderer.h:69
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:81
window superclass for vtkRenderWindow
Definition: vtkWindow.h:35
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_RENDERING_EXPORT