0022819: Redesign of OpenGl driver
[occt.git] / src / VoxelClient / VoxelClient_VisDrawer.h
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   class VisElement;
12
13 public:
14
15     Standard_EXPORT static void Init();
16
17         Standard_EXPORT VoxelClient_VisDrawer(Voxel_VisData* theData);
18         Standard_EXPORT virtual ~VoxelClient_VisDrawer();
19
20         Standard_EXPORT void EvalMinMax(Graphic3d_CBounds& theMinMax) const;
21         Standard_EXPORT void Display(const Standard_Boolean theHighlight);
22
23 private:
24     
25         Standard_EXPORT void DisplayVoxels(const Standard_Boolean theHighlight);
26         Standard_EXPORT void DisplayPoints(const Standard_Boolean nearest);
27         Standard_EXPORT void DisplayBoxes(const Standard_Boolean nearest);
28     Standard_EXPORT void HighlightVoxel();
29         
30     Standard_EXPORT void DisplayTriangulation(const Standard_Boolean theHighlight);
31
32         Voxel_VisData* myData;
33 };
34
35 #endif // _VOXEL_VISDRAWER_H_