Ignore:
Timestamp:
01/11/07 21:40:49 (17 years ago)
Author:
mattausch
Message:

global lines nearly useable!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/GlobalLinesRenderer.h

    r1968 r1969  
    3535 
    3636        /** Casts global lines in the angle specified by alpha and 
    37                 beta.  
    38                 @returns Computed samples in the container rays 
     37                beta. The computed samples are stored in the ray container. 
     38                @returns # of layers 
    3939        */ 
    40         void CastGlobalLines(const float alpha,  
     40        int CastGlobalLines(const float alpha,  
    4141                                                 const float beta,  
    4242                                                 VssRayContainer &rays); 
     
    4646                @returns Computed samples in the container rays 
    4747        */ 
    48         void CastGlobalLines(const SimpleRay &ray,  
    49                                                  VssRayContainer &rays); 
     48        int CastGlobalLines(const SimpleRay &ray,  
     49                                                VssRayContainer &rays); 
    5050 
    5151 
     
    6060        int ComputePvs(ObjectContainer &objects, ObjectContainer &pvs) const; 
    6161 
    62         void RenderObject(Intersectable *obj); 
    63  
    64          
    6562        /** Draws the geometry for one pass. 
    6663        */ 
     
    6966        void GrabDepthBuffer(float *data, RenderTexture *rt); 
    7067        void GrabItemBuffer(unsigned char *data, RenderTexture *rt); 
    71         void ApplyDepthPeeling(VssRayContainer &rays); 
     68        int ApplyDepthPeeling(VssRayContainer &rays); 
    7269        void ExportDepthBuffer(); 
    7370        void ExportItemBuffer(); 
     
    120117                                           Vector3 &left); 
    121118 
     119        Preprocessor *mPreprocessor; 
     120 
    122121protected: 
    123122 
     
    129128        void InitRenderTexture(RenderTexture *rt); 
    130129 
    131         Preprocessor *mPreprocessor; 
     130         
    132131 
    133132        GlRenderer *mRenderer; 
Note: See TracChangeset for help on using the changeset viewer.