/usr/include/vtk-7.1/vtkOpenGLGlyph3DMapper.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 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkOpenGLGlyph3DMapper.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 vtkOpenGLGlyph3DMapper
* @brief vtkOpenGLGlyph3D on the GPU.
*
* Do the same job than vtkGlyph3D but on the GPU. For this reason, it is
* a mapper not a vtkPolyDataAlgorithm. Also, some methods of vtkOpenGLGlyph3D
* don't make sense in vtkOpenGLGlyph3DMapper: GeneratePointIds, old-style
* SetSource, PointIdsName, IsPointVisible.
*
* @sa
* vtkOpenGLGlyph3D
*/
#ifndef vtkOpenGLGlyph3DMapper_h
#define vtkOpenGLGlyph3DMapper_h
#include "vtkRenderingOpenGL2Module.h" // For export macro
#include "vtkGlyph3DMapper.h"
#include "vtkNew.h" // For vtkNew
class vtkOpenGLGlyph3DHelper;
class vtkBitArray;
class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLGlyph3DMapper
: public vtkGlyph3DMapper
{
public:
static vtkOpenGLGlyph3DMapper* New();
vtkTypeMacro(vtkOpenGLGlyph3DMapper, vtkGlyph3DMapper);
void PrintSelf(ostream& os, vtkIndent indent);
/**
* Method initiates the mapping process. Generally sent by the actor
* as each frame is rendered.
* Its behavior depends on the value of SelectMode.
*/
virtual void Render(vtkRenderer *ren, vtkActor *a);
/**
* Release any graphics resources that are being consumed by this mapper.
* The parameter window could be used to determine which graphic
* resources to release.
*/
virtual void ReleaseGraphicsResources(vtkWindow *window);
protected:
vtkOpenGLGlyph3DMapper();
~vtkOpenGLGlyph3DMapper();
/**
* Render setup
*/
virtual void Render(vtkRenderer*, vtkActor*, vtkDataSet*);
/**
* Send mapper ivars to sub-mapper.
* \pre mapper_exists: mapper != 0
*/
void CopyInformationToSubMapper(vtkOpenGLGlyph3DHelper*);
void SetupColorMapper();
vtkMapper *ColorMapper;
class vtkOpenGLGlyph3DMapperEntry;
class vtkOpenGLGlyph3DMapperSubArray;
class vtkOpenGLGlyph3DMapperArray;
vtkOpenGLGlyph3DMapperArray *GlyphValues; // array of value for datasets
/**
* Build data structures associated with
*/
virtual void RebuildStructures(vtkOpenGLGlyph3DMapperSubArray *entry,
vtkIdType numPts, vtkActor* actor, vtkDataSet* dataset,
vtkBitArray *maskArray, bool selecting_points);
vtkWeakPointer<vtkWindow> LastWindow; // Window used for previous render.
private:
vtkOpenGLGlyph3DMapper(const vtkOpenGLGlyph3DMapper&) VTK_DELETE_FUNCTION;
void operator=(const vtkOpenGLGlyph3DMapper&) VTK_DELETE_FUNCTION;
};
#endif
|