Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HDebugZBuffer.h
1 //
2 // Copyright (c) 2005 by Tech Soft 3D, LLC.
3 // The information contained herein is confidential and proprietary to
4 // Tech Soft 3D, LLC., and considered a trade secret as defined under
5 // civil and criminal statutes. Tech Soft 3D shall pursue its civil
6 // and criminal remedies in the event of unauthorized use or misappropriation
7 // of its trade secrets. Use of this information by anyone other than
8 // authorized employees of Tech Soft 3D, LLC. is granted only under a
9 // written non-disclosure agreement, expressly prescribing the scope and
10 // manner of such use.
11 //
12 // $Id: 7775097a4eb3d53ef93e02bfd40a4a283fa72821 $
13 //
14 
15 #ifndef _HDEBUGZBUFFER_H
16 #define _HDEBUGZBUFFER_H
17 
18 #ifdef H_PACK_8
19 #pragma pack(push)
20 #pragma pack(8)
21 #endif
22 
23 #include "HTools.h"
24 #include "hic_types.h"
25 
26 class HBaseView;
27 
28 
34 class MVO_API HDebugZBuffer
35 {
36 protected:
37 
40  int m_width, m_height;
42 
43  float *m_FloatBuffer;
44  unsigned char *m_GreyBuffer;
46 
47 public:
48 
52  HDebugZBuffer( HBaseView *view );
54  virtual ~HDebugZBuffer();
56  void OpenglFinishPicture(HIC_Rendition const *nr, bool swap_buffers );
58  void Update();
59 
62  static void RegisterCallbacks();
64  static void ogl_finish_picture(HIC_Rendition const *nr, bool swap_buffers );
65 };
66 
67 
68 #ifdef H_PACK_8
69 #pragma pack(pop)
70 #endif
71 
72 #endif
73 
74 
75 
float * m_FloatBuffer
scratch space for z values in range [0..1]
Definition: HDebugZBuffer.h:43
char * m_StandaloneSegmentName
path to the standalone window
Definition: HDebugZBuffer.h:41
#define HC_KEY
HC_KEY m_GreyImageKey
key to the Image_By_Ref that represents the visualization
Definition: HDebugZBuffer.h:45
The HBaseView class defines and manages a view of model information.
Definition: HBaseView.h:337
int m_height
width and height of the view (and thus the amount of scratch space required)
Definition: HDebugZBuffer.h:40
HC_KEY m_ViewKey
self-explanatory
Definition: HDebugZBuffer.h:38
HC_KEY m_StandaloneKey
key to the driver relevant to the standalone window
Definition: HDebugZBuffer.h:39
unsigned char * m_GreyBuffer
scratch space for output image
Definition: HDebugZBuffer.h:44
Definition: HDebugZBuffer.h:34