This file is indexed.

/usr/include/oce/XCAFPrs_AISObject.hxx is in liboce-ocaf-dev 0.15-5.

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
// 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 _XCAFPrs_AISObject_HeaderFile
#define _XCAFPrs_AISObject_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_XCAFPrs_AISObject_HeaderFile
#include <Handle_XCAFPrs_AISObject.hxx>
#endif

#ifndef _TDF_Label_HeaderFile
#include <TDF_Label.hxx>
#endif
#ifndef _AIS_Shape_HeaderFile
#include <AIS_Shape.hxx>
#endif
#ifndef _Graphic3d_NameOfMaterial_HeaderFile
#include <Graphic3d_NameOfMaterial.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Handle_PrsMgr_PresentationManager3d_HeaderFile
#include <Handle_PrsMgr_PresentationManager3d.hxx>
#endif
#ifndef _Handle_Prs3d_Presentation_HeaderFile
#include <Handle_Prs3d_Presentation.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
class TDF_Label;
class Quantity_Color;
class Graphic3d_MaterialAspect;
class XCAFPrs_Style;
class TopoDS_Shape;
class PrsMgr_PresentationManager3d;
class Prs3d_Presentation;


//! Implements AIS_InteractiveObject functionality <br>
//!          for shape in DECAF document <br>
class XCAFPrs_AISObject : public AIS_Shape {

public:

  //! Creates an object to visualise the shape label <br>
  Standard_EXPORT   XCAFPrs_AISObject(const TDF_Label& lab);
  
  Standard_EXPORT   virtual  void SetColor(const Quantity_Color& aColor) ;
  
  Standard_EXPORT   virtual  void UnsetColor() ;
  
  Standard_EXPORT   virtual  void SetMaterial(const Graphic3d_NameOfMaterial aName) ;
  
  Standard_EXPORT   virtual  void SetMaterial(const Graphic3d_MaterialAspect& aName) ;
  
  Standard_EXPORT   virtual  void UnsetMaterial() ;
  
  Standard_EXPORT   virtual  void SetTransparency(const Standard_Real aValue = 0.6) ;
  
  Standard_EXPORT   virtual  void UnsetTransparency() ;




  DEFINE_STANDARD_RTTI(XCAFPrs_AISObject)

protected:

  //! Redefined method to compute presentation <br>
  Standard_EXPORT   virtual  void Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode = 0) ;
  //! Fills out a default style object which is used when styles are <br>
//!          not explicitly defined in the document. <br>
//!          By default, the style uses white color for curves and surfaces. <br>
  Standard_EXPORT   virtual  void DefaultStyle(XCAFPrs_Style& aStyle) const;



private: 

  
  Standard_EXPORT     void AddStyledItem(const XCAFPrs_Style& style,const TopoDS_Shape& shape,const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode = 0) ;

TDF_Label myLabel;


};





// other Inline functions and methods (like "C++: function call" methods)


#endif