summaryrefslogblamecommitdiff
path: root/src/gui/ParticleRenderer.h
blob: 216c869a67032dc49b2cd779376151669ecc86a9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                            
                     
                     
                 
 

               
                                                   



                          
       
 

                                    
                                                    
 


                                           

 




                                
/*
 * 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_ */