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
}
 
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 ()
 
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 &view, bool depth_adjust=true)
 
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
 
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 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)
 
bool isDirty () const
 
int getViewVersion () 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 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)
 
void setT (const UT_Vector3D &t)
 
void setTx (fpreal v)
 
void setTy (fpreal v)
 
void setTz (fpreal v)
 
UT_Vector3D getT () const
 
fpreal getTx () const
 
fpreal getTy () const
 
fpreal getTz () const
 
UT_Vector3D getP () const
 
fpreal getPx () const
 
fpreal getPy () const
 
fpreal getPz () const
 
void setP (const UT_Vector3D &p)
 
void setPx (fpreal v)
 
void setPy (fpreal v)
 
void setPz (fpreal v)
 
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 (GRgetTransformCallback callback, void *data)
 
int save (std::ostream &os, char separator= '\n') 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 setOrthoWidth (fpreal w)
 
fpreal getOrthoWidth () const
 
void setFocalLength (fpreal f)
 
fpreal getFocalLength () const
 
void setAperture (fpreal a)
 
fpreal getAperture () 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 62 of file GUI_ViewParameter.h.

Member Enumeration Documentation

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

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

Enumerator
GUI_WIN_SIZE 
GUI_ORTHO_WIDTH 

Definition at line 212 of file GUI_ViewParameter.h.

Enumerator
Y_UP 
Z_UP 

Definition at line 71 of file GUI_ViewParameter.h.

Constructor & Destructor Documentation

GUI_ViewParameter::GUI_ViewParameter ( )
GUI_ViewParameter::~GUI_ViewParameter ( )

Member Function Documentation

void GUI_ViewParameter::beginContinuouslyExportedOperation ( )
void GUI_ViewParameter::boxZoom ( fpreal  firstx,
fpreal  firsty,
fpreal  lastx,
fpreal  lasty,
fpreal  distance 
)
const char* GUI_ViewParameter::className ( void  ) const
inline

Definition at line 439 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 
)
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 334 of file GUI_ViewParameter.h.

static int GUI_ViewParameter::getAltKeyViewControlsFlag ( )
inlinestatic

Definition at line 395 of file GUI_ViewParameter.h.

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

Definition at line 457 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getApplyAspectFlag ( ) const
inline

Definition at line 342 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getAspectRatio ( ) const
inline

Definition at line 344 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getBottomMargin ( ) const
inline

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

static axis GUI_ViewParameter::getDefaultHomingStyleFlag ( )
inlinestatic

Definition at line 401 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getFarClip ( ) const
inline

Definition at line 276 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getFarLimit ( ) const
inline

Definition at line 459 of file GUI_ViewParameter.h.

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

Definition at line 454 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
axis GUI_ViewParameter::getHomeAxis ( ) const
inline

Definition at line 445 of file GUI_ViewParameter.h.

const UT_Matrix4D& GUI_ViewParameter::getItransformMatrix ( )
inline

Definition at line 416 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getLastHomeRadius ( ) const
inline

Definition at line 441 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getLeftMargin ( ) const
inline

Definition at line 148 of file GUI_ViewParameter.h.

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

Definition at line 268 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getNearClip ( ) const
inline

Definition at line 275 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getNearLimit ( ) const
inline

Definition at line 458 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 ( )
inlinestatic

Definition at line 383 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getOrthoFlag ( ) const
inline
Examples:
DM/DM_BackgroundHook.C.

Definition at line 265 of file GUI_ViewParameter.h.

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

Definition at line 451 of file GUI_ViewParameter.h.

UT_Vector3D GUI_ViewParameter::getP ( ) const
inline

Definition at line 368 of file GUI_ViewParameter.h.

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

Definition at line 411 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getPx ( ) const
inline

Definition at line 369 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getPy ( ) const
inline

Definition at line 370 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getPz ( ) const
inline

Definition at line 371 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getRightMargin ( ) const
inline

Definition at line 150 of file GUI_ViewParameter.h.

const UT_Matrix4D& GUI_ViewParameter::getRotateMatrix ( ) const
inline

Definition at line 409 of file GUI_ViewParameter.h.

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

Definition at line 299 of file GUI_ViewParameter.h.

static int GUI_ViewParameter::getScrollStyleFlag ( )
inlinestatic

Definition at line 398 of file GUI_ViewParameter.h.

UT_Vector3D GUI_ViewParameter::getT ( ) const
inline

Definition at line 362 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getTopMargin ( ) const
inline

Definition at line 154 of file GUI_ViewParameter.h.

const UT_Matrix4D& GUI_ViewParameter::getTransformMatrix ( )
inline

Definition at line 414 of file GUI_ViewParameter.h.

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

Definition at line 392 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getTx ( ) const
inline

Definition at line 363 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getTy ( ) const
inline

Definition at line 364 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getTz ( ) const
inline

Definition at line 365 of file GUI_ViewParameter.h.

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

Definition at line 137 of file GUI_ViewParameter.h.

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

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

int GUI_ViewParameter::getViewportHeight ( ) const
inline

Definition at line 88 of file GUI_ViewParameter.h.

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

Definition at line 80 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getViewportWidth ( ) const
inline

Definition at line 86 of file GUI_ViewParameter.h.

void GUI_ViewParameter::getViewState ( gui_View view_state) const
inline

Definition at line 523 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getViewVersion ( ) const
inline

Definition at line 261 of file GUI_ViewParameter.h.

int GUI_ViewParameter::getViewWidth ( ) const
inline

Definition at line 135 of file GUI_ViewParameter.h.

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

Definition at line 285 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getWinSizeX ( ) const
inline

Definition at line 320 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getWinSizeY ( ) const
inline

Definition at line 321 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getWinX ( ) const
inline

Definition at line 322 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getWinY ( ) const
inline

Definition at line 323 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getZBufferFar ( ) const
inline

Definition at line 462 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::getZBufferNear ( ) const
inline

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

bool GUI_ViewParameter::isDirty ( void  ) const
inline

Definition at line 257 of file GUI_ViewParameter.h.

static bool GUI_ViewParameter::isOrientationYUp ( )
inlinestatic

Definition at line 384 of file GUI_ViewParameter.h.

static bool GUI_ViewParameter::isOrientationZUp ( )
inlinestatic

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

int GUI_ViewParameter::save ( std::ostream &  os,
char  separator = '\n' 
) const
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 332 of file GUI_ViewParameter.h.

static void GUI_ViewParameter::setAltKeyViewControlsFlag ( int  style)
inlinestatic

Definition at line 393 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setAperture ( fpreal  a)
inline

Definition at line 456 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setApplyAspectFlag ( int  a)
inline

Definition at line 341 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setAspectRatio ( fpreal  a)
inline

Definition at line 343 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setCustomHomeRot ( UT_Matrix3R rot)
inline

Definition at line 446 of file GUI_ViewParameter.h.

static void GUI_ViewParameter::setDefaultHomingStyleFlag ( int  style)
inlinestatic

Definition at line 399 of file GUI_ViewParameter.h.

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

Definition at line 453 of file GUI_ViewParameter.h.

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

Definition at line 346 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setHomeAxis ( axis  homeaxis)
inline

Definition at line 443 of file GUI_ViewParameter.h.

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

Definition at line 267 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setNearClip ( fpreal  near)
static void GUI_ViewParameter::setOrientationMode ( orientation  o)
inlinestatic

Definition at line 381 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setOrthoFlag ( int  o)
inline

Definition at line 266 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setOrthoWidth ( fpreal  w)
inline

Definition at line 450 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setP ( const UT_Vector3D p)
inline

Definition at line 372 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setProjection ( RE_Render r)
void GUI_ViewParameter::setProjectionOverride ( UT_Matrix4D override)
void GUI_ViewParameter::setPx ( fpreal  v)
inline

Definition at line 374 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setPy ( fpreal  v)
inline

Definition at line 376 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setPz ( fpreal  v)
inline

Definition at line 378 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setRotateMatrix ( const UT_Matrix3D mat)
inline

Definition at line 404 of file GUI_ViewParameter.h.

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

Definition at line 306 of file GUI_ViewParameter.h.

static void GUI_ViewParameter::setScrollStyleFlag ( int  style)
inlinestatic

Definition at line 396 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setT ( const UT_Vector3D t)
inline

Definition at line 353 of file GUI_ViewParameter.h.

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

Definition at line 426 of file GUI_ViewParameter.h.

static void GUI_ViewParameter::setTumbleStyleFlag ( int  style)
inlinestatic

Definition at line 390 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setTx ( fpreal  v)
inline

Definition at line 355 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setTy ( fpreal  v)
inline

Definition at line 357 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setTz ( fpreal  v)
inline

Definition at line 359 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setView ( const UT_DimRect area)
inline

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

void GUI_ViewParameter::setViewState ( const gui_View view_state)
inline

Definition at line 525 of file GUI_ViewParameter.h.

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

Definition at line 278 of file GUI_ViewParameter.h.

void GUI_ViewParameter::setWindowAffectRotoscope ( int  v)
inline

Definition at line 336 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::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 546 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myAdjustedH

Definition at line 550 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myAdjustedNear

Definition at line 545 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myAdjustedW

Definition at line 549 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myAdjustedX

Definition at line 547 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myAdjustedY

Definition at line 548 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myClear

Definition at line 465 of file GUI_ViewParameter.h.

int GUI_ViewParameter::myFog

Definition at line 468 of file GUI_ViewParameter.h.

float GUI_ViewParameter::myFogAlpha

Definition at line 473 of file GUI_ViewParameter.h.

float GUI_ViewParameter::myFogColor[3]

Definition at line 472 of file GUI_ViewParameter.h.

float GUI_ViewParameter::myFogDensity

Definition at line 469 of file GUI_ViewParameter.h.

float GUI_ViewParameter::myFogFar

Definition at line 471 of file GUI_ViewParameter.h.

float GUI_ViewParameter::myFogNear

Definition at line 470 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myFrustumHeightScale

Definition at line 554 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myFrustumWidthScale

Definition at line 553 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myFullH

Definition at line 552 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myFullW

Definition at line 551 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myLastZoomDelta

Definition at line 556 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myPixelAspect

Definition at line 542 of file GUI_ViewParameter.h.

fpreal GUI_ViewParameter::myWinRoll

Definition at line 476 of file GUI_ViewParameter.h.


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