UpdateViewContext Class Reference
 
 
 
UpdateViewContext Class Reference

#include <UpdateViewContext.h>

Inheritance diagram for UpdateViewContext:
MaxHeapOperators

Class Description

This class contains view dependent information for calling IObjectDisplay2::UpdatePerViewItems()

Public Member Functions

GraphicsDriverAPI  UpdateViewContext ()
virtual GraphicsDriverAPI  ~UpdateViewContext ()
GraphicsDriverAPI ViewExp GetView () const
  Get the current view for updating per view items which would be used by IObjectDisplay2::UpdatePerViewItems().
GraphicsDriverAPI void  SetView (ViewExp *pView)
  Set the current view for updating per view items.

Protected Attributes

UpdateViewContextImpl *  mpImpl

Constructor & Destructor Documentation

GraphicsDriverAPI UpdateViewContext ( )
virtual GraphicsDriverAPI ~UpdateViewContext ( ) [virtual]

Member Function Documentation

GraphicsDriverAPI ViewExp* GetView ( ) const

Get the current view for updating per view items which would be used by IObjectDisplay2::UpdatePerViewItems().

And during the execution of IObjectDisplay2::UpdatePerNodeItems(), NULL would be returned for this function.

Returns:
the current view for updating per view items.
GraphicsDriverAPI void SetView ( ViewExp pView )

Set the current view for updating per view items.

Parameters:
pView the current view for updating per view items.

Member Data Documentation

UpdateViewContextImpl* mpImpl [protected]