HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GUI_ViewParameter Class Reference

#include <GUI_ViewParameter.h>

Classes

class  gui_View
 

Public Types

enum  axis {
  OBLIQUE, CUSTOM, XAXIS, YAXIS,
  ZAXIS, FRONT, RIGHT, TOP,
  BACK, LEFT, BOTTOM, CPLANE
}
 
enum  orientation { Y_UP, Z_UP }
 
enum  GUI_ZoomItem { GUI_WIN_SIZE, GUI_ORTHO_WIDTH }
 
enum  GUI_ViewAdjustLimits { GUI_VIEW_ADJUST_NONE = 0, GUI_VIEW_ADJUST_FAR = 1, GUI_VIEW_ADJUST_NEAR = 2, GUI_VIEW_ADJUST_BOTH = 3 }
 

Public Member Functions

 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_RenderContext r, int x, int y, int w, int h)
 
void setViewport (RE_RenderContext r, const UT_DimRect &viewarea)
 
UT_InclusiveRect getViewport () const
 
void setProjection (RE_RenderContext r)
 
void getProjection (UT_Matrix4D &proj, bool depth_adjust=true)
 
void getReverseDepthProjection (UT_Matrix4D &proj, bool infinite_far_plane)
 
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 setInfiniteFarPlane (bool enable)
 
bool getInfiniteFarPlane () const
 
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_BoundingBoxDgetSceneBounds () const
 
void setSelectedObjectBounds (const UT_BoundingBoxD &b)
 
fpreal32 getExtendedZBufferFar () const
 
void allowNearFarClipAdapt (bool allow)
 
void setIsFreeCam (bool free_cam)
 
bool isFreeCam () const
 
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_Matrix4DgetRotateMatrix () const
 
const UT_Matrix4DgetProjectionMatrix () const
 
const UT_Matrix4DgetTransformMatrix ()
 
const UT_Matrix4DgetItransformMatrix ()
 
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_Matrix3RgetCustomHomeRot () 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 Public Member Functions

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 ()
 

Public Attributes

fpreal myClear
 
int myFog
 
float myFogDensity
 
float myFogNear
 
float myFogFar
 
float myFogColor [3]
 
float myFogAlpha
 
fpreal myWinRoll
 
fpreal myPixelAspect
 
fpreal myAdjustedNear
 
fpreal myAdjustedFar
 
fpreal myAdjustedX
 
fpreal myAdjustedY
 
fpreal myAdjustedW
 
fpreal myAdjustedH
 
fpreal myFullW
 
fpreal myFullH
 
fpreal myFrustumWidthScale
 
fpreal myFrustumHeightScale
 
fpreal myLastZoomDelta
 

Detailed Description

Examples:
DM/DM_BackgroundHook.C.

Definition at line 64 of file GUI_ViewParameter.h.

Member Enumeration Documentation

Enumerator
OBLIQUE 
CUSTOM 
XAXIS 
YAXIS 
ZAXIS 
FRONT 
RIGHT 
TOP 
BACK 
LEFT 
BOTTOM 
CPLANE 

Definition at line 71 of file GUI_ViewParameter.h.

Enumerator
GUI_VIEW_ADJUST_NONE 
GUI_VIEW_ADJUST_FAR 
GUI_VIEW_ADJUST_NEAR 
GUI_VIEW_ADJUST_BOTH 

Definition at line 433 of file GUI_ViewParameter.h.

Enumerator
GUI_WIN_SIZE 
GUI_ORTHO_WIDTH 

Definition at line 238 of file GUI_ViewParameter.h.

Enumerator
Y_UP 
Z_UP 

Definition at line 74 of file GUI_ViewParameter.h.

Constructor & Destructor Documentation

GUI_ViewParameter::GUI_ViewParameter ( )
GUI_ViewParameter::~GUI_ViewParameter ( )
GUI_ViewParameter::GUI_ViewParameter ( const GUI_ViewParameter )
delete

Member Function Documentation

void GUI_ViewParameter::adjustNearFarClip ( )
void GUI_ViewParameter::allowNearFarClipAdapt ( bool  allow)
inline

Definition at line 325 of file GUI_ViewParameter.h.

void GUI_ViewParameter::beginContinuouslyExportedOperation ( )
void GUI_ViewParameter::boxZoom ( fpreal  firstx,
fpreal  firsty,
fpreal  lastx,
fpreal  lasty,
fpreal  distance 
)
void GUI_ViewParameter::bumpView2DVersion ( )
inline

Definition at line 291 of file GUI_ViewParameter.h.

void GUI_ViewParameter::bumpViewVersion ( )
inline

Definition at line 290 of file GUI_ViewParameter.h.

const char* GUI_ViewParameter::className ( ) const
inline

Definition at line 538 of file GUI_ViewParameter.h.

void GUI_ViewParameter::clearSubRegion ( )
inline

Definition at line 403 of file GUI_ViewParameter.h.

bool GUI_ViewParameter::continuouslyExportedOperationInProgress ( ) const
static void GUI_ViewParameter::convertScreenToViewWindow ( fpreal  l,
fpreal  r,
fpreal  b,
fpreal  t,
fpreal xoff,
fpreal yoff,
fpreal xsize,
fpreal ysz 
)
static
void GUI_ViewParameter::convertTransform ( GUI_ViewParameter::axis  home_axis,
GUI_ViewParameter::orientation  old_mode,
GUI_ViewParameter::orientation  new_mode 
)
static void GUI_ViewParameter::convertViewToScreenWindow ( fpreal  xoff,
fpreal  yoff,
fpreal  xsize,
fpreal  ysize,
fpreal l,
fpreal r,
fpreal b,
fpreal t 
)
static
void GUI_ViewParameter::directedDolly ( const UT_Vector3R unit_worldspace_dir,
fpreal  dx,
bool  precise_zoom = false,
bool  smooth_deltas = false 
)
bool GUI_ViewParameter::doesWindowOverrideNominal ( ) const
inline

Definition at line 365 of file GUI_ViewParameter.h.

void GUI_ViewParameter::dolly ( fpreal  dx,
bool  precise_zoom = false,
bool  smooth_deltas = false 
)
void GUI_ViewParameter::dotumble ( fpreal  dx,
fpreal  dy,
int  finish 
)
void GUI_ViewParameter::endContinuouslyExportedOperation ( )
void GUI_ViewParameter::eulertumble ( fpreal  dx,
fpreal  dy,
int  finish,
bool  lock 
)
void GUI_ViewParameter::forceTransformMatrix ( const UT_DMatrix4 mat)
GUI_ViewAdjustLimits GUI_ViewParameter::getAdjustLimits ( ) const
inline

Definition at line 442 of file GUI_ViewParameter.h.

static int GUI_ViewParameter::getAltKeyViewControlsFlag ( )
inlinestatic

Definition at line 490 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getAperture ( ) const
inline
Examples:
DM/DM_BackgroundHook.C.

Definition at line 571 of file GUI_ViewParameter.h.

void GUI_ViewParameter::getApertureOffsets ( fpreal h,
fpreal v 
) const
inline

Definition at line 581 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getApplyAspectFlag ( ) const
inline

Definition at line 450 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getAspectRatio ( ) const
inline

Definition at line 452 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getBottomMargin ( ) const
inline

Definition at line 170 of file GUI_ViewParameter.h.

UT_Vector3 GUI_ViewParameter::getCameraDir ( fpreal  px = 0.5,
fpreal  py = 0.5 
)
const UT_Matrix3R& GUI_ViewParameter::getCustomHomeRot ( ) const
inline

Definition at line 546 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getDefaultFOV ( ) const
inline

Definition at line 185 of file GUI_ViewParameter.h.

static axis GUI_ViewParameter::getDefaultHomingStyleFlag ( )
inlinestatic

Definition at line 496 of file GUI_ViewParameter.h.

fpreal32 GUI_ViewParameter::getExtendedZBufferFar ( ) const
inline

Definition at line 321 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getFarClip ( ) const
inline

Definition at line 311 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getFarLimit ( ) const
inline

Definition at line 588 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getFocalLength ( ) const
inline
Examples:
DM/DM_BackgroundHook.C.

Definition at line 562 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getFocalUnitScale ( ) const
inline

Definition at line 565 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getFocusDistance ( ) const
inline

Definition at line 568 of file GUI_ViewParameter.h.

static void GUI_ViewParameter::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 GUI_ViewParameter::getFrustumPoints ( UT_Vector3FArray pnts)
static fpreal GUI_ViewParameter::getFrustumWidth ( fpreal  t,
fpreal  aperture,
fpreal  focal_length,
fpreal  orthowidth,
bool  is_ortho 
)
static
fpreal GUI_ViewParameter::getFStop ( ) const
inline

Definition at line 574 of file GUI_ViewParameter.h.

axis GUI_ViewParameter::getHomeAxis ( ) const
inline

Definition at line 544 of file GUI_ViewParameter.h.

bool GUI_ViewParameter::getInfiniteFarPlane ( ) const
inline

Definition at line 301 of file GUI_ViewParameter.h.

const UT_Matrix4D& GUI_ViewParameter::getItransformMatrix ( )
inline

Definition at line 511 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getLastHomeRadius ( ) const
inline

Definition at line 540 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getLeftMargin ( ) const
inline

Definition at line 166 of file GUI_ViewParameter.h.

void GUI_ViewParameter::getLimits ( fpreal n,
fpreal f 
)
inline

Definition at line 303 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getNearClip ( ) const
inline

Definition at line 310 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getNearLimit ( ) const
inline

Definition at line 587 of file GUI_ViewParameter.h.

void GUI_ViewParameter::getNominalWindow ( fpreal x,
fpreal y,
fpreal w,
fpreal h 
) const
inline

Definition at line 357 of file GUI_ViewParameter.h.

static void GUI_ViewParameter::getOrientationChangeRotation ( GUI_ViewParameter::orientation  old_mode,
GUI_ViewParameter::orientation  new_mode,
UT_Matrix3R rot 
)
static
static orientation GUI_ViewParameter::getOrientationMode ( )
static
int GUI_ViewParameter::getOrthoFlag ( ) const
inline
Examples:
DM/DM_BackgroundHook.C.

Definition at line 297 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getOrthoWidth ( ) const
inline
Examples:
DM/DM_BackgroundHook.C.

Definition at line 559 of file GUI_ViewParameter.h.

SYS_FORCE_INLINE const UT_Vector3D& GUI_ViewParameter::getP ( ) const
inline

Definition at line 472 of file GUI_ViewParameter.h.

void GUI_ViewParameter::getProjection ( UT_Matrix4D proj,
bool  depth_adjust = true 
)
const UT_Matrix4D& GUI_ViewParameter::getProjectionMatrix ( ) const
inline

Definition at line 506 of file GUI_ViewParameter.h.

void GUI_ViewParameter::getReverseDepthProjection ( UT_Matrix4D proj,
bool  infinite_far_plane 
)
int GUI_ViewParameter::getRightMargin ( ) const
inline

Definition at line 168 of file GUI_ViewParameter.h.

const UT_Matrix4D& GUI_ViewParameter::getRotateMatrix ( ) const
inline

Definition at line 504 of file GUI_ViewParameter.h.

const UT_BoundingBoxD& GUI_ViewParameter::getSceneBounds ( ) const
inline

Definition at line 315 of file GUI_ViewParameter.h.

void GUI_ViewParameter::getScreenWindow ( fpreal l,
fpreal r,
fpreal b,
fpreal t 
) const
inline

Definition at line 381 of file GUI_ViewParameter.h.

static int GUI_ViewParameter::getScrollStyleFlag ( )
inlinestatic

Definition at line 493 of file GUI_ViewParameter.h.

bool GUI_ViewParameter::getSubRegion ( fpreal x,
fpreal y,
fpreal w,
fpreal h 
) const
inline

Definition at line 411 of file GUI_ViewParameter.h.

SYS_FORCE_INLINE const UT_Vector3D& GUI_ViewParameter::getT ( ) const
inline

Definition at line 468 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getTopMargin ( ) const
inline

Definition at line 172 of file GUI_ViewParameter.h.

const UT_Matrix4D& GUI_ViewParameter::getTransformMatrix ( )
inline

Definition at line 509 of file GUI_ViewParameter.h.

void GUI_ViewParameter::getTransformMatrix ( UT_DMatrix4 mat,
fpreal  time 
)
static int GUI_ViewParameter::getTumbleStyleFlag ( )
inlinestatic

Definition at line 487 of file GUI_ViewParameter.h.

void GUI_ViewParameter::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 GUI_ViewParameter::getView ( int l,
int r,
int b,
int t 
) const
UT_InclusiveRect GUI_ViewParameter::getView ( ) const
inline

Definition at line 154 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getView2DVersion ( ) const
inline

Definition at line 293 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getView3DVersion ( ) const
inline

Definition at line 292 of file GUI_ViewParameter.h.

void GUI_ViewParameter::getViewBoundsRelativeToNominalWindow ( fpreal l,
fpreal r,
fpreal b,
fpreal t 
) const
int GUI_ViewParameter::getViewHeight ( ) const
inline

Definition at line 151 of file GUI_ViewParameter.h.

UT_PlaneD GUI_ViewParameter::getViewPlane ( )
void GUI_ViewParameter::getViewport ( UT_DimRect area) const
inline

Definition at line 76 of file GUI_ViewParameter.h.

void GUI_ViewParameter::getViewport ( int l,
int r,
int b,
int t 
) const
UT_InclusiveRect GUI_ViewParameter::getViewport ( ) const
inline

Definition at line 99 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getViewportHeight ( ) const
inline

Definition at line 91 of file GUI_ViewParameter.h.

void GUI_ViewParameter::getViewportSize ( int w,
int h 
) const
inline

Definition at line 83 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getViewportWidth ( ) const
inline

Definition at line 89 of file GUI_ViewParameter.h.

void GUI_ViewParameter::getViewState ( gui_View view_state) const
inline

Definition at line 664 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getViewVersion ( ) const
inline

Definition at line 289 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getViewWidth ( ) const
inline

Definition at line 149 of file GUI_ViewParameter.h.

void GUI_ViewParameter::getWindow ( fpreal x,
fpreal y,
fpreal w,
fpreal h 
) const
inline

Definition at line 340 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getWinSizeX ( ) const
inline

Definition at line 428 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getWinSizeY ( ) const
inline

Definition at line 429 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getWinX ( ) const
inline

Definition at line 430 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getWinY ( ) const
inline

Definition at line 431 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getZBufferFar ( ) const
inline

Definition at line 591 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getZBufferNear ( ) const
inline

Definition at line 590 of file GUI_ViewParameter.h.

bool GUI_ViewParameter::hasSubRegion ( ) const
inline

Definition at line 419 of file GUI_ViewParameter.h.

void GUI_ViewParameter::homeRotation ( axis  a,
UT_Matrix3R rot 
) const
void GUI_ViewParameter::homeRotation ( axis  a)
void GUI_ViewParameter::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 GUI_ViewParameter::incrementtrackball ( fpreal  dx,
fpreal  dy,
int  finish 
)
int GUI_ViewParameter::initialized ( ) const
inline

Definition at line 296 of file GUI_ViewParameter.h.

bool GUI_ViewParameter::isDirty ( ) const
inline

Definition at line 285 of file GUI_ViewParameter.h.

bool GUI_ViewParameter::isFreeCam ( ) const
inline

Definition at line 330 of file GUI_ViewParameter.h.

static bool GUI_ViewParameter::isOrientationYUp ( )
inlinestatic

Definition at line 479 of file GUI_ViewParameter.h.

static bool GUI_ViewParameter::isOrientationZUp ( )
inlinestatic

Definition at line 481 of file GUI_ViewParameter.h.

bool GUI_ViewParameter::load ( UT_IStream is)
void GUI_ViewParameter::offsetZoom ( fpreal  sx,
fpreal  sy,
fpreal  dx,
GUI_ZoomItem  item,
bool  precise_zoom = false 
)
void GUI_ViewParameter::offsetZoom ( fpreal  sx,
fpreal  sy,
fpreal  dx,
GUI_ZoomItem  item,
const UT_InclusiveRect viewport,
bool  precise_zoom = false 
)
bool GUI_ViewParameter::oldLoad ( UT_IStream is,
int  version 
)
void GUI_ViewParameter::resetFOV ( )
void GUI_ViewParameter::rotate ( UT_Axis3::axis  axis,
fpreal  dx 
)
void GUI_ViewParameter::rotate ( const UT_Vector3R axis,
fpreal  dx 
)
void GUI_ViewParameter::rotate ( const UT_Quaternion quat)
int GUI_ViewParameter::rotoscopeTracksWindowVals ( ) const
inline

Definition at line 445 of file GUI_ViewParameter.h.

int GUI_ViewParameter::save ( std::ostream &  os,
char  separator = '\n',
bool  for_view_copy = false 
) const
void GUI_ViewParameter::screenScroll ( fpreal  dx,
fpreal  dy 
)
void GUI_ViewParameter::scroll ( fpreal  dx,
fpreal  dy 
)
void GUI_ViewParameter::scroll ( fpreal  dx,
fpreal  dy,
const UT_InclusiveRect viewport 
)
void GUI_ViewParameter::setAdjustLimits ( GUI_ViewAdjustLimits  which)
inline

Definition at line 440 of file GUI_ViewParameter.h.

static void GUI_ViewParameter::setAltKeyViewControlsFlag ( int  style)
inlinestatic

Definition at line 488 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setAperture ( fpreal  a)
inline

Definition at line 570 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setApertureOffsets ( fpreal  h,
fpreal  v 
)
inline

Definition at line 576 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setApplyAspectFlag ( int  a)
inline

Definition at line 449 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setAspectRatio ( fpreal  a)
inline

Definition at line 451 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setCPlaneHomeRotCallback ( GUI_HomeRotCallback  callback,
void data 
)
inline

Definition at line 550 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setCustomHomeRot ( UT_Matrix3R rot)
inline

Definition at line 545 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setDefaultFOV ( fpreal  fov_in_degrees)
static void GUI_ViewParameter::setDefaultHomingStyleFlag ( int  style)
inlinestatic

Definition at line 494 of file GUI_ViewParameter.h.

static void GUI_ViewParameter::setExtendedZBufferRangeSupport ( bool  has_ext)
static
void GUI_ViewParameter::setFarClip ( fpreal  far)
void GUI_ViewParameter::setFocalLength ( fpreal  f)
inline

Definition at line 561 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setFocalUnitScale ( fpreal  f)
inline

Definition at line 564 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setFocusDistance ( fpreal  f)
inline

Definition at line 567 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setFrustumScale ( fpreal  xsc,
fpreal  ysc 
)
inline

Definition at line 454 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setFStop ( fpreal  fs)
inline

Definition at line 573 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setHomeAxis ( axis  homeaxis)
inline

Definition at line 542 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setInfiniteFarPlane ( bool  enable)
inline

Definition at line 300 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setIsFreeCam ( bool  free_cam)
inline

Definition at line 329 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setLimits ( fpreal  n,
fpreal  f 
)
inline

Definition at line 302 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setNearClip ( fpreal  near)
void GUI_ViewParameter::setNominalWindow ( fpreal  x,
fpreal  y,
fpreal  w,
fpreal  h 
)
inline

Definition at line 349 of file GUI_ViewParameter.h.

static void GUI_ViewParameter::setOrientationMode ( orientation  o)
static
void GUI_ViewParameter::setOrthoFlag ( int  o)
inline

Definition at line 298 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setOrthoWidth ( fpreal  w)
inline

Definition at line 558 of file GUI_ViewParameter.h.

SYS_FORCE_INLINE void GUI_ViewParameter::setP ( const UT_Vector3D p)
inline

Definition at line 474 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setProjection ( RE_RenderContext  r)
void GUI_ViewParameter::setProjectionOverride ( UT_Matrix4D override)
void GUI_ViewParameter::setRotateMatrix ( const UT_Matrix3D mat)
inline

Definition at line 499 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setSceneBounds ( const UT_BoundingBoxD b)
inline

Definition at line 313 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setScreenWindow ( fpreal  l,
fpreal  r,
fpreal  b,
fpreal  t 
)
inline

Definition at line 388 of file GUI_ViewParameter.h.

static void GUI_ViewParameter::setScrollStyleFlag ( int  style)
inlinestatic

Definition at line 491 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setSelectedObjectBounds ( const UT_BoundingBoxD b)
inline

Definition at line 316 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setSubRegion ( fpreal  x,
fpreal  y,
fpreal  w,
fpreal  h 
)
inline

Definition at line 395 of file GUI_ViewParameter.h.

SYS_FORCE_INLINE void GUI_ViewParameter::setT ( const UT_Vector3D t)
inline

Definition at line 465 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setTransformCallback ( GUI_TransformCallback  callback,
void data 
)
inline

Definition at line 521 of file GUI_ViewParameter.h.

static void GUI_ViewParameter::setTumbleStyleFlag ( int  style)
inlinestatic

Definition at line 485 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setView ( const UT_DimRect area)
inline

Definition at line 145 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setView ( int  x,
int  y,
int  w,
int  h 
)
void GUI_ViewParameter::setViewport ( RE_RenderContext  r,
int  x,
int  y,
int  w,
int  h 
)
void GUI_ViewParameter::setViewport ( RE_RenderContext  r,
const UT_DimRect viewarea 
)
inline

Definition at line 94 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setViewState ( const gui_View view_state)
inline

Definition at line 666 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setWindow ( fpreal  x,
fpreal  y,
fpreal  w,
fpreal  h 
)
inline

Definition at line 332 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setWindowAffectRotoscope ( int  v)
inline

Definition at line 444 of file GUI_ViewParameter.h.

void GUI_ViewParameter::trackball ( fpreal  dx,
fpreal  dy 
)
void GUI_ViewParameter::viewToViewportProjectionBounds ( fpreal left,
fpreal right,
fpreal bottom,
fpreal top 
) const
void GUI_ViewParameter::worldLockedScroll ( const UT_Vector3R locked_pos,
fpreal  dx,
fpreal  dy 
)
void GUI_ViewParameter::zoom ( fpreal  dx,
GUI_ZoomItem  item,
bool  precise_zoom = false 
)
void GUI_ViewParameter::zoom ( fpreal  dx,
GUI_ZoomItem  item,
const UT_InclusiveRect viewport,
bool  precise_zoom = false 
)

Member Data Documentation

fpreal GUI_ViewParameter::myAdjustedFar

Definition at line 692 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myAdjustedH

Definition at line 696 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myAdjustedNear

Definition at line 691 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myAdjustedW

Definition at line 695 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myAdjustedX

Definition at line 693 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myAdjustedY

Definition at line 694 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myClear

Definition at line 594 of file GUI_ViewParameter.h.

int GUI_ViewParameter::myFog

Definition at line 597 of file GUI_ViewParameter.h.

float GUI_ViewParameter::myFogAlpha

Definition at line 602 of file GUI_ViewParameter.h.

float GUI_ViewParameter::myFogColor[3]

Definition at line 601 of file GUI_ViewParameter.h.

float GUI_ViewParameter::myFogDensity

Definition at line 598 of file GUI_ViewParameter.h.

float GUI_ViewParameter::myFogFar

Definition at line 600 of file GUI_ViewParameter.h.

float GUI_ViewParameter::myFogNear

Definition at line 599 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myFrustumHeightScale

Definition at line 700 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myFrustumWidthScale

Definition at line 699 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myFullH

Definition at line 698 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myFullW

Definition at line 697 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myLastZoomDelta

Definition at line 702 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myPixelAspect

Definition at line 688 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myWinRoll

Definition at line 605 of file GUI_ViewParameter.h.


The documentation for this class was generated from the following file: