This file is indexed.

/usr/include/vtk-6.2/vtk3DS.h is in libvtk6-dev 6.2.0+dfsg1-10build1.

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
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
/*=========================================================================

  Program:   Visualization Toolkit
  Module:    vtk3DS.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.

=========================================================================*/

#include <ctype.h>

class vtkLight;
class vtkCamera;
class vtkProperty;

typedef float vtk3DSVector[3];

/* A generic list type */
#define VTK_LIST_INSERT(root, node) list_insert ((vtk3DSList **)&root, reinterpret_cast<vtk3DSList *>(node))
#define VTK_LIST_FIND(root, name)   list_find   ((vtk3DSList **)&root, name)
#define VTK_LIST_DELETE(root, node) list_delete ((vtk3DSList **)&root, (vtk3DSList *)node)
#define VTK_LIST_KILL(root)         list_kill   ((vtk3DSList **)&root)

#define VTK_LIST_FIELDS  \
    char name[80];   \
    void *next;


typedef unsigned char  byte;
typedef unsigned short word;
typedef unsigned int  dword;

typedef struct {
   VTK_LIST_FIELDS
} vtk3DSList;


typedef struct {
    int a, b, c;
} vtk3DSFace;


typedef struct {
    float red, green, blue;
} vtk3DSColour;


/* Omni light command */
typedef struct {
    VTK_LIST_FIELDS

    vtk3DSVector pos;            /* Light position */
    vtk3DSColour col;            /* Light colour */
    vtkLight *aLight;
} vtk3DSOmniLight;


/* Spotlight command */
typedef struct {
    VTK_LIST_FIELDS

    vtk3DSVector pos;            /* Spotlight position */
    vtk3DSVector target;         /* Spotlight target location */
    vtk3DSColour col;            /* Spotlight colour */
    float  hotspot;        /* Hotspot angle (degrees) */
    float  falloff;        /* Falloff angle (degrees) */
    int    shadow_flag;    /* Shadow flag (not used) */
    vtkLight *aLight;
} vtk3DSSpotLight;


/* Camera command */
typedef struct {
    VTK_LIST_FIELDS

    vtk3DSVector pos;            /* Camera location */
    vtk3DSVector target;         /* Camera target */
    float  bank;           /* Banking angle (degrees) */
    float  lens;           /* Camera lens size (mm) */
    vtkCamera *aCamera;
} vtk3DSCamera;


/* Material list */
typedef struct {
    VTK_LIST_FIELDS

    int  external;         /* Externally defined material? */
} vtk3DSMaterial;


/* Object summary */
typedef struct {
    VTK_LIST_FIELDS

    vtk3DSVector center;         /* Min value of object extents */
    vtk3DSVector lengths;        /* Max value of object extents */
} vtk3DSSummary;


/* Material property */
typedef struct {
    VTK_LIST_FIELDS

    vtk3DSColour ambient;
    vtk3DSColour diffuse;
    vtk3DSColour specular;
    float  shininess;
    float  transparency;
    float  reflection;
    int    self_illum;
    char   tex_map[40];
    float  tex_strength;
    char   bump_map[40];
    float  bump_strength;
    vtkProperty *aProperty;
} vtk3DSMatProp;



class vtkActor;
class vtkPolyDataMapper;
class vtkPolyDataNormals;
class vtkStripper;
class vtkPoints;
class vtkCellArray;
class vtkPolyData;

/* A mesh object */
typedef struct {
    VTK_LIST_FIELDS

    int  vertices;         /* Number of vertices */
    vtk3DSVector *vertex;        /* List of object vertices */

    int  faces;            /* Number of faces */
    vtk3DSFace *face;            /* List of object faces */
    vtk3DSMaterial **mtl;        /* Materials for each face */

    int hidden;            /* Hidden flag */
    int shadow;            /* Shadow flag */
    vtkActor *anActor;
    vtkPolyDataMapper *aMapper;
    vtkPolyDataNormals *aNormals;
    vtkStripper *aStripper;
    vtkPoints *aPoints;
    vtkCellArray *aCellArray;
    vtkPolyData *aPolyData;

} vtk3DSMesh;


typedef struct {
    dword start;
    dword end;
    dword length;
    word  tag;
} vtk3DSChunk;


typedef struct {
    byte red;
    byte green;
    byte blue;
} vtk3DSColour_24;



// VTK-HeaderTest-Exclude: vtk3DS.h