summaryrefslogtreecommitdiff
path: root/src/gui/ParticleRenderer.h
blob: 216c869a67032dc49b2cd779376151669ecc86a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
 * ParticleRenderer.h
 *
 *  Created on: Apr 12, 2011
 *      Author: jakob
 */

#ifndef PARTICLERENDERER_H_
#define PARTICLERENDERER_H_

#include "Renderer.h"
#include "Particle.h"
#include "util.h"

namespace vhc {

class ParticleRenderer: public Renderer<Particle> {

private:
	bool _drawSpheres;

public:

	ParticleRenderer();
	virtual ~ParticleRenderer();
	void render(const Particle& particle) const;

	void enableDrawSpheres(bool value);

	bool isDrawSpheresEnabled() const;


};

}

#endif /* PARTICLERENDERER_H_ */