API Documentation
Loading...
Searching...
No Matches
ImageModel.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/Model.h>
3#if NDEVR_IMAGE_MODEL
4namespace NDEVR
5{
6 /**--------------------------------------------------------------------------------------------------
7 \brief A Model which represents a 2D Image.
8 **/
9 class NDEVR_DESIGN_API ImageModel : public Model
10 {
11 public:
12 ImageModel();
13 ImageModel(const Model& model);
14 void setImage(const String& image_id);
15 void setImageFile(const File& image_id);
16 void createGeometry();
17 void updateGeometryScale();
18 String getImage() const;
19 static constexpr const char* TypeName() { return "image_model"; }
20 };
21}
22#endif
#define NDEVR_DESIGN_API
Definition DLLInfo.h:55
Definition ACIColor.h:37