source: trunk/vizservers/nanovis/PointSetRenderer.h @ 827

Last change on this file since 827 was 827, checked in by vrinside, 14 years ago

Added color blending with point sprite texture

File size: 640 bytes
Line 
1#ifndef __POINT_SET_RENDERER_H__
2#define __POINT_SET_RENDERER_H__
3
4#include "PCASplit.h"
5#include "BucketSort.h"
6#include "PointShader.h"
7#include "Texture2D.h"
8#include <Mat4x4.h>
9
10class PointSetRenderer {
11    PCA::BucketSort* _bucketSort;
12    PointShader* _shader;
13    Texture2D* _pointTexture;
14public :
15    PointSetRenderer();
16    ~PointSetRenderer();
17
18private :
19    void renderPoints(PCA::Point* points, int length);
20    void renderCluster(PCA::ClusterList** bucket, int size, int level);
21
22public :
23    void render(PCA::ClusterAccel* cluster, const Mat4x4& mat, int sortLevel, const Vector3& scale, const Vector3& origin);
24};
25
26#endif
27
Note: See TracBrowser for help on using the repository browser.