This file is indexed.

/usr/share/doc/python-pyvtk/html/pyvtk.VtkData.html is in python-pyvtk 0.4.74-3.1.

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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: class VtkData</title>
<meta charset="utf-8">
</head><body bgcolor="#f0f0f8">
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><strong>pyvtk.VtkData</strong> = <a name="pyvtk.VtkData">class VtkData</a>(<a href="pyvtk.common.html#Common">pyvtk.common.Common</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>VtkData<br>
=======<br>
&nbsp;<br>
Represents&nbsp;VTK&nbsp;file&nbsp;that&nbsp;has&nbsp;four&nbsp;relevant&nbsp;parts:<br>
&nbsp;&nbsp;header&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;string&nbsp;up&nbsp;to&nbsp;length&nbsp;255<br>
&nbsp;&nbsp;format&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;string:&nbsp;ascii&nbsp;|&nbsp;binary<br>
&nbsp;&nbsp;DataSet&nbsp;&nbsp;&nbsp;-&nbsp;StructuredPoints&nbsp;|&nbsp;StructuredGrid&nbsp;|&nbsp;UnstructuredGrid<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;RectilinearGrid&nbsp;|&nbsp;PolyData<br>
&nbsp;&nbsp;Data&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;PointData&nbsp;|&nbsp;CellData<br>
&nbsp;&nbsp;<br>
Usage:<br>
------<br>
&nbsp;&nbsp;v&nbsp;=&nbsp;VtkData(&lt;DataSet&nbsp;instance&gt;&nbsp;[,&lt;header&nbsp;string&gt;,&lt;Data&nbsp;instances&gt;,..])<br>
&nbsp;&nbsp;v&nbsp;=&nbsp;VtkData(&lt;filename&gt;,&nbsp;only_structure&nbsp;=&nbsp;0)&nbsp;-&nbsp;read&nbsp;VTK&nbsp;data&nbsp;from&nbsp;file.<br>
&nbsp;&nbsp;v.<a href="#pyvtk.VtkData-tofile">tofile</a>(filename,&nbsp;format&nbsp;=&nbsp;'ascii')&nbsp;-&nbsp;save&nbsp;VTK&nbsp;data&nbsp;to&nbsp;file.<br>
Attributes:<br>
&nbsp;&nbsp;header<br>
&nbsp;&nbsp;structure<br>
&nbsp;&nbsp;point_data<br>
&nbsp;&nbsp;cell_data<br>
Public&nbsp;methods:<br>
&nbsp;&nbsp;<a href="#pyvtk.VtkData-to_string">to_string</a>(format&nbsp;=&nbsp;'ascii')<br>
&nbsp;&nbsp;<a href="#pyvtk.VtkData-tofile">tofile</a>(filename,&nbsp;format&nbsp;=&nbsp;'ascii')<br>
&nbsp;<br>
DataSet<br>
=======<br>
&nbsp;<br>
&nbsp;&nbsp;StructuredPoints(&lt;3-sequence&nbsp;of&nbsp;dimensions&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[,&lt;3-sequence&nbsp;of&nbsp;origin&gt;&nbsp;[,&nbsp;&lt;3-sequence&nbsp;of&nbsp;spacing&gt;]])<br>
&nbsp;&nbsp;StructuredGrid(&lt;3-sequence&nbsp;of&nbsp;dimensions&gt;,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;sequence&nbsp;of&nbsp;3-sequences&nbsp;of&nbsp;points&gt;)<br>
&nbsp;&nbsp;UnstructuredGrid(&lt;sequence&nbsp;of&nbsp;3-sequences&nbsp;of&nbsp;points&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[,&lt;cell&gt;&nbsp;=&nbsp;&lt;sequence&nbsp;of&nbsp;(sequences&nbsp;of)&nbsp;integers&gt;])<br>
&nbsp;&nbsp;&nbsp;&nbsp;cell&nbsp;-&nbsp;vertex&nbsp;|&nbsp;poly_vertex&nbsp;|&nbsp;line&nbsp;|&nbsp;poly_line&nbsp;|&nbsp;triangle<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;triangle_strip&nbsp;|&nbsp;polygon&nbsp;|&nbsp;pixel&nbsp;|&nbsp;quad&nbsp;|&nbsp;tetra<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;voxel&nbsp;|&nbsp;hexahedron&nbsp;|&nbsp;wedge&nbsp;|&nbsp;pyramid<br>
&nbsp;&nbsp;RectilinearGrid([x&nbsp;=&nbsp;&lt;sequence&nbsp;of&nbsp;x-coordinates&gt;],<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[y&nbsp;=&nbsp;&lt;sequence&nbsp;of&nbsp;y-coordinates&gt;],<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[z&nbsp;=&nbsp;&lt;sequence&nbsp;of&nbsp;z-coordinates&gt;])<br>
&nbsp;&nbsp;PolyData(&lt;sequence&nbsp;of&nbsp;3-sequences&nbsp;of&nbsp;points&gt;,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[vertices&nbsp;=&nbsp;&lt;sequence&nbsp;of&nbsp;(sequences&nbsp;of)&nbsp;integers&gt;],<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[lines&nbsp;=&nbsp;&lt;sequence&nbsp;of&nbsp;(sequences&nbsp;of)&nbsp;integers&gt;],<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[polygons&nbsp;=&nbsp;&lt;sequence&nbsp;of&nbsp;(sequences&nbsp;of)&nbsp;integers&gt;],<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[triangle_strips&nbsp;=&nbsp;&lt;sequence&nbsp;of&nbsp;(sequences&nbsp;of)&nbsp;integers&gt;])<br>
&nbsp;<br>
Data<br>
====<br>
&nbsp;<br>
&nbsp;&nbsp;PointData&nbsp;|&nbsp;CellData&nbsp;([&lt;DataSetAttr&nbsp;instances&gt;])&nbsp;-&nbsp;construct&nbsp;Data&nbsp;instance<br>
&nbsp;<br>
DataSetAttr<br>
===========<br>
&nbsp;<br>
&nbsp;&nbsp;DataSetAttr&nbsp;-&nbsp;Scalars&nbsp;|&nbsp;ColorScalars&nbsp;|&nbsp;LookupTable&nbsp;|&nbsp;Vectors<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;Normals&nbsp;|&nbsp;TextureCoordinates&nbsp;|&nbsp;Tensors&nbsp;|&nbsp;Field<br>
&nbsp;&nbsp;Scalars(&lt;sequence&nbsp;of&nbsp;scalars&gt;&nbsp;[,name[,&nbsp;lookup_table]])<br>
&nbsp;&nbsp;ColorScalars(&lt;sequence&nbsp;of&nbsp;scalar&nbsp;sequences&gt;&nbsp;[,name])<br>
&nbsp;&nbsp;LookupTable(&lt;sequence&nbsp;of&nbsp;4-sequences&gt;&nbsp;[,name])<br>
&nbsp;&nbsp;Vectors(&lt;sequence&nbsp;of&nbsp;3-sequences&gt;&nbsp;[,name])<br>
&nbsp;&nbsp;Normals(&lt;sequence&nbsp;of&nbsp;3-sequences&gt;&nbsp;[,name])<br>
&nbsp;&nbsp;TextureCoordinates(&lt;sequence&nbsp;of&nbsp;(1,2,&nbsp;or&nbsp;3)-sequences&gt;&nbsp;[,name])<br>
&nbsp;&nbsp;Tensors(&lt;sequence&nbsp;of&nbsp;(3x3)-sequences&gt;&nbsp;[,name])<br>
&nbsp;&nbsp;Field([name,]&nbsp;[arrayname_1&nbsp;=&nbsp;sequence&nbsp;of&nbsp;n_1-sequences,&nbsp;...<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arrayname_m&nbsp;=&nbsp;sequence&nbsp;of&nbsp;n_m-sequences,])<br>
&nbsp;&nbsp;&nbsp;&nbsp;where&nbsp;len(array_1)&nbsp;==&nbsp;..&nbsp;==&nbsp;len(array_m)&nbsp;must&nbsp;hold.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="VtkData-__init__"><strong>__init__</strong></a>(self, *args, **kws)</dt></dl>

<dl><dt><a name="VtkData-fromfile"><strong>fromfile</strong></a>(self, filename, only_structure<font color="#909090">=0</font>)</dt></dl>

<dl><dt><a name="VtkData-to_string"><strong>to_string</strong></a>(self, format<font color="#909090">='ascii'</font>)</dt></dl>

<dl><dt><a name="VtkData-tofile"><strong>tofile</strong></a>(self, filename, format<font color="#909090">='ascii'</font>)</dt><dd><tt>Save&nbsp;VTK&nbsp;data&nbsp;to&nbsp;file.</tt></dd></dl>

<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>cell_data</strong> = None</dl>

<dl><dt><strong>header</strong> = None</dl>

<dl><dt><strong>point_data</strong> = None</dl>

<hr>
Methods inherited from <a href="pyvtk.common.html#Common">pyvtk.common.Common</a>:<br>
<dl><dt><a name="VtkData-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<dl><dt><a name="VtkData-error"><strong>error</strong></a>(self, m<font color="#909090">=''</font>)</dt></dl>

<dl><dt><a name="VtkData-float01_to_int255"><strong>float01_to_int255</strong></a>(self, seq)</dt></dl>

<dl><dt><a name="VtkData-get_3_3_tuple"><strong>get_3_3_tuple</strong></a>(self, obj, default<font color="#909090">=None</font>)</dt><dd><tt>Return&nbsp;tuple&nbsp;of&nbsp;3-tuples</tt></dd></dl>

<dl><dt><a name="VtkData-get_3_3_tuple_list"><strong>get_3_3_tuple_list</strong></a>(self, obj, default<font color="#909090">=None</font>)</dt><dd><tt>Return&nbsp;list&nbsp;of&nbsp;3x3-tuples.</tt></dd></dl>

<dl><dt><a name="VtkData-get_3_tuple"><strong>get_3_tuple</strong></a>(self, obj, default<font color="#909090">=None</font>)</dt><dd><tt>Return&nbsp;3-tuple&nbsp;from<br>
number&nbsp;-&gt;&nbsp;(obj,default[1],default[2])<br>
0-sequence|None&nbsp;-&gt;&nbsp;default<br>
1-sequence&nbsp;-&gt;&nbsp;(obj[0],default[1],default[2])<br>
2-sequence&nbsp;-&gt;&nbsp;(obj[0],obj[1],default[2])<br>
(3&nbsp;or&nbsp;more)-sequence&nbsp;-&gt;&nbsp;(obj[0],obj[1],obj[2])</tt></dd></dl>

<dl><dt><a name="VtkData-get_3_tuple_list"><strong>get_3_tuple_list</strong></a>(self, obj, default<font color="#909090">=None</font>)</dt><dd><tt>Return&nbsp;list&nbsp;of&nbsp;3-tuples&nbsp;from<br>
sequence&nbsp;of&nbsp;a&nbsp;sequence,<br>
sequence&nbsp;-&nbsp;it&nbsp;is&nbsp;mapped&nbsp;to&nbsp;sequence&nbsp;of&nbsp;3-sequences&nbsp;if&nbsp;possible<br>
number</tt></dd></dl>

<dl><dt><a name="VtkData-get_datatype"><strong>get_datatype</strong></a>(self, obj)</dt></dl>

<dl><dt><a name="VtkData-get_n_seq_seq"><strong>get_n_seq_seq</strong></a>(self, obj, default)</dt></dl>

<dl><dt><a name="VtkData-get_seq"><strong>get_seq</strong></a>(self, obj, default<font color="#909090">=None</font>)</dt><dd><tt>Return&nbsp;sequence.</tt></dd></dl>

<dl><dt><a name="VtkData-get_seq_seq"><strong>get_seq_seq</strong></a>(self, obj, default<font color="#909090">=None</font>)</dt><dd><tt>Return&nbsp;sequence&nbsp;of&nbsp;sequences.</tt></dd></dl>

<dl><dt><a name="VtkData-int255_to_float01"><strong>int255_to_float01</strong></a>(self, seq)</dt></dl>

<dl><dt><a name="VtkData-message"><strong>message</strong></a>(self, m<font color="#909090">=''</font>)</dt></dl>

<dl><dt><a name="VtkData-seq_to_string"><strong>seq_to_string</strong></a>(self, seq, format, datatype)</dt></dl>

<dl><dt><a name="VtkData-skipping"><strong>skipping</strong></a>(self, m<font color="#909090">=''</font>)</dt></dl>

<dl><dt><a name="VtkData-warning"><strong>warning</strong></a>(self, m<font color="#909090">=''</font>)</dt></dl>

<hr>
Data and other attributes inherited from <a href="pyvtk.common.html#Common">pyvtk.common.Common</a>:<br>
<dl><dt><strong>default_float</strong> = 'float'</dl>

<dl><dt><strong>default_int</strong> = 'int'</dl>

<dl><dt><strong>struct_fmt_map</strong> = {'char': 'c', 'double': 'd', 'float': 'f', 'int': 'i', 'long': 'l', 'unsigned char': 'B'}</dl>

</td></tr></table>
</body></html>