9 #ifndef __HOM_GeometryViewportBackground_h__
10 #define __HOM_GeometryViewportBackground_h__
32 virtual void setImageFile(
const std::string &file_path) = 0;
35 virtual void setImageCOP(
const std::string &op_path) = 0;
38 virtual void sourceFromCOP(
bool use_cop) = 0;
39 virtual bool isCOPSource() = 0;
40 virtual bool isFileSource() = 0;
42 virtual void setImageSource(
const std::string &file_or_op_path) = 0;
45 virtual void setEnvironmentMap(
bool enable) = 0;
46 virtual bool isEnvironmentMap() = 0;
48 virtual void setAutoPlace(
bool enable) = 0;
49 virtual bool autoPlace() = 0;
54 virtual void setImageOffset(
const std::vector<double> &
offset) = 0;
55 virtual std::vector<double> imageOffset() = 0;
57 virtual void setImageScale(
const std::vector<double> &
scale) = 0;
58 virtual std::vector<double> imageScale() = 0;
60 virtual void setOpacity(
double opacity) = 0;
61 virtual double opacity() = 0;
63 virtual void setBrightness(
double intensity) = 0;
64 virtual double brightness() = 0;
#define HOM_DESTRUCT_OBJECT(pointer)
GLsizei const GLchar *const * string
string __repr__(VtArray< T > const &self)
HOM_GeometryViewportBackground(const HOM_GeometryViewportBackground &)
GA_API const UT_StringHolder scale
#define HOM_CONSTRUCT_OBJECT(pointer)
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
virtual ~HOM_GeometryViewportBackground()
HOM_GeometryViewportBackground()