This file is indexed.

/usr/include/oce/VrmlConverter_ShadingAspect.hxx is in liboce-visualization-dev 0.18.2-2build1.

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
// 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_ShadingAspect_HeaderFile
#define _VrmlConverter_ShadingAspect_HeaderFile

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

#include <Handle_Vrml_Material.hxx>
#include <Vrml_ShapeHints.hxx>
#include <Standard_Boolean.hxx>
#include <MMgt_TShared.hxx>
class Vrml_Material;
class Vrml_ShapeHints;


//! qualifies the aspect properties for
//! the VRML conversation of ShadedShape .
class VrmlConverter_ShadingAspect : public MMgt_TShared
{

public:

  
  //! create a default ShadingAspect.
  Standard_EXPORT VrmlConverter_ShadingAspect();
  
  Standard_EXPORT   void SetFrontMaterial (const Handle(Vrml_Material)& aMaterial) ;
  
  Standard_EXPORT   Handle(Vrml_Material) FrontMaterial()  const;
  
  Standard_EXPORT   void SetShapeHints (const Vrml_ShapeHints& aShapeHints) ;
  
  Standard_EXPORT   Vrml_ShapeHints ShapeHints()  const;
  
  //! defines necessary of  a  calculation  of  normals for  ShadedShape  to  more
  //! accurately  display  curved  surfaces,  pacticularly  when  smoooth  or  phong
  //! shading  is  used  in  VRML  viewer.
  //! By default False  -  the normals are not calculated,
  //! True  -  the normals are calculated.
  //! Warning: If  normals  are  calculated  the  resulting  VRML  file  will
  //! be  substantially  lager.
  Standard_EXPORT   void SetHasNormals (const Standard_Boolean OnOff) ;
  
  //! returns True if the normals are calculating
  Standard_EXPORT   Standard_Boolean HasNormals()  const;
  
  //! defines necessary of writing  Material from Vrml into  output  OStream.
  //! By default False  -  the material is not writing into OStream,
  //! True  -  the material is writing.
  Standard_EXPORT   void SetHasMaterial (const Standard_Boolean OnOff) ;
  
  //! returns True if the  materials is  writing into OStream.
  Standard_EXPORT   Standard_Boolean HasMaterial()  const;




  DEFINE_STANDARD_RTTI(VrmlConverter_ShadingAspect)

protected:




private: 


  Handle(Vrml_Material) myFrontMaterial;
  Vrml_ShapeHints myShapeHints;
  Standard_Boolean myHasNormals;
  Standard_Boolean myHasMaterial;


};







#endif // _VrmlConverter_ShadingAspect_HeaderFile