/usr/include/oce/Voxel_VisData.h 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 128 129 | /*
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 _VOXEL_VISDATA_H_
#define _VOXEL_VISDATA_H_
#include <Quantity_Color.hxx>
#include <Quantity_HArray1OfColor.hxx>
#include <TShort_HArray1OfShortReal.hxx>
#include <TColStd_HArray1OfReal.hxx>
#include <TColgp_HArray1OfDir.hxx>
#include <Poly_Triangulation.hxx>
#include <Voxel_BoolDS.hxx>
#include <Voxel_ColorDS.hxx>
#include <Voxel_ROctBoolDS.hxx>
#include <Voxel_VoxelDisplayMode.hxx>
enum VoxelDirection
{
None,
Xminus,
Xplus,
Yminus,
Yplus,
Zminus,
Zplus
};
typedef struct
{
/* Display mode */
Voxel_VoxelDisplayMode myDisplayMode;
/* Range of displayed values */
/* BoolDS */
/* No range */
/* ColorDS */
Standard_Byte myColorMinValue;
Standard_Byte myColorMaxValue;
/* Range of displayed size */
Standard_Real myDisplayedXMin;
Standard_Real myDisplayedXMax;
Standard_Real myDisplayedYMin;
Standard_Real myDisplayedYMax;
Standard_Real myDisplayedZMin;
Standard_Real myDisplayedZMax;
/* Colors */
Quantity_Color myColor;
Handle(Quantity_HArray1OfColor) myColors;
/* Size, width... */
Standard_Real myPointSize;
Standard_Integer myQuadrangleSize; /* 0% .. 100% */
Standard_Byte mySmoothPoints;
/* Transparency */
Standard_Real myTransparency;
/* GL lists of each display mode */
/* BoolDS */
/* POINTS */
Standard_Integer myBoolPointsList;
Standard_Byte myBoolPointsFirst;
/* NEAREST POINTS */
Standard_Integer myBoolNearestPointsList[7];
Standard_Byte myBoolNearestPointsFirst;
/* ColorDS */
/* POINTS */
Standard_Integer myColorPointsList;
Standard_Byte myColorPointsFirst;
/* NEAREST POINTS */
Standard_Integer myColorNearestPointsList[7];
Standard_Byte myColorNearestPointsFirst;
/* ROctBoolDS */
/* POINTS */
Standard_Integer myROctBoolPointsList;
Standard_Byte myROctBoolPointsFirst;
/* NEAREST POINTS */
Standard_Integer myROctBoolNearestPointsList[7];
Standard_Byte myROctBoolNearestPointsFirst;
/* TRIANGULATION */
Standard_Integer myTriangulationList;
/* Usage of GL lists */
Standard_Byte myUsageOfGLlists;
/* Degenerate mode */
Standard_Byte myDegenerateMode;
/* Highlighted voxel */
Standard_Integer myHighlightx;
Standard_Integer myHighlighty;
Standard_Integer myHighlightz;
} DisplayData;
typedef struct
{
// Voxels
Voxel_BoolDS* myBoolVoxels;
Voxel_ColorDS* myColorVoxels;
Voxel_ROctBoolDS* myROctBoolVoxels;
// Triangulation
Handle(Poly_Triangulation) myTriangulation;
Handle(TColgp_HArray1OfDir) myNormalsOfNodes;
// Display
DisplayData myDisplay;
} Voxel_VisData;
#endif // _VOXEL_VISDATA_H_
|