- Timestamp:
- 01/10/07 18:20:53 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/GlobalLinesRenderer.h
r1963 r1964 21 21 { 22 22 public: 23 /*GlobalLinesRenderer(RenderTexture *buffer1, 24 RenderTexture *buffer2, 25 Preprocessor *preprocessor, 26 GlRenderer *renderer); 27 */ 23 24 GlobalLinesRenderer(Preprocessor *preprocessor, 25 GlRenderer *renderer, 26 const float texHeight, 27 const float mTexWidth, 28 const float eps); 29 28 30 GlobalLinesRenderer(Preprocessor *preprocessor, GlRenderer *renderer); 29 31 30 32 ~GlobalLinesRenderer(); 31 33 32 void CastGlobalLines(Beam &beam, const int samples); 34 /** Casts global lines in the angle specified by alpha and 35 beta. 36 @returns Computed samples in the container rays 37 */ 38 void CastGlobalLines(const float alpha, 39 const float beta, 40 VssRayContainer &rays); 33 41 34 42 void InitGl(); … … 51 59 void GrabDepthBuffer(float *data, RenderTexture *rt); 52 60 void GrabItemBuffer(unsigned char *data, RenderTexture *rt); 53 void ApplyDepthPeeling(VssRayContainer &rays , Beam &beam, const int samples);61 void ApplyDepthPeeling(VssRayContainer &rays); 54 62 void ExportDepthBuffer(); 55 63 void ExportItemBuffer(); 56 void ProcessDepthBuffer(VssRayContainer &vssRays, const bool oldBufferInitialised, const int pass); 64 void ProcessDepthBuffer(VssRayContainer &vssRays, 65 const bool oldBufferInitialised, 66 const int pass); 67 57 68 void DisplayBuffer(const bool isDepth); 58 69 … … 93 104 Vector3 &eye, 94 105 Vector3 &up, 95 Vector3 left);106 Vector3 &left); 96 107 protected: 97 108 98 109 void SwitchRenderTextures(); 99 110 100 void SetupProjection(const Vector3 &viewPoint, 101 const Beam &beam); 102 103 111 void InitScene(const float alpha, const float beta); 104 112 105 113 Preprocessor *mPreprocessor; 106 114 107 115 GlRenderer *mRenderer; 116 117 int mTexWidth; 118 int mTexHeight; 119 float mEpsilon; 108 120 }; 109 121
Note: See TracChangeset
for help on using the changeset viewer.