You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
323 B
22 lines
323 B
#pragma once
|
|
|
|
#include "BaseSource.h"
|
|
|
|
namespace ofx {
|
|
namespace piMapper {
|
|
|
|
class ImageSource : public BaseSource {
|
|
|
|
public:
|
|
ImageSource();
|
|
~ImageSource();
|
|
std::string & getPath();
|
|
void loadImage(std::string & filePath);
|
|
void clear();
|
|
private:
|
|
ofImage * image;
|
|
|
|
};
|
|
|
|
} // namespace piMapper
|
|
} // namespace ofx
|