/usr/include/vtk-7.1/vtkOpenGLProperty.h is in libvtk7-dev 7.1.1+dfsg1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkOpenGLProperty.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
/**
* @class vtkOpenGLProperty
* @brief OpenGL property
*
* vtkOpenGLProperty is a concrete implementation of the abstract class
* vtkProperty. vtkOpenGLProperty interfaces to the OpenGL rendering library.
*/
#ifndef vtkOpenGLProperty_h
#define vtkOpenGLProperty_h
#include "vtkRenderingOpenGL2Module.h" // For export macro
#include "vtkProperty.h"
class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLProperty : public vtkProperty
{
public:
static vtkOpenGLProperty *New();
vtkTypeMacro(vtkOpenGLProperty, vtkProperty);
void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
/**
* Implement base class method.
*/
void Render(vtkActor *a, vtkRenderer *ren);
/**
* Implement base class method.
*/
void BackfaceRender(vtkActor *a, vtkRenderer *ren);
/**
* This method is called after the actor has been rendered.
* Don't call this directly. This method cleans up
* any shaders allocated.
*/
virtual void PostRender(vtkActor *a,
vtkRenderer *r);
/**
* Release any graphics resources that are being consumed by this
* property. The parameter window could be used to determine which graphic
* resources to release.
*/
virtual void ReleaseGraphicsResources(vtkWindow *win);
protected:
vtkOpenGLProperty();
~vtkOpenGLProperty();
/**
* Method called in vtkOpenGLProperty::Render() to render textures.
* Last argument is the value returned from RenderShaders() call.
*/
bool RenderTextures(vtkActor* actor, vtkRenderer* renderer);
private:
vtkOpenGLProperty(const vtkOpenGLProperty&) VTK_DELETE_FUNCTION;
void operator=(const vtkOpenGLProperty&) VTK_DELETE_FUNCTION;
};
#endif
|