This file is indexed.

/usr/include/oce/Image_PixMap.hxx is in liboce-visualization-dev 0.9.1-3.

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

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_Image_PixMap_HeaderFile
#include <Handle_Image_PixMap.hxx>
#endif

#ifndef _Image_HPrivateImage_HeaderFile
#include <Image_HPrivateImage.hxx>
#endif
#ifndef _Aspect_PixMap_HeaderFile
#include <Aspect_PixMap.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Image_TypeOfImage_HeaderFile
#include <Image_TypeOfImage.hxx>
#endif
#ifndef _Standard_PByte_HeaderFile
#include <Standard_PByte.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_CString_HeaderFile
#include <Standard_CString.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Aspect_Handle_HeaderFile
#include <Aspect_Handle.hxx>
#endif
#ifndef _Image_CRawBufferData_HeaderFile
#include <Image_CRawBufferData.hxx>
#endif
class Aspect_PixmapDefinitionError;
class Aspect_PixmapError;
class Quantity_Color;


//! This class defines a system-independent bitmap <br>
class Image_PixMap : public Aspect_PixMap {

public:

  
//! Allocate the bitmap with requested dimensions. <br>
//! Allowed image types: <br>
//!  - Image_TOI_RGB (color image, 1 byte per component); <br>
//!  - Image_TOI_RGBA (color image with alpha channel); <br>
//!  - Image_TOI_RGBF (color image, 1 float per component); <br>
//!  - Image_TOI_RGBAF (color image with alpha channel); <br>
//!  - Image_TOI_FLOAT (grey image, 1 float per pixel). <br>
  Standard_EXPORT   Image_PixMap(const Standard_Integer theWidth,const Standard_Integer theHeight,const Image_TypeOfImage theType);
  
//! Create a bitmap by copying an existing buffer. <br>
  Standard_EXPORT   Image_PixMap(const Standard_PByte theDataPtr,const Standard_Integer theWidth,const Standard_Integer theHeight,const Standard_Integer thePitch,const Standard_Integer theBitsPerPixel,const Standard_Boolean theIsTopDown);
  
//! Destroies the Bitmap <br>
  Standard_EXPORT   virtual  void Destroy() ;
~Image_PixMap()
{
  Destroy();
}
  
//! Dumps the Bitmap to an image file with <br>
//! an optional gamma correction value <br>
//! and returns TRUE if the dump occurs normaly. <br>
  Standard_EXPORT   virtual  Standard_Boolean Dump(const Standard_CString theFilename,const Standard_Real theGammaCorr = 1.0) const;
  
//! Returns NULL handle <br>
  Standard_EXPORT   virtual  Aspect_Handle PixmapID() const;
  
//! Fill the structure for low-level access to the bitmap data. <br>
//! It is up to you to interpret these bytes correctly! <br>
//! Important notice: image stored upside-down in the memory, <br>
//!                   first image row is an last scanline in <br>
//!                   the memory buffer. <br>
//! If image was created with type Image_TOI_FLOAT buffer <br>
//! format will be set to TDepthComponent. You can override <br>
//! this field with another one-channel buffer format because <br>
//! it useless for bitmap definition. <br>
  Standard_EXPORT     void AccessBuffer(Image_CRawBufferData& theBufferInfo) const;
  
//! Returns the pixel color. This function is relatively slow, <br>
//! use AccessBuffer() instead for stream operations. <br>
//! Note that this function convert input theY coordinate <br>
//! to count off from top of an image (while in memory it stored <br>
//! upside-down). <br>
  Standard_EXPORT   virtual  Quantity_Color PixelColor(const Standard_Integer theX,const Standard_Integer theY) const;



  DEFINE_STANDARD_RTTI(Image_PixMap)

protected:


Image_HPrivateImage myImage;


private: 




};





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


#endif