3ds Max C++ API Reference
|
This class represent one entry in the list of batch render views. More...
#include <IBatchRenderManager.h>
Public Types | |
enum | { E_GET_CAMERA , E_SET_CAMERA , E_GET_WIDTH , E_SET_WIDTH , E_GET_HEIGHT , E_SET_HEIGHT , E_GET_START , E_SET_START , E_GET_END , E_SET_END , E_GET_NAME , E_SET_NAME , E_GET_PRESET , E_SET_PRESET , E_GET_FULL_PRESETPATH , E_GET_SCENESTATE , E_SET_SCENESTATE , E_GET_ENABLED , E_SET_ENABLED , E_GET_FILENAME , E_SET_FILENAME , E_GET_ASPECT , E_SET_ASPECT , E_GET_OVERRIDE_PRESET , E_SET_OVERRIDE_PRESET } |
Public Types inherited from BaseInterface | |
enum | LifetimeType { noRelease , immediateRelease , wantsRelease , serverControlled } |
Public Member Functions | |
virtual INode * | GetCamera ()=0 |
Get the camera that the batch render view is rendering. More... | |
virtual bool | SetCamera (INode *node)=0 |
Set the camera that the batch render view is rendering. More... | |
virtual int | GetWidth ()=0 |
Get the width of the rendering output. More... | |
virtual bool | SetWidth (int width)=0 |
Set the width of the rendering output. More... | |
virtual int | GetHeight ()=0 |
Get the height of the rendering output. More... | |
virtual bool | SetHeight (int height)=0 |
Set the height of the rendering output. More... | |
virtual TimeValue | GetStart ()=0 |
Get the start frame of the segment to render. More... | |
virtual void | SetStart (TimeValue start)=0 |
Set the start frame of the segment to render. More... | |
virtual TimeValue | GetEnd ()=0 |
Get the end frame of the segment to render. More... | |
virtual void | SetEnd (TimeValue end)=0 |
Set the end frame of the segment to render. More... | |
virtual const MCHAR * | GetName ()=0 |
Get the name of the batch render view. More... | |
virtual bool | SetName (const MCHAR *name)=0 |
Set the name of the batch render view. More... | |
virtual const MaxSDK::AssetManagement::AssetUser & | GetPresetFile ()=0 |
Return the render preset used by the batch render view. More... | |
virtual void | SetPresetFile (const MaxSDK::AssetManagement::AssetUser &preset)=0 |
Set the filename of the render preset used for the batch render view. More... | |
virtual bool | GetFullPresetPath (MSTR &path)=0 |
Get the fully qualified path to the render preset. More... | |
virtual const MCHAR * | GetSceneState ()=0 |
Get the scene state used by the batch render view. More... | |
virtual void | SetSceneState (const MCHAR *sceneState)=0 |
Set the scene state to be used by the batch render view. More... | |
virtual bool | GetEnabled ()=0 |
Check if the batch render view is enabled. More... | |
virtual void | SetEnabled (bool enabled)=0 |
Enable or disable the batch render view. More... | |
virtual BitmapInfo * | GetFileOutputInfo ()=0 |
Get the parameters of the output file for the batch render view. More... | |
virtual void | SetFileOutputInfo (BitmapInfo *bi)=0 |
Set the parameters of the output file for the batch render view. More... | |
virtual float | GetAspect ()=0 |
Get the pixel ascpect ratio used for the rendering. More... | |
virtual void | SetAspect (float pixelAspect)=0 |
Set the pixel aspect ratio used for the rendering. More... | |
virtual bool | GetOverridePreset ()=0 |
Check if the render preset will be overridden for this batch render view. More... | |
virtual void | SetOverridePreset (bool override)=0 |
Set whether or not the render preset will be overridden for this batch render view. More... | |
Public Member Functions inherited from FPMixinInterface | |
FPMixinInterface () | |
virtual LifetimeType | LifetimeControl () |
virtual CoreExport bool | RegisterNotifyCallback (InterfaceNotifyCallback *incb) |
virtual void | UnRegisterNotifyCallback (InterfaceNotifyCallback *incb) |
CoreExport | ~FPMixinInterface () |
virtual BaseInterface * | GetInterface (Interface_ID id) |
virtual FPInterfaceDesc * | GetDescByID (Interface_ID id) |
virtual Interface_ID | GetID () |
Public Member Functions inherited from FPInterface | |
virtual FPInterfaceDesc * | GetDesc ()=0 |
virtual CoreExport FPStatus | Invoke (FunctionID fid, TimeValue t=0, FPParams *params=NULL) |
virtual FPStatus | Invoke (FunctionID fid, FPParams *params) |
virtual CoreExport FPStatus | Invoke (FunctionID fid, TimeValue t, FPValue &result, FPParams *params=NULL) |
virtual FPStatus | Invoke (FunctionID fid, FPValue &result, FPParams *params=NULL) |
virtual CoreExport FunctionID | FindFn (const MCHAR *name) |
virtual CoreExport BOOL | IsEnabled (FunctionID actionID) |
virtual CoreExport BOOL | IsChecked (FunctionID actionID) |
virtual CoreExport BOOL | IsVisible (FunctionID actionID) |
virtual CoreExport FunctionID | GetIsEnabled (FunctionID actionID) |
virtual CoreExport FunctionID | GetIsChecked (FunctionID actionID) |
virtual CoreExport FunctionID | GetIsVisible (FunctionID actionID) |
virtual ActionTable * | GetActionTable () |
virtual void | EnableActions (BOOL onOff) |
Public Member Functions inherited from BaseInterface | |
virtual UtilExport | ~BaseInterface () |
Destructor. More... | |
virtual BaseInterface * | AcquireInterface () |
virtual void | ReleaseInterface () |
virtual void | DeleteInterface () |
virtual BaseInterface * | CloneInterface (void *remapDir=nullptr) |
Public Member Functions inherited from InterfaceServer | |
virtual UtilExport | ~InterfaceServer () |
Destructor. More... | |
template<class InterfaceType > | |
InterfaceType * | GetTypedInterface () |
Additional Inherited Members | |
Static Public Member Functions inherited from MaxHeapOperators | |
static UtilExport void * | operator new (size_t size) |
Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More... | |
static UtilExport void * | operator 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 void * | operator 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 void * | operator 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 void * | operator 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 void * | operator 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 void * | operator 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 void * | operator 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 void * | operator 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 void * | operator 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 void * | operator new[] (size_t size, int block_type, const char *filename, int line) |
New operator used to allocate arrays of objects. More... | |
static UtilExport void * | operator 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 void * | operator 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 void * | operator 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 void * | operator 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 void * | aligned_malloc (size_t size, size_t alignment) |
Allocates memory on a specified alignment boundary. More... | |
static UtilExport void * | aligned_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... | |
Static Public Attributes inherited from FPInterface | |
static CoreExport FPInterfaceDesc | nullInterface |
Protected Member Functions inherited from FPMixinInterface | |
FPMixinInterface (const FPMixinInterface &rhs) | |
FPMixinInterface & | operator= (const FPMixinInterface &rhs) |
Protected Member Functions inherited from FPInterface | |
virtual FPStatus | _dispatch_fn (FunctionID fid, TimeValue t, FPValue &result, FPParams *p) |
Protected Member Functions inherited from Noncopyable | |
Noncopyable () | |
~Noncopyable () | |
Protected Attributes inherited from FPMixinInterface | |
Tab< InterfaceNotifyCallback * > * | interfaceNotifyCBs |
This class represent one entry in the list of batch render views.
You can use the properties in this class to read or change the parameters for each batch render view.
anonymous enum |
|
pure virtual |
Get the camera that the batch render view is rendering.
|
pure virtual |
Set the camera that the batch render view is rendering.
[in] | node | - The camera node to use, or NULL to render from the current viewport |
|
pure virtual |
Get the width of the rendering output.
Applicable only when the preset override is enabled.
|
pure virtual |
Set the width of the rendering output.
Applicable only when the preset override is enabled.
[in] | width | - The width of the rendered output in pixels |
|
pure virtual |
Get the height of the rendering output.
Applicable only when the preset override is enabled.
|
pure virtual |
Set the height of the rendering output.
Applicable only when the preset override is enabled.
[in] | height | - The height of the rendered output in pixels |
|
pure virtual |
Get the start frame of the segment to render.
Applicable only when the preset override is enabled.
Set the start frame of the segment to render.
Applicable only when the preset override is enabled.
[in] | start | - The time of the first frame to render |
|
pure virtual |
Get the end frame of the segment to render.
Applicable only when the preset override is enabled.
Set the end frame of the segment to render.
Applicable only when the preset override is enabled.
[in] | end | - The time of the last frame to render |
|
pure virtual |
Get the name of the batch render view.
|
pure virtual |
Set the name of the batch render view.
Batch render views must be unique in the same scene.
[in] | name | - The new name of the batch render view |
|
pure virtual |
Return the render preset used by the batch render view.
|
pure virtual |
Set the filename of the render preset used for the batch render view.
[in] | preset | - The filename of the render preset |
|
pure virtual |
Get the fully qualified path to the render preset.
[out] | path | - The fully qualified path of the render preset |
|
pure virtual |
Get the scene state used by the batch render view.
Set the scene state to be used by the batch render view.
[in] | sceneState | - The name of the scene state |
|
pure virtual |
Check if the batch render view is enabled.
|
pure virtual |
Enable or disable the batch render view.
[in] | enabled | - Set to true to enable the batch render the view, false to disable it |
|
pure virtual |
Get the parameters of the output file for the batch render view.
|
pure virtual |
Set the parameters of the output file for the batch render view.
[in] | bi | - A BitmapInfo object to use when saving the file |
|
pure virtual |
Get the pixel ascpect ratio used for the rendering.
Applicable only when the preset override is enabled.
|
pure virtual |
Set the pixel aspect ratio used for the rendering.
Applicable only when the preset override is enabled.
[in] | pixelAspect | - The pixel aspect ratio |
|
pure virtual |
Check if the render preset will be overridden for this batch render view.
If this flag is 'false', the value of the width, height, start, end and aspect parameters will be taken from the render preset, or the current render settings if no preset is used. Only if this flag is true will these settings be taken from the values in this batch render view
|
pure virtual |
Set whether or not the render preset will be overridden for this batch render view.
If this flag is 'false', the value of the width, height, start, end and aspect parameters will be taken from the render preset, or the current render settings if no preset is used. Only if this flag is true will these settings be taken from the values in this batch render view
[in] | override | - true to use the settings in this batch render view, false to use the current render settings or render preset. |