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

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 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 63 of file GUI_ViewParameter.h.

Member Enumeration Documentation

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

Definition at line 70 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 374 of file GUI_ViewParameter.h.

Enumerator
GUI_WIN_SIZE 
GUI_ORTHO_WIDTH 

Definition at line 227 of file GUI_ViewParameter.h.

Enumerator
Y_UP 
Z_UP 

Definition at line 73 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::beginContinuouslyExportedOperation ( )
void GUI_ViewParameter::boxZoom ( fpreal  firstx,
fpreal  firsty,
fpreal  lastx,
fpreal  lasty,
fpreal  distance 
)
void GUI_ViewParameter::bumpView2DVersion ( )
inline

Definition at line 280 of file GUI_ViewParameter.h.

void GUI_ViewParameter::bumpViewVersion ( )
inline

Definition at line 279 of file GUI_ViewParameter.h.

const char* GUI_ViewParameter::className ( ) const
inline

Definition at line 476 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 332 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 383 of file GUI_ViewParameter.h.

static int GUI_ViewParameter::getAltKeyViewControlsFlag ( )
inlinestatic

Definition at line 428 of file GUI_ViewParameter.h.

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

Definition at line 509 of file GUI_ViewParameter.h.

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

Definition at line 519 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getApplyAspectFlag ( ) const
inline

Definition at line 391 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getAspectRatio ( ) const
inline

Definition at line 393 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getBottomMargin ( ) const
inline

Definition at line 163 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 484 of file GUI_ViewParameter.h.

static axis GUI_ViewParameter::getDefaultHomingStyleFlag ( )
inlinestatic

Definition at line 434 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getFarClip ( ) const
inline

Definition at line 297 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getFarLimit ( ) const
inline

Definition at line 526 of file GUI_ViewParameter.h.

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

Definition at line 500 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getFocalUnitScale ( ) const
inline

Definition at line 503 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getFocusDistance ( ) const
inline

Definition at line 506 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
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 512 of file GUI_ViewParameter.h.

axis GUI_ViewParameter::getHomeAxis ( ) const
inline

Definition at line 482 of file GUI_ViewParameter.h.

const UT_Matrix4D& GUI_ViewParameter::getItransformMatrix ( )
inline

Definition at line 449 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getLastHomeRadius ( ) const
inline

Definition at line 478 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getLeftMargin ( ) const
inline

Definition at line 159 of file GUI_ViewParameter.h.

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

Definition at line 289 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getNearClip ( ) const
inline

Definition at line 296 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getNearLimit ( ) const
inline

Definition at line 525 of file GUI_ViewParameter.h.

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

Definition at line 324 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 286 of file GUI_ViewParameter.h.

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

Definition at line 497 of file GUI_ViewParameter.h.

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

Definition at line 410 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 444 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getRightMargin ( ) const
inline

Definition at line 161 of file GUI_ViewParameter.h.

const UT_Matrix4D& GUI_ViewParameter::getRotateMatrix ( ) const
inline

Definition at line 442 of file GUI_ViewParameter.h.

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

Definition at line 348 of file GUI_ViewParameter.h.

static int GUI_ViewParameter::getScrollStyleFlag ( )
inlinestatic

Definition at line 431 of file GUI_ViewParameter.h.

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

Definition at line 406 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getTopMargin ( ) const
inline

Definition at line 165 of file GUI_ViewParameter.h.

const UT_Matrix4D& GUI_ViewParameter::getTransformMatrix ( )
inline

Definition at line 447 of file GUI_ViewParameter.h.

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

Definition at line 425 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 147 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getView2DVersion ( ) const
inline

Definition at line 282 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getView3DVersion ( ) const
inline

Definition at line 281 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 144 of file GUI_ViewParameter.h.

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

Definition at line 75 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 98 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getViewportHeight ( ) const
inline

Definition at line 90 of file GUI_ViewParameter.h.

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

Definition at line 82 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getViewportWidth ( ) const
inline

Definition at line 88 of file GUI_ViewParameter.h.

void GUI_ViewParameter::getViewState ( gui_View view_state) const
inline

Definition at line 600 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getViewVersion ( ) const
inline

Definition at line 278 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getViewWidth ( ) const
inline

Definition at line 142 of file GUI_ViewParameter.h.

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

Definition at line 307 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getWinSizeX ( ) const
inline

Definition at line 369 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getWinSizeY ( ) const
inline

Definition at line 370 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getWinX ( ) const
inline

Definition at line 371 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getWinY ( ) const
inline

Definition at line 372 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getZBufferFar ( ) const
inline

Definition at line 529 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getZBufferNear ( ) const
inline

Definition at line 528 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 285 of file GUI_ViewParameter.h.

bool GUI_ViewParameter::isDirty ( ) const
inline

Definition at line 274 of file GUI_ViewParameter.h.

static bool GUI_ViewParameter::isOrientationYUp ( )
inlinestatic

Definition at line 417 of file GUI_ViewParameter.h.

static bool GUI_ViewParameter::isOrientationZUp ( )
inlinestatic

Definition at line 419 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 386 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 381 of file GUI_ViewParameter.h.

static void GUI_ViewParameter::setAltKeyViewControlsFlag ( int  style)
inlinestatic

Definition at line 426 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setAperture ( fpreal  a)
inline

Definition at line 508 of file GUI_ViewParameter.h.

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

Definition at line 514 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setApplyAspectFlag ( int  a)
inline

Definition at line 390 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setAspectRatio ( fpreal  a)
inline

Definition at line 392 of file GUI_ViewParameter.h.

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

Definition at line 488 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setCustomHomeRot ( UT_Matrix3R rot)
inline

Definition at line 483 of file GUI_ViewParameter.h.

static void GUI_ViewParameter::setDefaultHomingStyleFlag ( int  style)
inlinestatic

Definition at line 432 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setFarClip ( fpreal  far)
void GUI_ViewParameter::setFocalLength ( fpreal  f)
inline

Definition at line 499 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setFocalUnitScale ( fpreal  f)
inline

Definition at line 502 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setFocusDistance ( fpreal  f)
inline

Definition at line 505 of file GUI_ViewParameter.h.

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

Definition at line 395 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setFStop ( fpreal  fs)
inline

Definition at line 511 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setHomeAxis ( axis  homeaxis)
inline

Definition at line 480 of file GUI_ViewParameter.h.

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

Definition at line 288 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 316 of file GUI_ViewParameter.h.

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

Definition at line 287 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setOrthoWidth ( fpreal  w)
inline

Definition at line 496 of file GUI_ViewParameter.h.

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

Definition at line 412 of file GUI_ViewParameter.h.

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

Definition at line 437 of file GUI_ViewParameter.h.

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

Definition at line 355 of file GUI_ViewParameter.h.

static void GUI_ViewParameter::setScrollStyleFlag ( int  style)
inlinestatic

Definition at line 429 of file GUI_ViewParameter.h.

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

Definition at line 403 of file GUI_ViewParameter.h.

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

Definition at line 459 of file GUI_ViewParameter.h.

static void GUI_ViewParameter::setTumbleStyleFlag ( int  style)
inlinestatic

Definition at line 423 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setView ( const UT_DimRect area)
inline

Definition at line 138 of file GUI_ViewParameter.h.

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

Definition at line 93 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setViewState ( const gui_View view_state)
inline

Definition at line 602 of file GUI_ViewParameter.h.

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

Definition at line 299 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setWindowAffectRotoscope ( int  v)
inline

Definition at line 385 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 624 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myAdjustedH

Definition at line 628 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myAdjustedNear

Definition at line 623 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myAdjustedW

Definition at line 627 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myAdjustedX

Definition at line 625 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myAdjustedY

Definition at line 626 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myClear

Definition at line 532 of file GUI_ViewParameter.h.

int GUI_ViewParameter::myFog

Definition at line 535 of file GUI_ViewParameter.h.

float GUI_ViewParameter::myFogAlpha

Definition at line 540 of file GUI_ViewParameter.h.

float GUI_ViewParameter::myFogColor[3]

Definition at line 539 of file GUI_ViewParameter.h.

float GUI_ViewParameter::myFogDensity

Definition at line 536 of file GUI_ViewParameter.h.

float GUI_ViewParameter::myFogFar

Definition at line 538 of file GUI_ViewParameter.h.

float GUI_ViewParameter::myFogNear

Definition at line 537 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myFrustumHeightScale

Definition at line 632 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myFrustumWidthScale

Definition at line 631 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myFullH

Definition at line 630 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myFullW

Definition at line 629 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myLastZoomDelta

Definition at line 634 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myPixelAspect

Definition at line 620 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myWinRoll

Definition at line 543 of file GUI_ViewParameter.h.


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