2#include <NDEVR/Model.h>
15 class NDEVR_DESIGN_API ImageModel :
public Model
27 ImageModel(
const Model& model);
33 void setImage(
const StringView& image_id);
39 void adjustLabelName(
const StringView& label);
45 void setImageFile(
const File& image_id);
58 Model createPin(
const BitFlag& pin_flags);
67 void updateGeometryScale(Geometry& geo);
73 StringView getImage()
const;
79 static constexpr StringView TypeName() {
return "image_model"; }
85 static constexpr StringView PinTypeName() {
return "image_model_pin"; }
91 static constexpr StringView ViewTypeName() {
return "image_model_view"; }
A core class that represents a node on model hierarchy.
The primary namespace for the NDEVR SDK.