CreateRendImgSeqCallback Class Reference
 
 
 
CreateRendImgSeqCallback Class Reference

#include <maxapi.h>

Inheritance diagram for CreateRendImgSeqCallback:
MaxHeapOperators

Class Description

A callback object called for each sequence file created with Interface8::CreateRendImgSeq()

Pass an instance of this class to Interface8::CreateRendImgSeq(). For each sequence file created, the callback method will be called. The method can modify the name of the sequence file or return false to prevent creation of the file.

Public Member Functions

virtual  ~CreateRendImgSeqCallback ()
virtual BOOL  CreateRendImgSeq (MSTR &filename, int objType, void *objPtr)=0
  Method called for each sequence file to create.

Constructor & Destructor Documentation

virtual ~CreateRendImgSeqCallback ( ) [inline, virtual]
Remarks:
Destructor.
{}

Member Function Documentation

virtual BOOL CreateRendImgSeq ( MSTR filename,
int  objType,
void *  objPtr 
) [pure virtual]

Method called for each sequence file to create.

Parameters:
[in,out] filename - Full path and name of the sequence file; may be modified by the callee
[in] objType - 0 for the main render output, or 1 for render elements
[in] objPtr - NULL for the main render output, or IRenderElement* for render elements
Returns:
Return FALSE to prevent creation of the sequence file, TRUE otherwise.