|
| GUI_ViewParameter () |
|
| ~GUI_ViewParameter () |
|
| GUI_ViewParameter (const GUI_ViewParameter &)=delete |
|
void | getViewport (UT_DimRect &area) const |
|
void | getViewport (int &l, int &r, int &b, int &t) const |
|
void | getViewportSize (int &w, int &h) const |
|
int | getViewportWidth () const |
|
int | getViewportHeight () const |
|
void | setViewport (RE_Render *r, int x, int y, int w, int h) |
|
void | setViewport (RE_Render *r, const UT_DimRect &viewarea) |
|
UT_InclusiveRect | getViewport () const |
|
void | setProjection (RE_Render *r) |
|
void | getProjection (UT_Matrix4D &proj, bool depth_adjust=true) |
|
void | getUnclippedProjection (UT_Matrix4D &project, fpreal left_crop=0.0, fpreal right_crop=1.0, fpreal bottom_crop=0.0, fpreal top_crop=1.0) |
|
void | setProjectionOverride (UT_Matrix4D *override) |
|
UT_Vector3 | getCameraDir (fpreal px=0.5, fpreal py=0.5) |
|
UT_PlaneD | getViewPlane () |
|
void | setView (const UT_DimRect &area) |
|
void | setView (int x, int y, int w, int h) |
|
void | getView (int &l, int &r, int &b, int &t) const |
|
int | getViewWidth () const |
|
int | getViewHeight () const |
|
UT_InclusiveRect | getView () const |
|
void | viewToViewportProjectionBounds (fpreal &left, fpreal &right, fpreal &bottom, fpreal &top) const |
|
int | getLeftMargin () const |
|
int | getRightMargin () const |
|
int | getBottomMargin () const |
|
int | getTopMargin () const |
|
void | homeToBox (int width, int height, fpreal minzoom, UT_BoundingBox &box, const UT_Matrix3R *rot=NULL, bool centre_to_origin=false, bool zoom_in=false) |
|
void | homeRotation (axis a, UT_Matrix3R &rot) const |
|
void | homeRotation (axis a) |
|
void | resetFOV () |
|
void | setDefaultFOV (fpreal fov_in_degrees) |
|
fpreal | getDefaultFOV () const |
|
void | convertTransform (GUI_ViewParameter::axis home_axis, GUI_ViewParameter::orientation old_mode, GUI_ViewParameter::orientation new_mode) |
|
void | beginContinuouslyExportedOperation () |
|
void | endContinuouslyExportedOperation () |
|
bool | continuouslyExportedOperationInProgress () const |
|
void | rotate (UT_Axis3::axis axis, fpreal dx) |
|
void | rotate (const UT_Vector3R &axis, fpreal dx) |
|
void | rotate (const UT_Quaternion &quat) |
|
void | trackball (fpreal dx, fpreal dy) |
|
void | incrementtrackball (fpreal dx, fpreal dy, int finish) |
|
void | eulertumble (fpreal dx, fpreal dy, int finish, bool lock) |
|
void | dotumble (fpreal dx, fpreal dy, int finish) |
|
void | scroll (fpreal dx, fpreal dy) |
|
void | scroll (fpreal dx, fpreal dy, const UT_InclusiveRect &viewport) |
|
void | worldLockedScroll (const UT_Vector3R &locked_pos, fpreal dx, fpreal dy) |
|
void | dolly (fpreal dx, bool precise_zoom=false, bool smooth_deltas=false) |
|
void | directedDolly (const UT_Vector3R &unit_worldspace_dir, fpreal dx, bool precise_zoom=false, bool smooth_deltas=false) |
|
void | zoom (fpreal dx, GUI_ZoomItem item, bool precise_zoom=false) |
|
void | zoom (fpreal dx, GUI_ZoomItem item, const UT_InclusiveRect &viewport, bool precise_zoom=false) |
|
void | offsetZoom (fpreal sx, fpreal sy, fpreal dx, GUI_ZoomItem item, bool precise_zoom=false) |
|
void | offsetZoom (fpreal sx, fpreal sy, fpreal dx, GUI_ZoomItem item, const UT_InclusiveRect &viewport, bool precise_zoom=false) |
|
void | boxZoom (fpreal firstx, fpreal firsty, fpreal lastx, fpreal lasty, fpreal distance) |
|
void | screenScroll (fpreal dx, fpreal dy) |
|
bool | isDirty () const |
|
int | getViewVersion () const |
|
void | bumpViewVersion () |
|
void | bumpView2DVersion () |
|
int | getView3DVersion () const |
|
int | getView2DVersion () const |
|
int | initialized () const |
|
int | getOrthoFlag () const |
|
void | setOrthoFlag (int o) |
|
void | setLimits (fpreal n, fpreal f) |
|
void | getLimits (fpreal *n, fpreal *f) |
|
void | setNearClip (fpreal near) |
|
void | setFarClip (fpreal far) |
|
fpreal | getNearClip () const |
|
fpreal | getFarClip () const |
|
void | setSceneBounds (const UT_BoundingBoxD &b) |
|
const UT_BoundingBoxD & | getSceneBounds () const |
|
void | setSelectedObjectBounds (const UT_BoundingBoxD &b) |
|
fpreal32 | getExtendedZBufferFar () const |
|
void | allowNearFarClipAdapt (bool allow) |
|
void | setWindow (fpreal x, fpreal y, fpreal w, fpreal h) |
|
void | getWindow (fpreal &x, fpreal &y, fpreal &w, fpreal &h) const |
|
void | setNominalWindow (fpreal x, fpreal y, fpreal w, fpreal h) |
|
void | getNominalWindow (fpreal &x, fpreal &y, fpreal &w, fpreal &h) const |
|
bool | doesWindowOverrideNominal () const |
|
void | getViewBoundsRelativeToNominalWindow (fpreal &l, fpreal &r, fpreal &b, fpreal &t) const |
|
void | getScreenWindow (fpreal &l, fpreal &r, fpreal &b, fpreal &t) const |
|
void | setScreenWindow (fpreal l, fpreal r, fpreal b, fpreal t) |
|
void | setSubRegion (fpreal x, fpreal y, fpreal w, fpreal h) |
|
void | clearSubRegion () |
|
bool | getSubRegion (fpreal &x, fpreal &y, fpreal &w, fpreal &h) const |
|
bool | hasSubRegion () const |
|
fpreal | getWinSizeX () const |
|
fpreal | getWinSizeY () const |
|
fpreal | getWinX () const |
|
fpreal | getWinY () const |
|
void | setAdjustLimits (GUI_ViewAdjustLimits which) |
|
GUI_ViewAdjustLimits | getAdjustLimits () const |
|
void | setWindowAffectRotoscope (int v) |
|
int | rotoscopeTracksWindowVals () const |
|
void | setApplyAspectFlag (int a) |
|
int | getApplyAspectFlag () const |
|
void | setAspectRatio (fpreal a) |
|
fpreal | getAspectRatio () const |
|
void | setFrustumScale (fpreal xsc, fpreal ysc) |
|
void | getFrustumPoints (UT_Vector3FArray &pnts) |
|
SYS_FORCE_INLINE void | setT (const UT_Vector3D &t) |
|
SYS_FORCE_INLINE const
UT_Vector3D & | getT () const |
|
SYS_FORCE_INLINE const
UT_Vector3D & | getP () const |
|
SYS_FORCE_INLINE void | setP (const UT_Vector3D &p) |
|
void | setRotateMatrix (const UT_Matrix3D &mat) |
|
const UT_Matrix4D & | getRotateMatrix () const |
|
const UT_Matrix4D & | getProjectionMatrix () const |
|
const UT_Matrix4D & | getTransformMatrix () |
|
const UT_Matrix4D & | getItransformMatrix () |
|
void | forceTransformMatrix (const UT_DMatrix4 &mat) |
|
void | getTransformMatrix (UT_DMatrix4 &mat, fpreal time) |
|
void | setTransformCallback (GUI_TransformCallback callback, void *data) |
|
int | save (std::ostream &os, char separator= '\n', bool for_view_copy=false) const |
|
bool | load (UT_IStream &is) |
|
bool | oldLoad (UT_IStream &is, int version) |
|
const char * | className () const |
|
fpreal | getLastHomeRadius () const |
|
void | setHomeAxis (axis homeaxis) |
|
axis | getHomeAxis () const |
|
void | setCustomHomeRot (UT_Matrix3R &rot) |
|
const UT_Matrix3R & | getCustomHomeRot () const |
|
void | setCPlaneHomeRotCallback (GUI_HomeRotCallback callback, void *data) |
|
void | setOrthoWidth (fpreal w) |
|
fpreal | getOrthoWidth () const |
|
void | setFocalLength (fpreal f) |
|
fpreal | getFocalLength () const |
|
void | setFocalUnitScale (fpreal f) |
|
fpreal | getFocalUnitScale () const |
|
void | setFocusDistance (fpreal f) |
|
fpreal | getFocusDistance () const |
|
void | setAperture (fpreal a) |
|
fpreal | getAperture () const |
|
void | setFStop (fpreal fs) |
|
fpreal | getFStop () const |
|
void | setApertureOffsets (fpreal h, fpreal v) |
|
void | getApertureOffsets (fpreal &h, fpreal &v) const |
|
fpreal | getNearLimit () const |
|
fpreal | getFarLimit () const |
|
fpreal | getZBufferNear () const |
|
fpreal | getZBufferFar () const |
|
void | getViewState (gui_View &view_state) const |
|
void | setViewState (const gui_View &view_state) |
|
void | adjustNearFarClip () |
|
|
static void | getOrientationChangeRotation (GUI_ViewParameter::orientation old_mode, GUI_ViewParameter::orientation new_mode, UT_Matrix3R &rot) |
|
static fpreal | getFrustumWidth (fpreal t, fpreal aperture, fpreal focal_length, fpreal orthowidth, bool is_ortho) |
|
static void | getFrustumCenter (fpreal frustum_width, fpreal aspect, fpreal x_offset, fpreal y_offset, fpreal x_window_size, fpreal y_window_size, fpreal &cx, fpreal &cy, fpreal &hw, fpreal &hh) |
|
static void | setExtendedZBufferRangeSupport (bool has_ext) |
|
static void | convertScreenToViewWindow (fpreal l, fpreal r, fpreal b, fpreal t, fpreal &xoff, fpreal &yoff, fpreal &xsize, fpreal &ysz) |
|
static void | convertViewToScreenWindow (fpreal xoff, fpreal yoff, fpreal xsize, fpreal ysize, fpreal &l, fpreal &r, fpreal &b, fpreal &t) |
|
static void | setOrientationMode (orientation o) |
|
static orientation | getOrientationMode () |
|
static bool | isOrientationYUp () |
|
static bool | isOrientationZUp () |
|
static void | setTumbleStyleFlag (int style) |
|
static int | getTumbleStyleFlag () |
|
static void | setAltKeyViewControlsFlag (int style) |
|
static int | getAltKeyViewControlsFlag () |
|
static void | setScrollStyleFlag (int style) |
|
static int | getScrollStyleFlag () |
|
static void | setDefaultHomingStyleFlag (int style) |
|
static axis | getDefaultHomingStyleFlag () |
|