This file is indexed.

/usr/include/oce/VrmlConverter_Drawer.hxx is in liboce-visualization-dev 0.17.2-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
 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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _VrmlConverter_Drawer_HeaderFile
#define _VrmlConverter_Drawer_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_VrmlConverter_Drawer.hxx>

#include <Handle_VrmlConverter_IsoAspect.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Boolean.hxx>
#include <Handle_VrmlConverter_LineAspect.hxx>
#include <Handle_VrmlConverter_ShadingAspect.hxx>
#include <Quantity_Length.hxx>
#include <Aspect_TypeOfDeflection.hxx>
#include <Standard_Real.hxx>
#include <Handle_VrmlConverter_PointAspect.hxx>
#include <MMgt_TShared.hxx>
class VrmlConverter_IsoAspect;
class VrmlConverter_LineAspect;
class VrmlConverter_ShadingAspect;
class VrmlConverter_PointAspect;


//! qualifies the aspect properties for
//! the VRML conversation of a specific kind of object.
//! This includes for example color, maximal chordial deviation, etc...
class VrmlConverter_Drawer : public MMgt_TShared
{

public:

  
  Standard_EXPORT VrmlConverter_Drawer();
  
  //! by default: TOD_Relative; however, except for the shapes,
  //! the drawing  will be made using the absolute deviation.
  Standard_EXPORT   void SetTypeOfDeflection (const Aspect_TypeOfDeflection aTypeOfDeflection) ;
  
  Standard_EXPORT   Aspect_TypeOfDeflection TypeOfDeflection()  const;
  
  //! Defines the maximal chordial deviation when drawing any curve;
  //! If this  value is  one  of  the  obvious  parameters  of  methods,
  //! current  value  from  Drawer won't be used.
  //! This value is used by:
  //!
  //! VrmlConverter_DeflectionCurve
  //! VrmlConverter_WFDeflectionRestrictedFace
  //! VrmlConverter_WFDeflectionShape
  Standard_EXPORT   void SetMaximalChordialDeviation (const Quantity_Length aChordialDeviation) ;
  
  //! returns the maximal chordial deviation.
  //! Default value: 0.1
  Standard_EXPORT   Quantity_Length MaximalChordialDeviation()  const;
  
  //! default 0.001
  Standard_EXPORT   void SetDeviationCoefficient (const Standard_Real aCoefficient) ;
  
  Standard_EXPORT   Standard_Real DeviationCoefficient()  const;
  
  //! default: 17 points.
  //! Defines the Discretisation  (myNbPoints) when drawing any curve;
  //! If this  value is  one  of  the  obvious  parameters  of  methods,
  //! current  value  from  Drawer won't be used.
  //! This value is used by:
  //!
  //! VrmlConverter_Curve
  //! VrmlConverter_WFRestrictedFace
  //! VrmlConverter_WFShape
  Standard_EXPORT   void SetDiscretisation (const Standard_Integer d) ;
  
  Standard_EXPORT   Standard_Integer Discretisation()  const;
  
  //! defines the maximum value allowed  for the first and last
  //! parameters of an infinite curve.
  //! Default value: 500.
  //! VrmlConverter_Curve
  //! VrmlConverter_WFRestrictedFace
  //! VrmlConverter_WFShape
  Standard_EXPORT   void SetMaximalParameterValue (const Standard_Real Value) ;
  
  Standard_EXPORT   Standard_Real MaximalParameterValue()  const;
  
  //! enables the drawing of isos on planes.
  //! By default there are no isos on planes.
  Standard_EXPORT   void SetIsoOnPlane (const Standard_Boolean OnOff) ;
  
  //! returns True if the drawing of isos on planes is enabled.
  Standard_EXPORT   Standard_Boolean IsoOnPlane()  const;
  
  //! Defines the attributes which are used when drawing an
  //! U isoparametric curve of a face. Defines the number
  //! of U isoparametric curves to be drawn for a single face.
  //! The default values are the same default values from Vrml package.
  //!
  //! These attributes are used by the following algorithms:
  //! VrmlConverter_WFRestrictedFace
  //! VrmlConverter_WFDeflectionRestrictedFace
  Standard_EXPORT   Handle(VrmlConverter_IsoAspect) UIsoAspect() ;
  
  Standard_EXPORT   void SetUIsoAspect (const Handle(VrmlConverter_IsoAspect)& anAspect) ;
  
  //! Defines the attributes which are used when drawing an
  //! V isoparametric curve of a face. Defines the number
  //! of V isoparametric curves to be drawn for a single face.
  //! The default values are the same default values from Vrml package.
  //!
  //! These attributes are used by the following algorithms:
  //! VrmlConverter_WFRestrictedFace
  //! VrmlConverter_WFDeflectionRestrictedFace
  Standard_EXPORT   Handle(VrmlConverter_IsoAspect) VIsoAspect() ;
  
  Standard_EXPORT   void SetVIsoAspect (const Handle(VrmlConverter_IsoAspect)& anAspect) ;
  

  //! The default values are the same default values from Vrml package.
  //! These attributes are used by the following algorithms:
  //! VrmlConverter_WFShape
  //! VrmlConverter_WFDeflectionShape
  Standard_EXPORT   Handle(VrmlConverter_LineAspect) FreeBoundaryAspect() ;
  
  Standard_EXPORT   void SetFreeBoundaryAspect (const Handle(VrmlConverter_LineAspect)& anAspect) ;
  
  //! enables the drawing the free boundaries
  //! By default the free boundaries  are drawn.
  Standard_EXPORT   void SetFreeBoundaryDraw (const Standard_Boolean OnOff) ;
  
  //! returns True if the drawing of the free boundaries is enabled.
  Standard_EXPORT   Standard_Boolean FreeBoundaryDraw()  const;
  

  //! The default values are the same default values from Vrml package.
  //! These attributes are used by the following algorithms:
  //! VrmlConverter_WFShape
  //! VrmlConverter_WFDeflectionShape
  Standard_EXPORT   Handle(VrmlConverter_LineAspect) WireAspect() ;
  
  Standard_EXPORT   void SetWireAspect (const Handle(VrmlConverter_LineAspect)& anAspect) ;
  
  //! enables the drawing the wire
  //! By default the wire  are drawn.
  Standard_EXPORT   void SetWireDraw (const Standard_Boolean OnOff) ;
  
  //! returns True if the drawing of the wire is enabled.
  Standard_EXPORT   Standard_Boolean WireDraw()  const;
  

  //! The default values are the same default values from Vrml package.
  //! These attributes are used by the following algorithms:
  //! VrmlConverter_WFShape
  //! VrmlConverter_WFDeflectionShape
  Standard_EXPORT   Handle(VrmlConverter_LineAspect) UnFreeBoundaryAspect() ;
  
  Standard_EXPORT   void SetUnFreeBoundaryAspect (const Handle(VrmlConverter_LineAspect)& anAspect) ;
  
  //! enables the drawing the unfree boundaries
  //! By default the unfree boundaries  are drawn.
  Standard_EXPORT   void SetUnFreeBoundaryDraw (const Standard_Boolean OnOff) ;
  
  //! returns True if the drawing of the unfree boundaries is enabled.
  Standard_EXPORT   Standard_Boolean UnFreeBoundaryDraw()  const;
  

  //! The default values are the same default values from Vrml package.
  Standard_EXPORT   Handle(VrmlConverter_LineAspect) LineAspect() ;
  
  Standard_EXPORT   void SetLineAspect (const Handle(VrmlConverter_LineAspect)& anAspect) ;
  
  Standard_EXPORT   Handle(VrmlConverter_PointAspect) PointAspect() ;
  
  Standard_EXPORT   void SetPointAspect (const Handle(VrmlConverter_PointAspect)& anAspect) ;
  

  //! The default values are the same default values from Vrml package.
  Standard_EXPORT   Handle(VrmlConverter_ShadingAspect) ShadingAspect() ;
  
  Standard_EXPORT   void SetShadingAspect (const Handle(VrmlConverter_ShadingAspect)& anAspect) ;
  
  //! returns Standard_True if the hidden lines are to be drawn.
  //! By default the hidden lines are not drawn.
  Standard_EXPORT   Standard_Boolean DrawHiddenLine()  const;
  
  //! sets DrawHiddenLine  =  Standard_True  -  the hidden lines are drawn.
  Standard_EXPORT   void EnableDrawHiddenLine() ;
  
  //! sets DrawHiddenLine  =  Standard_False  -  the hidden lines are not drawn.
  Standard_EXPORT   void DisableDrawHiddenLine() ;
  
  //! returns LineAspect  for  the hidden lines.
  //! The default values are the same default values from Vrml package.
  Standard_EXPORT   Handle(VrmlConverter_LineAspect) HiddenLineAspect() ;
  
  //! sets LineAspect  for  the hidden lines.
  Standard_EXPORT   void SetHiddenLineAspect (const Handle(VrmlConverter_LineAspect)& anAspect) ;
  
  //! returns LineAspect  for  the seen lines.
  //! The default values are the same default values from Vrml package.
  Standard_EXPORT   Handle(VrmlConverter_LineAspect) SeenLineAspect() ;
  
  //! sets LineAspect  for  the seen lines.
  Standard_EXPORT   void SetSeenLineAspect (const Handle(VrmlConverter_LineAspect)& anAspect) ;




  DEFINE_STANDARD_RTTI(VrmlConverter_Drawer)

protected:




private: 


  Handle(VrmlConverter_IsoAspect) myUIsoAspect;
  Handle(VrmlConverter_IsoAspect) myVIsoAspect;
  Standard_Integer myNbPoints;
  Standard_Boolean myIsoOnPlane;
  Handle(VrmlConverter_LineAspect) myFreeBoundaryAspect;
  Standard_Boolean myFreeBoundaryDraw;
  Handle(VrmlConverter_LineAspect) myUnFreeBoundaryAspect;
  Standard_Boolean myUnFreeBoundaryDraw;
  Handle(VrmlConverter_LineAspect) myWireAspect;
  Standard_Boolean myWireDraw;
  Handle(VrmlConverter_LineAspect) myLineAspect;
  Handle(VrmlConverter_ShadingAspect) myShadingAspect;
  Quantity_Length myChordialDeviation;
  Aspect_TypeOfDeflection myTypeOfDeflection;
  Standard_Real myMaximalParameterValue;
  Standard_Real myDeviationCoefficient;
  Handle(VrmlConverter_PointAspect) myPointAspect;
  Standard_Boolean myDrawHiddenLine;
  Handle(VrmlConverter_LineAspect) myHiddenLineAspect;
  Handle(VrmlConverter_LineAspect) mySeenLineAspect;


};







#endif // _VrmlConverter_Drawer_HeaderFile