/usr/include/oce/InterfaceGraphic_telem.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 | // Copyright (c) 1991-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef INTERFACEGRAPHIC_TELEM_H
#define INTERFACEGRAPHIC_TELEM_H
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <InterfaceGraphic_tgl_all.hxx>
#include <stdlib.h>
#ifdef __BORLANDC__
#include <mem.h>
#endif
struct TEL_TEXTURE_COORD
{
float xy[2];
DEFINE_STANDARD_ALLOC
};
typedef TEL_TEXTURE_COORD* tel_texture_coord;
class TEL_POINT
{
public:
float xyz[3];
DEFINE_STANDARD_ALLOC
};
typedef TEL_POINT* tel_point;
struct TEL_COLOUR
{
/* OCC8854: san -- number of color components increased to include alpha value */
float rgb[4];
DEFINE_STANDARD_ALLOC
};
typedef TEL_COLOUR* tel_colour;
typedef enum
{
TelCullUndefined = -1,
TelCullNone = 0,
TelCullFront,
TelCullBack
} TelCullMode;
/* Standard Hatch Styles */
#define TEL_HS_SOLID 0
#define TEL_HS_CROSS 1
#define TEL_HS_CROSS_SPARSE 2
#define TEL_HS_GRID 3
#define TEL_HS_GRID_SPARSE 4
#define TEL_HS_DIAG_45 5
#define TEL_HS_DIAG_135 6
#define TEL_HS_HORIZONTAL 7
#define TEL_HS_VERTICAL 8
#define TEL_HS_DIAG_45_SPARSE 9
#define TEL_HS_DIAG_135_SPARSE 10
#define TEL_HS_HORIZONTAL_SPARSE 11
#define TEL_HS_VERTICAL_SPARSE 12
#define TEL_HS_USER_DEF_START 15
/* Standard Lighting Models */
#define TEL_FRONT_BACK_LM 1
/* Standard Materials */
#define TEL_FRONT_MATERIAL 1
#define TEL_BACK_MATERIAL 2
struct TEL_POFFSET_PARAM
{
int mode;
float factor;
float units;
DEFINE_STANDARD_ALLOC
};
typedef TEL_POFFSET_PARAM* tel_poffset_param;
struct TEL_TRANSFORM_PERSISTENCE
{
int mode;
float pointX;
float pointY;
float pointZ;
DEFINE_STANDARD_ALLOC
};
typedef TEL_TRANSFORM_PERSISTENCE* tel_transform_persistence;
#endif /* INTERFACEGRAPHIC_TELEM_H */
|