swh:1:snp:818279ffd0c3c25a68d33cc2b97d007e1bdc7ed6
Raw File
Tip revision: 39b13612ebd645a65eda854771b517371f2f858a authored by ennetws on 13 March 2015, 18:17:18 UTC
Create README.md
Tip revision: 39b1361
GlSplatRenderer.h
#pragma once

#include <Eigen/Core>

#include "GLVertex.h"
#include "GlSplat/GlSplat.h"

class GlSplatRenderer : public GlSplat::SplatRenderer
{
public:
    GlSplatRenderer(double radius = 0.01, const Eigen::Vector4d & color = Eigen::Vector4d(1.0, 1.0, 1.0, 1.0));

public:
    double mRadius;
    double mColor[4];

	GLuint VertexVBOID;
	GLsizei VertexCount;

    void draw();
	void update( const std::vector<GLVertex> & splats );

private:
    void drawpoints();
};
back to top