Program Listing for File GroundPlane.hpp

Return to documentation for file (include/lvr2/display/GroundPlane.hpp)

 /*
 * GroundPlane.h
 *
 *  Created on: 27.08.2008
 *      Author: Thomas Wiemann
 */

#ifndef GROUNDPLANE_H_
#define GROUNDPLANE_H_

#include "lvr2/display/Renderable.hpp"

namespace lvr2
{

class GroundPlane : public Renderable{

public:
    GroundPlane();
    GroundPlane(int increment, int count);

    virtual ~GroundPlane();
    virtual void render();
    virtual void transform(Matrix4<Vec> m);

private:
    void drawGrid(int increment, int count);

};

} // namespace lvr2

#endif /* GROUNDPLANE_H_ */