/usr/include/vtk-7.1/vtkGlyph2D.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 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkGlyph2D.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 vtkGlyph2D
* @brief copy oriented and scaled glyph geometry to every input point (2D specialization)
*
* This subclass of vtkGlyph3D is a specialization to 2D. Transformations
* (i.e., translation, scaling, and rotation) are constrained to the plane.
* For example, rotations due to a vector are computed from the x-y
* coordinates of the vector only, and are assumed to occur around the
* z-axis. (See vtkGlyph3D for documentation on the interface to this
* class.)
*
* @sa
* vtkTensorGlyph vtkGlyph3D vtkProgrammableGlyphFilter
*/
#ifndef vtkGlyph2D_h
#define vtkGlyph2D_h
#include "vtkFiltersCoreModule.h" // For export macro
#include "vtkGlyph3D.h"
class VTKFILTERSCORE_EXPORT vtkGlyph2D : public vtkGlyph3D
{
public:
vtkTypeMacro(vtkGlyph2D,vtkGlyph3D);
void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
/**
* Construct object with scaling on, scaling mode is by scalar value,
* scale factor = 1.0, the range is (0,1), orient geometry is on, and
* orientation is by vector. Clamping and indexing are turned off. No
* initial sources are defined.
*/
static vtkGlyph2D *New();
protected:
vtkGlyph2D() {}
~vtkGlyph2D() VTK_OVERRIDE {}
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
private:
vtkGlyph2D(const vtkGlyph2D&) VTK_DELETE_FUNCTION;
void operator=(const vtkGlyph2D&) VTK_DELETE_FUNCTION;
};
#endif
|