ViewExp11 Class Reference
 
 
 
ViewExp11 Class Reference

This reference page is linked to from the following overview topics: SDK Change Details.


#include <maxapi.h>

Inheritance diagram for ViewExp11:
ViewExp10 ViewExp InterfaceServer MaxHeapOperators ViewExp13

Class Description

Extends ViewExp10.

The following code example shows gow 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);
        ViewExp11* vp11 = NULL;
        if (vp.IsAlive())
                vp11 = reinterpret_cast<ViewExp11*>(vp.Execute(ViewExp::kEXECUTE_GET_VIEWEXP_11));

Public Member Functions

virtual  ~ViewExp11 ()
  Destructor.
Adaptive Degradation parameters
virtual BOOL  IsDegrading ()=0
  Gets whether or not we are in the process of drawing the viewports in an degraded state.

Constructor & Destructor Documentation

virtual ~ViewExp11 ( ) [inline, virtual]

Destructor.

{ }

Member Function Documentation

virtual BOOL IsDegrading ( ) [pure virtual]

Gets whether or not we are in the process of drawing the viewports in an degraded state.

Gets whether or not we are drawing the viewports in an degraded state. This flag thus can be queried when an object is displaying itself and wants to do any custom drawing when adaptive degradation is occuring.