4 #include <qmainwindow.h>
5 #include <AIS_Shape.hxx>
6 #include <Voxel_Prs.hxx>
7 #include <Voxel_BoolDS.hxx>
8 #include <Voxel_ColorDS.hxx>
11 class Application: public QMainWindow
20 void closeEvent( QCloseEvent* );
28 void load( const QString & );
29 void load( const TopoDS_Shape & );
37 void testROctBoolDS();
39 void testFuseBoolDS();
40 void testFuseColorDS();
41 void testFuseFloatDS();
43 void testCutColorDS();
44 void testCutFloatDS();
48 void convert(const int );
56 void setVolumicBoolValue();
57 void setVolumicColorValue();
59 void setQuadrangleSize();
62 void setColorMinValue();
63 void setColorMaxValue();
65 void setUsageOfGLlists();
67 void setDisplayedXMin();
68 void setDisplayedXMax();
69 void setDisplayedYMin();
70 void setDisplayedYMax();
71 void setDisplayedZMin();
72 void setDisplayedZMax();
75 void displayNearestPoints();
77 void displayNearestBoxes();
79 void displayColorScale();
83 void displayCollisions();
88 void display(Voxel_VoxelDisplayMode );
92 Handle(AIS_Shape) myShape;
93 Handle(Voxel_Prs) myVoxels;
94 Voxel_BoolDS* myBoolVoxels;
95 Voxel_ColorDS* myColorVoxels;
99 unsigned char myScanSide;
100 bool myVolumicBoolValue;
101 unsigned char myVolumicColorValue;
102 int myQuadrangleSize;
104 unsigned char myColorMinValue;
105 unsigned char myColorMaxValue;
106 double myDisplayedXMin;
107 double myDisplayedXMax;
108 double myDisplayedYMin;
109 double myDisplayedYMax;
110 double myDisplayedZMin;
111 double myDisplayedZMax;
114 #endif // APPLICATION_H