/usr/include/vtk-7.1/vtkOpenGLActor.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 77 78 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkOpenGLActor.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 vtkOpenGLActor
* @brief OpenGL actor
*
* vtkOpenGLActor is a concrete implementation of the abstract class vtkActor.
* vtkOpenGLActor interfaces to the OpenGL rendering library.
*/
#ifndef vtkOpenGLActor_h
#define vtkOpenGLActor_h
#include "vtkRenderingOpenGL2Module.h" // For export macro
#include "vtkActor.h"
class vtkInformationIntegerKey;
class vtkOpenGLRenderer;
class vtkMatrix4x4;
class vtkMatrix3x3;
class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLActor : public vtkActor
{
public:
static vtkOpenGLActor *New();
vtkTypeMacro(vtkOpenGLActor, vtkActor);
void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
/**
* Actual actor render method.
*/
void Render(vtkRenderer *ren, vtkMapper *mapper);
void GetKeyMatrices(vtkMatrix4x4 *&WCVCMatrix, vtkMatrix3x3 *&normalMatrix);
/**
* If this key is set in GetPropertyKeys(), the glDepthMask will be adjusted
* prior to rendering translucent objects. This is useful for e.g. depth
* peeling.
* If GetIsOpaque() == true, the depth mask is always enabled, regardless of
* this key. Otherwise, the depth mask is disabled for default alpha blending
* unless this key is set.
* If this key is set, the integer value has the following meanings:
* 0: glDepthMask(GL_FALSE)
* 1: glDepthMask(GL_TRUE)
* Anything else: No change to depth mask.
*/
static vtkInformationIntegerKey* GLDepthMaskOverride();
protected:
vtkOpenGLActor();
~vtkOpenGLActor();
vtkMatrix4x4 *MCWCMatrix;
vtkMatrix3x3 *NormalMatrix;
vtkTransform *NormalTransform;
vtkTimeStamp KeyMatrixTime;
private:
vtkOpenGLActor(const vtkOpenGLActor&) VTK_DELETE_FUNCTION;
void operator=(const vtkOpenGLActor&) VTK_DELETE_FUNCTION;
};
#endif
|