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 "vtkRenderingOpenGLModule.h" // For export macro
36 #include "vtkProjectedPolyDataRayBounder.h"
37 #ifdef __APPLE__
38 # include <OpenGL/gl.h> //Needed for GLUint
39 #else
40 # include <GL/gl.h> //Needed for GLUint
41 #endif
42 
43 class vtkWindow;
44 
45 class VTKRENDERINGOPENGL_EXPORT vtkOpenGLProjectedPolyDataRayBounder : public vtkProjectedPolyDataRayBounder
46 {
47 public:
48  vtkTypeMacro(vtkOpenGLProjectedPolyDataRayBounder, vtkProjectedPolyDataRayBounder);
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
54 
58  void ReleaseGraphicsResources(vtkWindow *);
59 
60 
61 protected:
64 
67 
69  void Build(vtkPolyData *pdata);
70 
72  float *Draw(vtkRenderer *ren, vtkMatrix4x4 *matrix);
73 
74 private:
76  void operator=(const vtkOpenGLProjectedPolyDataRayBounder&); // Not implemented.
77 };
78 
79 #endif
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:38
typedef GLuint(APIENTRYP PFNGLCREATEPROGRAMPROC)(void)
abstract specification for renderers
Definition: vtkRenderer.h:63
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:83
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:619
GLuint GLenum matrix
Definition: vtkgl.h:16451
window superclass for vtkRenderWindow
Definition: vtkWindow.h:33
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKRENDERINGOPENGL_EXPORT