8 #ifndef __HOM_GeometryViewportCamera_h
9 #define __HOM_GeometryViewportCamera_h
33 virtual void setPerspective(
bool perspective) = 0;
34 virtual bool isPerspective() = 0;
35 virtual bool isOrthographic() = 0;
37 virtual void setAperture(
double ap) = 0;
38 virtual double aperture() = 0;
40 virtual void setFocalLength(
double fl) = 0;
41 virtual double focalLength() = 0;
43 virtual double focalUnitScale() = 0;
45 virtual void setAspectRatio(
double ar) = 0;
46 virtual double aspectRatio() = 0;
48 virtual void setOrthoWidth(
double ow) = 0;
49 virtual double orthoWidth() = 0;
51 virtual void setRotation(
const HOM_Matrix3 &mat) = 0;
54 virtual void setTranslation(std::vector<double> xyz) = 0;
55 virtual std::vector<double> translation() = 0;
57 virtual void setPivot(std::vector<double> xyz) = 0;
58 virtual std::vector<double>
pivot() = 0;
60 virtual void setClipPlanes(std::vector<double> near_far) = 0;
61 virtual std::vector<double> clipPlanes() = 0;
63 virtual void setWindowOffset(std::vector<double> xy) = 0;
64 virtual std::vector<double> windowOffset() = 0;
66 virtual void setWindowSize(std::vector<double>
size) = 0;
67 virtual std::vector<double> windowSize() = 0;
virtual ~HOM_GeometryViewportCamera()
#define HOM_DESTRUCT_OBJECT(pointer)
HOM_GeometryViewportCamera(const HOM_GeometryViewportCamera &)
GLsizei const GLchar *const * string
string __repr__(VtArray< T > const &self)
#define HOM_CONSTRUCT_OBJECT(pointer)
SIM_API const UT_StringHolder rotation
HOM_GeometryViewportCamera()
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
GA_API const UT_StringHolder pivot