7fd59977 |
1 | #ifndef _VOXEL_VISDRAWER_H_ |
2 | #define _VOXEL_VISDRAWER_H_ |
3 | |
4 | #include "Voxel_VisData.h" |
5 | #include <Graphic3d_CBounds.hxx> |
6 | |
7 | class VoxelClient_VisDrawer |
8 | { |
9 | public: |
10 | |
11 | Standard_EXPORT static void Init(); |
12 | |
13 | Standard_EXPORT VoxelClient_VisDrawer(Voxel_VisData* theData); |
14 | Standard_EXPORT virtual ~VoxelClient_VisDrawer(); |
15 | |
16 | Standard_EXPORT void EvalMinMax(Graphic3d_CBounds& theMinMax) const; |
17 | Standard_EXPORT void Display(const Standard_Boolean theHighlight); |
18 | |
19 | private: |
20 | |
21 | Standard_EXPORT void DisplayVoxels(const Standard_Boolean theHighlight); |
22 | Standard_EXPORT void DisplayPoints(const Standard_Boolean nearest); |
23 | Standard_EXPORT void DisplayBoxes(const Standard_Boolean nearest); |
24 | Standard_EXPORT void HighlightVoxel(); |
25 | |
26 | Standard_EXPORT void DisplayTriangulation(const Standard_Boolean theHighlight); |
27 | |
28 | Voxel_VisData* myData; |
29 | }; |
30 | |
31 | #endif // _VOXEL_VISDRAWER_H_ |