3ds Max C++ API Reference
ViewExp10 Class Referenceabstract

Extends ViewExp. More...

#include <maxapi.h>

+ Inheritance diagram for ViewExp10:

Public Member Functions

virtual ~ViewExp10 ()
 Destructor. More...
 
virtual BOOL SetFOV (float fov)=0
 Sets the Field of View for the viewport. More...
 
virtual float GetViewportFPS ()=0
 Gets the state of the active viewport current fps. More...
 
virtual float GetViewportClipScale ()=0
 Gets the state of the active viewport clip scale value. More...
 
virtual void SetViewportClipScale (float fScale)=0
 Sets the state of the active viewport clip scale value. More...
 
Viewport navigation methods

Viewport navigation is usually implemented by viewport command modes (VIEWPORT_COMMAND).

The viewport should be invalidated by the command mode's mouse callback procedure in response to user input that change the viewpoint or some view parameters. See ViewExp10::Invalidate for more details. Viewport navigation commands should be undoable\redoable. See ViewExp10::UndoBegin and ViewExp10::UndoAccept for more details. The following methods work with all view types except object based ones (camera, light, etc).

See also
class CommandMode, class MouseCallBack, Sample code MaxSDK\HowTo\ViewportNavigation
virtual void Pan (const Point2 &screenDelta)=0
 Pans the viewport. More...
 
virtual void Zoom (float zoomFactor)=0
 Zooms the viewport. More...
 
virtual void Rotate (const Quat &rotData, const Point3 &center=Point3::Origin)=0
 Rotates the viewport. More...
 
virtual void SetFocalDistance (float dist)=0
 Sets the focal distance of the viewport. More...
 
Undo support

Marks the start of recording viewport changes for undo

virtual bool UndoBegin ()=0
 Call this method before any change to the viewpoint or viewport parameters. More...
 
virtual bool UndoAccept ()=0
 Marks the end of recording viewport changes for undo. More...
 
Viewport invalidation

Invalidates the viewport

virtual void Invalidate (bool bForegroundOnly=false)=0
 A call to Interface::RedrawViews will cause the viewport to be redrawn. More...
 
virtual bool IsValid () const =0
 Retrieves the validity state of the viewport foreground. More...
 
Adaptive Degradation parameters
virtual float GetAdaptiveDegGoalFPS ()=0
 Gets Adaptive Deg. goal FPS. More...
 
virtual void SetAdaptiveDegGoalFPS (float fFPS)=0
 Sets Adaptive Deg. goal FPS. More...
 
virtual BOOL GetAdaptiveDegDisplayModeCurrent ()=0
 Gets the state of the display mode current display option. More...
 
virtual void SetAdaptiveDegDisplayModeCurrent (BOOL bMode)=0
 Sets the display mode to the current display. More...
 
virtual BOOL GetAdaptiveDegDisplayModeFastShaded ()=0
 Gets the state of the display mode Fast Shaded display option. More...
 
virtual void SetAdaptiveDegDisplayModeFastShaded (BOOL bMode)=0
 Sets the state of the display mode Fast Shaded display option. More...
 
virtual BOOL GetAdaptiveDegDisplayModeWire ()=0
 Gets the state of the display mode Wireframe display option. More...
 
virtual void SetAdaptiveDegDisplayModeWire (BOOL bMode)=0
 Sets the state of the display mode Wireframe display option. More...
 
virtual BOOL GetAdaptiveDegDisplayModeBox ()=0
 Gets the state of the display mode BoundingBox display option. More...
 
virtual void SetAdaptiveDegDisplayModeBox (BOOL bMode)=0
 Sets the state of the display mode BoundingBox display option. More...
 
virtual BOOL GetAdaptiveDegDisplayModePoint ()=0
 Gets the state of the display mode Point display option. More...
 
virtual void SetAdaptiveDegDisplayModePoint (BOOL bMode)=0
 Sets the state of the display mode Point display option. More...
 
virtual BOOL GetAdaptiveDegDisplayModeHide ()=0
 Gets the state of the display mode Hide display option. More...
 
virtual void SetAdaptiveDegDisplayModeHide (BOOL bMode)=0
 Sets the state of the display mode Hide display option. More...
 
virtual BOOL GetAdaptiveDegDrawBackface ()=0
 Gets the state of the Draw Backface option. More...
 
virtual void SetAdaptiveDegDrawBackface (BOOL bDraw)=0
 Sets the state of the Draw Backface option. More...
 
virtual BOOL GetAdaptiveDegNeverDegradeSelected ()=0
 Gets the state of the Never Degrade Selected option. More...
 
virtual void SetAdaptiveDegNeverDegradeSelected (BOOL bNeverDegrade)=0
 Sets the state of the Never Degrade Selected option. More...
 
virtual BOOL GetAdaptiveDegDegradeLight ()=0
 Gets the state of the Degrade to Default Light option. More...
 
virtual void SetAdaptiveDegDegradeLight (BOOL bDegradeLight)=0
 Sets the state of the Degrade to Default Light option. More...
 
virtual BOOL GetAdaptiveDegNeverRedrawAfterDegrade ()=0
 Gets the state of the Never Redraw After Degrade option. More...
 
virtual void SetAdaptiveDegNeverRedrawAfterDegrade (BOOL bNeverRedraw)=0
 Sets the state of the Never Redraw After Degrade option. More...
 
virtual float GetAdaptiveDegCameraDistancePriority ()=0
 Gets the state of the Distance From Camera Priority option. More...
 
virtual void SetAdaptiveDegCameraDistancePriority (float fPriority)=0
 Sets the state of the Distance From Camera Priority option. More...
 
virtual float GetAdaptiveDegScreenSizePriority ()=0
 Gets the state of the Screen Size Priority option. More...
 
virtual void SetAdaptiveDegScreenSizePriority (float fPriority)=0
 Sets the state of the Screen Size Priority option. More...
 
virtual int GetAdaptiveDegMinSize ()=0
 Gets the state of the Minimum Draw Size option. More...
 
virtual void SetAdaptiveDegMinSize (int iMinSize)=0
 Sets the state of the Minimum Draw Size option. More...
 
- Public Member Functions inherited from ViewExp
virtual int GetViewID ()=0
 Return the unique ID of the viewport represented by the ViewExp. More...
 
virtual ViewExpToPointer ()=0
 
virtual bool IsAlive ()=0
 
virtual Point2 MapViewToScreen (const Point3 &p)=0
 
virtual float GetFPS ()=0
 Get the FPS from the active viewport. More...
 
virtual void SetSolidBackgroundColorMode (bool bSolidColor)=0
 Set the viewport background color mode as solid color mode or gradient color mode. More...
 
virtual bool IsSolidBackgroundColorMode ()=0
 Get the current viewport background color mode. More...
 
virtual void ResetBackgroundColorMode ()=0
 Reset viewport background color mode. More...
 
virtual void InvalidateRect (const Rect &rect)=0
 
virtual INT_PTR Execute (int cmd, ULONG_PTR arg1=0, ULONG_PTR arg2=0, ULONG_PTR arg3=0)
 
virtual Point3 GetPointOnCP (const IPoint2 &ps)=0
 
virtual float GetCPDisp (const Point3 base, const Point3 &dir, const IPoint2 &sp1, const IPoint2 &sp2, BOOL snap=FALSE)=0
 
virtual Point3 MapScreenToView (IPoint2 &sp, float depth)=0
 
virtual void MapScreenToWorldRay (float sx, float sy, Ray &ray)=0
 
virtual BOOL SetAffineTM (const Matrix3 &m)=0
 
virtual void GetAffineTM (Matrix3 &tm)=0
 
virtual float GetScreenScaleFactor (const Point3 worldPoint)=0
 
virtual float GetVPWorldWidth (const Point3 wPoint)=0
 
virtual Point3 MapCPToWorld (const Point3 cpPoint)=0
 
virtual float NonScalingObjectSize ()=0
 
virtual Point3 SnapPoint (const IPoint2 &in, IPoint2 &out, Matrix3 *plane2d=NULL, DWORD flags=0)=0
 
virtual void SnapPreview (const IPoint2 &in, IPoint2 &out, Matrix3 *plane2d=NULL, DWORD flags=0)=0
 
virtual void GetGridDims (float *MinX, float *MaxX, float *MinY, float *MaxY)=0
 
virtual float SnapLength (float in)=0
 
virtual GraphicsWindowgetGW ()=0
 
virtual int IsWire ()=0
 
virtual Rect GetDammageRect ()=0
 
virtual void GetConstructionTM (Matrix3 &tm)=0
 
virtual void SetGridSize (float size)=0
 
virtual float GetGridSize ()=0
 
virtual BOOL IsGridVisible ()=0
 
virtual void SetGridVisibility (BOOL bVisible)=0
 
virtual int GetGridType ()=0
 
virtual BOOL setBkgImageDsp (BOOL onOff)=0
 
virtual int getBkgImageDsp (void)=0
 
virtual void setSFDisplay (int onOff)=0
 
virtual int getSFDisplay (void)=0
 
virtual HWND GetHWnd ()=0
 
virtual BOOL IsActive ()=0
 
virtual BOOL IsEnabled ()=0
 
virtual int GetViewType ()=0
 
virtual BOOL IsPerspView ()=0
 
virtual BOOL IsCanvasNavigationMode ()=0
 
virtual float GetFOV ()=0
 
virtual float GetFocalDist ()=0
 
virtual void SetFocalDist (float fd)=0
 
virtual INodeGetViewCamera ()=0
 
virtual void SetViewCamera (INode *camNode)=0
 
virtual void SetViewUser (BOOL persp)=0
 
virtual INodeGetViewSpot ()=0
 
virtual void SetViewSpot (INode *spotNode)=0
 
virtual void ClearHitList ()=0
 
virtual INodeGetClosestHit ()=0
 
virtual INodeGetHit (int i)=0
 
virtual int HitCount ()=0
 
virtual void LogHit (INode *nr, ModContext *mc, DWORD dist, ulong info, HitData *hitdata=NULL)=0
 This method records a sub-object level hit record with the system using the specified parameters. More...
 
virtual HitLogGetSubObjHitList ()=0
 
virtual void ClearSubObjHitList ()=0
 
virtual int NumSubObjHits ()=0
 
virtual void CtrlLogHit (INode *nr, DWORD dist, ulong info, DWORD infoExtra)=0
 
virtual CtrlHitLogGetCtrlHitList ()=0
 
virtual void ClearCtrlHitList ()=0
 
virtual void TrackImplicitGrid (IPoint2 m, Matrix3 *mat=NULL, ULONG hitTestFlags=0)=0
 
virtual void CommitImplicitGrid (IPoint2 m, int mouseflags, Matrix3 *mat=NULL)=0
 
virtual void ReleaseImplicitGrid ()=0
 
- Public Member Functions inherited from InterfaceServer
virtual UtilExport ~InterfaceServer ()
 Destructor. More...
 
virtual UtilExport BaseInterfaceGetInterface (Interface_ID id)
 
template<class InterfaceType >
InterfaceType * GetTypedInterface ()
 

Additional Inherited Members

- Public Types inherited from ViewExp
enum  { kEXECUTE_GET_VIEWEXP_10 = 0 , kEXECUTE_GET_VIEWPORT_ID = 1 , kEXECUTE_GET_VIEWEXP_11 = 2 , kEXECUTE_GET_VIEWEXP_13 = 3 }
 
- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator. More...
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator. More...
 
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary. More...
 
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary. More...
 
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. More...
 

Detailed Description

Extends ViewExp.

The following code example shows how to get access to this interface:

// hWnd is the handle of a viewport window. This is passed to MouseCallback::proc
ViewExp& vp = ip->GetViewExp(hWnd);
ViewExp10* vp10 = NULL;
if (vp.IsAlive())
vp10 = reinterpret_cast<ViewExp10*>(vp.Execute(ViewExp::kEXECUTE_GET_VIEWEXP_10));
#define NULL
Definition: autoptr.h:18
Extends ViewExp.
Definition: maxapi.h:1385
Definition: maxapi.h:768
virtual bool IsAlive()=0
virtual INT_PTR Execute(int cmd, ULONG_PTR arg1=0, ULONG_PTR arg2=0, ULONG_PTR arg3=0)
Definition: maxapi.h:1352
@ kEXECUTE_GET_VIEWEXP_10
Command id to be passed to ViewExp::Execute in order to get the viewport's ViewExp10 interface.
Definition: maxapi.h:1364

Constructor & Destructor Documentation

◆ ~ViewExp10()

virtual ~ViewExp10 ( )
inlinevirtual

Destructor.

1388 { }

Member Function Documentation

◆ Pan()

virtual void Pan ( const Point2 screenDelta)
pure virtual

Pans the viewport.

Parameters
[in]screenDelta- Screen space pan amount.

◆ Zoom()

virtual void Zoom ( float  zoomFactor)
pure virtual

Zooms the viewport.

This is equivalent to the Interactive Zoom tool in the UI. When used on a perspective view, it ultimately modifies the focal distance, and moves the camera. When used on an orthogonal or isometric view, it simply calls an internal zoom function. Values between 0.0 and 1.0 will zoom in, and values greater than 1.0 will zoom out. For instance, zooming in with a value of 0.5 will enlarge the apparent display, and effectively half the focal distance for perspective views. Zooming out with a value of 2.0 will effectively double the focal distance for perspective views. Note: Setting this value to zero will set the focal distance to zero. This is highly discouraged. To recover from a zero assignment, either set the focal distance to a positive number, or zoom using the middle mouse button.

Parameters
[in]zoomFactor- Zoom factor to apply to the viewport.

◆ Rotate()

virtual void Rotate ( const Quat rotData,
const Point3 center = Point3::Origin 
)
pure virtual

Rotates the viewport.

This is equivalent to the Viewport Rotation tool in the UI.

Parameters
[in]rotData- Rotation to apply to the viewport.
[in]center- pivot on which the viewport rotation is based.

◆ SetFocalDistance()

virtual void SetFocalDistance ( float  dist)
pure virtual

Sets the focal distance of the viewport.

Parameters
[in]dist- The new distance for the focal length

◆ UndoBegin()

virtual bool UndoBegin ( )
pure virtual

Call this method before any change to the viewpoint or viewport parameters.

Usually this method is called from within a MouseCallback::proc method in response to the start of a user interaction (MOUSE_POINT, MOUSE_KEYBOARD)

◆ UndoAccept()

virtual bool UndoAccept ( )
pure virtual

Marks the end of recording viewport changes for undo.

Call this method after a change to the viewpoint or viewport parameters. Usually this method is called from within a MouseCallback::proc method in response to the end of a user interaction (MOUSE_POINT sent to MouseCallback::proc with the last point)

◆ Invalidate()

virtual void Invalidate ( bool  bForegroundOnly = false)
pure virtual

A call to Interface::RedrawViews will cause the viewport to be redrawn.

Parameters
[in]bForegroundOnly- If true, only the foreground plane is invalidated. If false, both foreground and background planes are invalidated.
See also
The topic named "Foreground\Background" in the 3ds Max SDK Programmer's Guide.

◆ IsValid()

virtual bool IsValid ( ) const
pure virtual

Retrieves the validity state of the viewport foreground.

Returns
true if the viewport foreground is valid, false otherwise

◆ SetFOV()

virtual BOOL SetFOV ( float  fov)
pure virtual

Sets the Field of View for the viewport.

This can be used on Perspective and Camera views. That is VIEW_PERSP_USER or VIEW_CAMERA from enum ViewType. To see the results of this call the viewports will have to be updated. For instance you could call: Interface::RedrawViews()

Parameters
fov- The field of view in Radians to set the viewport to. Valid values are 0.0 to 2 PI.
Returns
TRUE if successful or FALSE if not.

◆ GetViewportFPS()

virtual float GetViewportFPS ( )
pure virtual

Gets the state of the active viewport current fps.

Gets the state of the active viewport current play back fps. NOTE GetFPS returns the Adaptive degradation goal frame rate

◆ GetViewportClipScale()

virtual float GetViewportClipScale ( )
pure virtual

Gets the state of the active viewport clip scale value.

This gets the state of the viewport clip scale value. The minimum clip value is computed by taking the scene bounding box and multiplying by this value. Making this value larger will make the scene display more accurately but bring the near clip plane farther from the camera. Making this value smaller will bring the near clip plane closer but have a more likely chance of have close polygons render incorrectly

◆ SetViewportClipScale()

virtual void SetViewportClipScale ( float  fScale)
pure virtual

Sets the state of the active viewport clip scale value.

This sets the state of the viewport clip scale value. The minimum clip value is computed by taking the scene bounding box and multiplying by this value. Making this value larger will make the scene display more accurately but bring the near clip plane farther from the camera. Making this value smaller will bring the near clip plane closer but have a more likely chance of have close polygons render incorrectly

Parameters
fScaleThe scale value

◆ GetAdaptiveDegGoalFPS()

virtual float GetAdaptiveDegGoalFPS ( )
pure virtual

Gets Adaptive Deg. goal FPS.

Gets Adaptive Deg. goal FPS. This is the frame rate the adaptive deg system wants to hold

◆ SetAdaptiveDegGoalFPS()

virtual void SetAdaptiveDegGoalFPS ( float  fFPS)
pure virtual

Sets Adaptive Deg. goal FPS.

Sets Adaptive Deg. goal FPS. This is the frame rate the adaptive deg system wants to hold

◆ GetAdaptiveDegDisplayModeCurrent()

virtual BOOL GetAdaptiveDegDisplayModeCurrent ( )
pure virtual

Gets the state of the display mode current display option.

Gets the state of the display mode current display option

◆ SetAdaptiveDegDisplayModeCurrent()

virtual void SetAdaptiveDegDisplayModeCurrent ( BOOL  bMode)
pure virtual

Sets the display mode to the current display.

Sets the display mode to the current display

◆ GetAdaptiveDegDisplayModeFastShaded()

virtual BOOL GetAdaptiveDegDisplayModeFastShaded ( )
pure virtual

Gets the state of the display mode Fast Shaded display option.

Gets the state of the display mode Fast Shaded display option

◆ SetAdaptiveDegDisplayModeFastShaded()

virtual void SetAdaptiveDegDisplayModeFastShaded ( BOOL  bMode)
pure virtual

Sets the state of the display mode Fast Shaded display option.

Sets the state of the display mode Fast Shaded display option

◆ GetAdaptiveDegDisplayModeWire()

virtual BOOL GetAdaptiveDegDisplayModeWire ( )
pure virtual

Gets the state of the display mode Wireframe display option.

Gets the state of the display mode Wireframe display option

◆ SetAdaptiveDegDisplayModeWire()

virtual void SetAdaptiveDegDisplayModeWire ( BOOL  bMode)
pure virtual

Sets the state of the display mode Wireframe display option.

Sets the state of the display mode Wireframe display option

◆ GetAdaptiveDegDisplayModeBox()

virtual BOOL GetAdaptiveDegDisplayModeBox ( )
pure virtual

Gets the state of the display mode BoundingBox display option.

Gets the state of the display mode BoundingBox display option

◆ SetAdaptiveDegDisplayModeBox()

virtual void SetAdaptiveDegDisplayModeBox ( BOOL  bMode)
pure virtual

Sets the state of the display mode BoundingBox display option.

Sets the state of the display mode BoundingBox display option

◆ GetAdaptiveDegDisplayModePoint()

virtual BOOL GetAdaptiveDegDisplayModePoint ( )
pure virtual

Gets the state of the display mode Point display option.

Gets the state of the display mode Point display option

◆ SetAdaptiveDegDisplayModePoint()

virtual void SetAdaptiveDegDisplayModePoint ( BOOL  bMode)
pure virtual

Sets the state of the display mode Point display option.

Sets the state of the display mode Point display option

◆ GetAdaptiveDegDisplayModeHide()

virtual BOOL GetAdaptiveDegDisplayModeHide ( )
pure virtual

Gets the state of the display mode Hide display option.

Gets the state of the display mode Hide display option

◆ SetAdaptiveDegDisplayModeHide()

virtual void SetAdaptiveDegDisplayModeHide ( BOOL  bMode)
pure virtual

Sets the state of the display mode Hide display option.

Sets the state of the display mode Hide display option

◆ GetAdaptiveDegDrawBackface()

virtual BOOL GetAdaptiveDegDrawBackface ( )
pure virtual

Gets the state of the Draw Backface option.

Gets the state of the Draw Backface option. When on backfaces will be drawn when degrading improving performance

◆ SetAdaptiveDegDrawBackface()

virtual void SetAdaptiveDegDrawBackface ( BOOL  bDraw)
pure virtual

Sets the state of the Draw Backface option.

Sets the state of the Draw Backface option. When on backfaces will be drawn when degrading improving performance

◆ GetAdaptiveDegNeverDegradeSelected()

virtual BOOL GetAdaptiveDegNeverDegradeSelected ( )
pure virtual

Gets the state of the Never Degrade Selected option.

Gets the state of the Never Degrade Selected option. When on selected objects will never get degraded allowing the user to focus on them

◆ SetAdaptiveDegNeverDegradeSelected()

virtual void SetAdaptiveDegNeverDegradeSelected ( BOOL  bNeverDegrade)
pure virtual

Sets the state of the Never Degrade Selected option.

Sets the state of the Never Degrade Selected option. When on selected objects will never get degraded allowing the user to focus on them

◆ GetAdaptiveDegDegradeLight()

virtual BOOL GetAdaptiveDegDegradeLight ( )
pure virtual

Gets the state of the Degrade to Default Light option.

Gets the state of the Degrade to Default Light option. When on the system will degrade the lights to just the default over the shoulder light

◆ SetAdaptiveDegDegradeLight()

virtual void SetAdaptiveDegDegradeLight ( BOOL  bDegradeLight)
pure virtual

Sets the state of the Degrade to Default Light option.

Sets the state of the Degrade to Default Light option. When on the system will degrade the lights to just the default over the shoulder light

◆ GetAdaptiveDegNeverRedrawAfterDegrade()

virtual BOOL GetAdaptiveDegNeverRedrawAfterDegrade ( )
pure virtual

Gets the state of the Never Redraw After Degrade option.

Gets the state of the Never Redraw After Degrade option. When on the system will remain in degraded state even after a mouse up. On large scenes this helps pauses on full redraws

◆ SetAdaptiveDegNeverRedrawAfterDegrade()

virtual void SetAdaptiveDegNeverRedrawAfterDegrade ( BOOL  bNeverRedraw)
pure virtual

Sets the state of the Never Redraw After Degrade option.

Sets the state of the Never Redraw After Degrade option. When on the system will remain in degraded state even after a mouse up. On large scenes this helps pauses on full redraws

◆ GetAdaptiveDegCameraDistancePriority()

virtual float GetAdaptiveDegCameraDistancePriority ( )
pure virtual

Gets the state of the Distance From Camera Priority option.

Gets the state of the Distance From Camera Priority option. This weights whether the distance from camera or screen size is used to determine what gets degraded

◆ SetAdaptiveDegCameraDistancePriority()

virtual void SetAdaptiveDegCameraDistancePriority ( float  fPriority)
pure virtual

Sets the state of the Distance From Camera Priority option.

Sets the state of the Distance From Camera Priority option. This weights whether the distance from camera or screen size is used to determine what gets degraded

◆ GetAdaptiveDegScreenSizePriority()

virtual float GetAdaptiveDegScreenSizePriority ( )
pure virtual

Gets the state of the Screen Size Priority option.

Gets the state of the Screen Size Priority option. This weights whether the distance from camera or screen size is used to determine what gets degraded

◆ SetAdaptiveDegScreenSizePriority()

virtual void SetAdaptiveDegScreenSizePriority ( float  fPriority)
pure virtual

Sets the state of the Screen Size Priority option.

Sets the state of the Screen Size Priority option. This weights whether the distance from camera or screen size is used to determine what gets degraded

◆ GetAdaptiveDegMinSize()

virtual int GetAdaptiveDegMinSize ( )
pure virtual

Gets the state of the Minimum Draw Size option.

Gets the state of the Minimum Draw Size option. Anything smaller than the Minimum Draw Size in screen space will not be drawn when the system is degrading

◆ SetAdaptiveDegMinSize()

virtual void SetAdaptiveDegMinSize ( int  iMinSize)
pure virtual

Sets the state of the Minimum Draw Size option.

Sets the state of the Minimum Draw Size option. Anything smaller than the Minimum Draw Size in screen space will not be drawn when the system is degrading