This file is indexed.

/usr/include/oce/V3d_Light.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
 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
// 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 _V3d_Light_HeaderFile
#define _V3d_Light_HeaderFile

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

#include <V3d_TypeOfLight.hxx>
#include <Handle_Visual3d_Light.hxx>
#include <Handle_Graphic3d_Structure.hxx>
#include <MMgt_TShared.hxx>
#include <Handle_V3d_Light.hxx>
#include <V3d_View.hxx>
#include <Handle_V3d_Viewer.hxx>
#include <Quantity_TypeOfColor.hxx>
#include <Quantity_Parameter.hxx>
#include <Quantity_NameOfColor.hxx>
#include <Standard_Boolean.hxx>
#include <Handle_V3d_View.hxx>
#include <Graphic3d_Vertex.hxx>
#include <V3d_Coordinate.hxx>
class Visual3d_Light;
class Graphic3d_Structure;
class V3d_BadValue;
class V3d_Viewer;
class Quantity_Color;
class V3d_View;


//! Defines services on Light type objects..
//! (base class for AmbientLight and PositionLight)
class V3d_Light : public MMgt_TShared
{

public:

  
  //! Defines the colour of a light source
  //! according to the type of colour definition
  //! and the three corresponding values.
  Standard_EXPORT   void SetColor (const Quantity_TypeOfColor Type, const Quantity_Parameter V1, const Quantity_Parameter V2, const Quantity_Parameter V3) ;
  
  //! Defines the colour of a light source by giving
  //! the name of the colour in the form Quantity_NOC_xxxx .
  Standard_EXPORT   void SetColor (const Quantity_NameOfColor Name) ;
  
  //! Defines the colour of a light source by giving
  //! the basic colour.
  Standard_EXPORT   void SetColor (const Quantity_Color& Name) ;
  
  //! Returns the colour of the light source depending of
  //! the color type.
  Standard_EXPORT   void Color (const Quantity_TypeOfColor Type, Quantity_Parameter& V1, Quantity_Parameter& V2, Quantity_Parameter& V3)  const;
  
  //! Returns the colour of the light source.
  Standard_EXPORT   void Color (Quantity_NameOfColor& Name)  const;
  
  //! Returns the colour of the light source.
  Standard_EXPORT   Quantity_Color Color()  const;
  
  //! Returns the Type of the Light
  Standard_EXPORT   V3d_TypeOfLight Type()  const;
  
  //! returns true if the light is a headlight
  Standard_EXPORT   Standard_Boolean Headlight()  const;
  
  //! Setup headlight flag.
  Standard_EXPORT   void SetHeadlight (const Standard_Boolean theValue) ;
  
  //! Returns TRUE when a light representation is displayed
  Standard_EXPORT   Standard_Boolean IsDisplayed()  const;


friend   
  //! Activates MyLight in the view.
  Standard_EXPORT   void V3d_View::SetLightOn (const Handle(V3d_Light)& MyLight) ;
friend   
  //! Activates all the lights defined in this view.
  Standard_EXPORT   void V3d_View::SetLightOn() ;
friend   
  //! Desactivate MyLight in this view.
  Standard_EXPORT   void V3d_View::SetLightOff (const Handle(V3d_Light)& MyLight) ;
friend   
  //! Deactivate all the Lights defined in this view.
  Standard_EXPORT   void V3d_View::SetLightOff() ;


  DEFINE_STANDARD_RTTI(V3d_Light)

protected:

  
  Standard_EXPORT V3d_Light(const Handle(V3d_Viewer)& VM);
  
  //! Returns the symetric point coordinates of "aPoint"
  //! on the sphere of center "Center" and radius "Radius".
  //! VX,VY,VZ is the project vector of view.
  Standard_EXPORT static   void SymetricPointOnSphere (const Handle(V3d_View)& aView, const Graphic3d_Vertex& Center, const Graphic3d_Vertex& aPoint, const Quantity_Parameter Radius, V3d_Coordinate& X, V3d_Coordinate& Y, V3d_Coordinate& Z, Quantity_Parameter& VX, Quantity_Parameter& VY, Quantity_Parameter& VZ) ;

  V3d_TypeOfLight MyType;
  Handle(Visual3d_Light) MyLight;
  Handle(Graphic3d_Structure) MyGraphicStructure;
  Handle(Graphic3d_Structure) MyGraphicStructure1;


private: 

  
  //! Returns the Light of the associated Visual3d.
  Standard_EXPORT   Handle(Visual3d_Light) Light()  const;



};







#endif // _V3d_Light_HeaderFile