IPFViewportExtension2 Class Reference
 
 
 
IPFViewportExtension2 Class Reference

#include <IPFViewport.h>

Inheritance diagram for IPFViewportExtension2:
BaseInterface InterfaceServer MaxHeapOperators

Class Description

This interface is used for extending IPFViewport with an additional method UpdateDisplay().

This provides a default implementation of the virtual function MaxSDK::Graphics::IObjectDisplay::UpdateDisplay().

Public Member Functions

  IPFViewportExtension2 ()
virtual  ~IPFViewportExtension2 ()
virtual bool  UpdateDisplay (const MaxSDK::Graphics::GenerateMeshRenderItemsContext &generateRenderItemsContext, TimeValue t, IObject *pCont, Object *pSystem, MaxSDK::Graphics::RenderItemHandleArray &renderItemHandleArray, Tab< Matrix3 > &matrices)
  virtual int UpdateDisplay(IObject* pCont, TimeValue time, Object* pSystem, INode* psNode, INode* pgNode, ViewExp *vpt, int flags); This provides a default implementation of the virtual function MaxSDK::Graphics::IObjectDisplay::UpdateDisplay().

Constructor & Destructor Documentation

IPFViewportExtension2 ( ) [inline]
{}
virtual ~IPFViewportExtension2 ( ) [inline, virtual]
{}

Member Function Documentation

virtual bool UpdateDisplay ( const MaxSDK::Graphics::GenerateMeshRenderItemsContext generateRenderItemsContext,
TimeValue  t,
IObject pCont,
Object pSystem,
MaxSDK::Graphics::RenderItemHandleArray renderItemHandleArray,
Tab< Matrix3 > &  matrices 
) [inline, virtual]

virtual int UpdateDisplay(IObject* pCont, TimeValue time, Object* pSystem, INode* psNode, INode* pgNode, ViewExp *vpt, int flags); This provides a default implementation of the virtual function MaxSDK::Graphics::IObjectDisplay::UpdateDisplay().

Parameters:
renderItemCategories viewport as of the BaseObject::Display() method
materialRequiredStreams flags as of the BaseObject::Display() method
t current frame to draw particles at. It's supposed that the container has been already updated to satisfy this moment
pCont particle container to draw particles from
pSystem particle system that makes the call
renderItemHandleArray The output generated render item handle array.
matrices Output the matrices for every renderitem in renderItemHandleArray
        {
                UNUSED_PARAM(generateRenderItemsContext);
                UNUSED_PARAM(t);
                UNUSED_PARAM(pCont);
                UNUSED_PARAM(pSystem);
                UNUSED_PARAM(renderItemHandleArray);
                UNUSED_PARAM(matrices);
                return false;
        }