This file is indexed.

/usr/include/oce/Prs3d_DimensionAspect.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
// 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 _Prs3d_DimensionAspect_HeaderFile
#define _Prs3d_DimensionAspect_HeaderFile

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

#include <Handle_Prs3d_LineAspect.hxx>
#include <Handle_Prs3d_TextAspect.hxx>
#include <Handle_Prs3d_ArrowAspect.hxx>
#include <Standard_Boolean.hxx>
#include <Prs3d_DimensionArrowOrientation.hxx>
#include <Prs3d_DimensionTextHorizontalPosition.hxx>
#include <Prs3d_DimensionTextVerticalPosition.hxx>
#include <Standard_Real.hxx>
#include <TCollection_AsciiString.hxx>
#include <Prs3d_BasicAspect.hxx>
class Prs3d_LineAspect;
class Prs3d_TextAspect;
class Prs3d_ArrowAspect;
class Quantity_Color;
class TCollection_AsciiString;


//! defines the attributes when drawing a Length Presentation.
class Prs3d_DimensionAspect : public Prs3d_BasicAspect
{

public:

  
  //! Constructs an empty framework to define the display of dimensions.
  Standard_EXPORT Prs3d_DimensionAspect();
  
  //! Returns the settings for the display of lines used in presentation of dimensions.
  Standard_EXPORT   Handle(Prs3d_LineAspect) LineAspect()  const;
  
  //! Sets the display attributes of lines used in presentation of dimensions.
  Standard_EXPORT   void SetLineAspect (const Handle(Prs3d_LineAspect)& theAspect) ;
  
  //! Returns the settings for the display of text used in presentation of dimensions.
  Standard_EXPORT   Handle(Prs3d_TextAspect) TextAspect()  const;
  
  //! Sets the display attributes of text used in presentation of dimensions.
  Standard_EXPORT   void SetTextAspect (const Handle(Prs3d_TextAspect)& theAspect) ;
  
  //! Check if text for dimension label is 3d.
  Standard_EXPORT   Standard_Boolean IsText3d()  const;
  
  //! Sets type of text.
  Standard_EXPORT   void MakeText3d (const Standard_Boolean isText3d) ;
  
  //! Check if 3d text for dimension label is shaded.
  Standard_EXPORT   Standard_Boolean IsTextShaded()  const;
  
  //! Turns on/off text shading for 3d text.
  Standard_EXPORT   void MakeTextShaded (const Standard_Boolean isTextShaded) ;
  
  //! Gets type of arrows.
  Standard_EXPORT   Standard_Boolean IsArrows3d()  const;
  
  //! Sets type of arrows.
  Standard_EXPORT   void MakeArrows3d (const Standard_Boolean isArrows3d) ;
  
  //! Shows if Units are to be displayed along with dimension value.
  Standard_EXPORT   Standard_Boolean IsUnitsDisplayed()  const;
  
  //! Specifies whether the units string should be displayed
  //! along with value label or not.
  Standard_EXPORT   void MakeUnitsDisplayed (const Standard_Boolean theIsDisplayed) ;
  
  //! Sets orientation of arrows (external or internal).
  //! By default orientation is chosen automatically according to situation and text label size.
  Standard_EXPORT   void SetArrowOrientation (const Prs3d_DimensionArrowOrientation theArrowOrient) ;
  
  //! Gets orientation of arrows (external or internal).
  Standard_EXPORT   Prs3d_DimensionArrowOrientation ArrowOrientation()  const;
  
  //! Sets vertical text alignment for text label.
  Standard_EXPORT   void SetTextVerticalPosition (const Prs3d_DimensionTextVerticalPosition thePosition) ;
  
  //! Gets vertical text alignment for text label.
  Standard_EXPORT   Prs3d_DimensionTextVerticalPosition TextVerticalPosition()  const;
  
  //! Sets horizontal text alignment for text label.
  Standard_EXPORT   void SetTextHorizontalPosition (const Prs3d_DimensionTextHorizontalPosition thePosition) ;
  
  //! Gets horizontal text alignment for text label.
  Standard_EXPORT   Prs3d_DimensionTextHorizontalPosition TextHorizontalPosition()  const;
  
  //! Returns the settings for displaying arrows.
  Standard_EXPORT   Handle(Prs3d_ArrowAspect) ArrowAspect()  const;
  
  //! Sets the display attributes of arrows used in presentation of dimensions.
  Standard_EXPORT   void SetArrowAspect (const Handle(Prs3d_ArrowAspect)& theAspect) ;
  
  //! Sets the same color for all parts of dimension: lines, arrows and text.
  Standard_EXPORT   void SetCommonColor (const Quantity_Color& theColor) ;
  
  //! Sets extension size.
  Standard_EXPORT   void SetExtensionSize (const Standard_Real theSize) ;
  
  //! Returns extension size.
  Standard_EXPORT   Standard_Real ExtensionSize()  const;
  
  //! Set size for arrow tail (extension without text).
  Standard_EXPORT   void SetArrowTailSize (const Standard_Real theSize) ;
  
  //! Returns arrow tail size.
  Standard_EXPORT   Standard_Real ArrowTailSize()  const;
  
  //! Sets "sprintf"-syntax format for formatting dimension value labels.
  Standard_EXPORT   void SetValueStringFormat (const TCollection_AsciiString& theFormat) ;
  
  //! Returns format.
  Standard_EXPORT   TCollection_AsciiString ValueStringFormat()  const;




  DEFINE_STANDARD_RTTI(Prs3d_DimensionAspect)

protected:




private: 


  Handle(Prs3d_LineAspect) myLineAspect;
  Handle(Prs3d_TextAspect) myTextAspect;
  Handle(Prs3d_ArrowAspect) myArrowAspect;
  Standard_Boolean myIsText3d;
  Standard_Boolean myIsTextShaded;
  Standard_Boolean myIsArrows3d;
  Prs3d_DimensionArrowOrientation myArrowOrientation;
  Prs3d_DimensionTextHorizontalPosition myTextHPosition;
  Prs3d_DimensionTextVerticalPosition myTextVPosition;
  Standard_Real myExtensionSize;
  Standard_Real myArrowTailSize;
  TCollection_AsciiString myValueStringFormat;
  Standard_Boolean myToDisplayUnits;


};







#endif // _Prs3d_DimensionAspect_HeaderFile