21 #ifndef SNARK_GRAPHICS_APPLICATIONS_VIEWPOINTS_TEXTURE_READER_H_
22 #define SNARK_GRAPHICS_APPLICATIONS_VIEWPOINTS_TEXTURE_READER_H_
26 #include <Qt3D/qglbuilder.h>
28 namespace snark {
namespace graphics {
namespace View {
34 TextureReader( QGLView& viewer, comma::csv::options& options,
const std::string& file,
double width,
double height );
37 void update(
const Eigen::Vector3d& offset );
38 const Eigen::Vector3d& somePoint()
const;
40 void render( QGLPainter *painter );
44 boost::scoped_ptr< comma::csv::input_stream< PointWithId > > m_stream;
45 const std::string m_file;
46 QGeometryData m_geometry;
49 QGLTexture2D m_texture;
51 QGLMaterial m_material;