/usr/include/vtk-5.8/vtkGlyph2D.h is in libvtk5-dev 5.8.0-5.
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 | /*=========================================================================
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.
=========================================================================*/
// .NAME vtkGlyph2D - copy oriented and scaled glyph geometry to every input point (2D specialization)
// .SECTION Description
// 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.)
//
// .SECTION See Also
// vtkTensorGlyph vtkGlyph3D vtkProgrammableGlyphFilter
#ifndef __vtkGlyph2D_h
#define __vtkGlyph2D_h
#include "vtkGlyph3D.h"
class VTK_GRAPHICS_EXPORT vtkGlyph2D : public vtkGlyph3D
{
public:
vtkTypeMacro(vtkGlyph2D,vtkGlyph3D);
void PrintSelf(ostream& os, vtkIndent indent);
// Description
// 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() {};
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
private:
vtkGlyph2D(const vtkGlyph2D&); // Not implemented.
void operator=(const vtkGlyph2D&); // Not implemented.
};
#endif
|