#include <c4d_renderdata.h>
Public Types | |
typedef BaseList4D | SUPER |
Public Types inherited from BaseList4D | |
typedef BaseList2D | SUPER |
Public Types inherited from BaseList2D | |
typedef GeListNode | SUPER |
Public Types inherited from GeListNode | |
typedef PrivateChunk | SUPER |
Protected Member Functions | |
RenderData () | |
Protected Member Functions inherited from BaseList4D | |
BaseList4D () | |
~BaseList4D () | |
Protected Member Functions inherited from BaseList2D | |
void | SetID (Int32 id) |
virtual Int32 | GetInstanceType () const |
Private Attributes | |
RootVideoPost | mp_posteffect |
RootMultipass | mp_multipass |
BaseContainer | inheritance_container |
Alloc/Free | |
virtual Int32 | GetType () const |
static RenderData * | Alloc () |
static void | Free (RenderData *&rd) |
Navigation | |
RenderData * | GetNext () |
RenderData * | GetPred () |
RenderData * | GetUp () |
RenderData * | GetDown () |
RenderData * | GetDownLast () |
VideoPost List | |
BaseVideoPost * | GetFirstVideoPost () |
void | InsertVideoPost (BaseVideoPost *pvp, BaseVideoPost *pred) |
void | InsertVideoPostLast (BaseVideoPost *pvp) |
Multipass List | |
MultipassObject * | GetFirstMultipass () |
void | InsertMultipass (MultipassObject *pmp, MultipassObject *pred) |
void | InsertMultipassLast (MultipassObject *pmp) |
void | GetResolution (Float &width, Float &height, Float &pixelAspect, Float &filmAspect) |
void | SetResolution (Float width, Float height, Float pixelAspect, Float filmAspect) |
void | GetAnimationSettings (Int32 &fseq, Float &fps, BaseTime &start, BaseTime &end, Int32 &field) |
void | SetAnimationSettings (Int32 fseq, Float fps, BaseTime start, BaseTime end, Int32 field) |
Color Profile | |
void | SetImageColorProfileToDefaultLinearRGB () |
void | SetImageColorProfileToDefaultLinearGray () |
void | SetImageColorProfileToDefaultSRGB () |
void | SetImageColorProfileToDefaultSGray () |
Clone | |
virtual BaseList2D * | GetClone (COPYFLAGS flags, AliasTrans *trn) |
Private | |
virtual Bool | CopyToX (PrivateChunk *dst, COPYFLAGS flags, AliasTrans *trn) |
virtual Bool | HandleSubChunk (HyperFile *hf, Int32 id, Int32 level) |
virtual Bool | Write (HyperFile *hf) |
virtual Bool | GetDParameter (const DescID &id, GeData &t_data) |
virtual Bool | SetDParameter (const DescID &id, const GeData &t_data) |
Additional Inherited Members | |
Protected Attributes inherited from BaseList2D | |
Int32 | m_id |
RootShader | mp_rootshader |
RootShader | mp_rootshader_hidden |
RootShader | root_shader_repository |
Int32 | l_bitfeld |
RootCTrack | mp_rootctrack |
RootPluginNode | root_override |
NotifyList * | notify_events |
DescIdStore * | keyframestore |
DescIdStore * | propstore |
BaseContainer | m_bc |
NodeData * | m_data |
Protected Attributes inherited from GeListNode | |
GeAliasGoal | m_xgoal |
UInt32 | m_bits [4] |
RootList2D * | t_rootlist_parent |
RootList2D * | m_children |
BaseDocument * | parent_doc |
void * | unknownData |
Int | unknownDataSize |
Int32 | unknownDataLevel |
Int32 | pluginID |
Contains a container with all the render settings/options.
Several render data instances can be added to a document. The active one will be used for rendering.
typedef BaseList4D SUPER |
|
protected |
|
virtual |
Reimplemented from BaseList4D.
|
static |
Allocates a render data. Destroy the allocated render data with Free().
|
static |
Destructs render data allocated with Alloc().
[in,out] | rd | The render data to destruct. If the pointer is nullptr nothing happens. The pointer is assigned nullptr afterwards. |
|
virtual |
Gets the object type for a render data.
Reimplemented from BaseList2D.
RenderData* GetNext | ( | ) |
Gets the next render data in the list.
RenderData* GetPred | ( | ) |
Gets the previous render data in the list.
RenderData* GetUp | ( | ) |
Gets the parent render data of the list node.
RenderData* GetDown | ( | ) |
Gets the first child render data of the list node.
RenderData* GetDownLast | ( | ) |
Gets the last child render data of the list node.
BaseVideoPost* GetFirstVideoPost | ( | ) |
Gets the first video post of the render settings.
void InsertVideoPost | ( | BaseVideoPost * | pvp, |
BaseVideoPost * | pred | ||
) |
Inserts video post pvp into the render settings.
The insertion position can be specified by the pred parameter, inserting video post pvp below it.
[in] | pvp | The video post to insert. The render data takes over the ownership of the pointed video post. |
[in] | pred | The video post to insert pvp after, or nullptr to insert it first. The caller owns the pointed video post. |
void InsertVideoPostLast | ( | BaseVideoPost * | pvp | ) |
Inserts pvp as the last video post in the render settings.
[in] | pvp | The video post to insert. The render data takes over the ownership of the pointed video post. |
MultipassObject* GetFirstMultipass | ( | ) |
Gets the first multipass channel of the render settings.
.
void InsertMultipass | ( | MultipassObject * | pmp, |
MultipassObject * | pred | ||
) |
Inserts multipass channel pmp into the render settings.
The insertion position can be specified by the pred parameter, inserting multipass channel pmp below it.
[in] | pmp | The multipass channel to insert. The render data takes over the ownership of the pointed object. |
[in] | pred | The multipass channel to insert pvp after, or nullptr to insert it first. The caller owns the pointed multipass channel. |
void InsertMultipassLast | ( | MultipassObject * | pmp | ) |
Inserts pmp as last the multipass channel into the render settings.
[in] | pmp | The multipass channel to insert. The render data takes over the ownership of the pointed multipass channel. |
Gets the resolution and aspect ratio of the render settings.
[out] | width | Assigned the render width. |
[out] | height | Assigned the render height. |
[out] | pixelAspect | Assigned the pixel aspect ratio. |
[out] | filmAspect | Assigned the film aspect ratio. |
Sets the resolution and aspect ratio of the render settings.
[in] | width | The render width to set. |
[in] | height | The render height to set. |
[in] | pixelAspect | The render pixel aspect ratio to set. |
[in] | filmAspect | The render film aspect ratio to set. |
void GetAnimationSettings | ( | Int32 & | fseq, |
Float & | fps, | ||
BaseTime & | start, | ||
BaseTime & | end, | ||
Int32 & | field | ||
) |
Gets the animation settings of the render data.
[out] | fseq | Assigned the frame sequence: RDATA_FRAMESEQUENCE. |
[out] | fps | Assigned the frame rate (Frames per Second). |
[out] | start | Assigned the start time. |
[out] | end | Assigned the end time. |
[out] | field | Assigned the interlace field: RDATA_FIELD. |
Sets the animation settings of the render data.
[in] | fseq | The frame sequence to set set: RDATA_FRAMESEQUENCE. |
[in] | fps | The frame rate (Frames per Second) to set. |
[in] | start | The start time to set. |
[in] | end | The end time to set. |
[in] | field | The interlace field to set: RDATA_FIELD. |
void SetImageColorProfileToDefaultLinearRGB | ( | ) |
Sets the RenderData to use Cinema 4D default linear color profile.
void SetImageColorProfileToDefaultLinearGray | ( | ) |
Sets the RenderData to use Cinema 4D default linear grayscale color profile.
void SetImageColorProfileToDefaultSRGB | ( | ) |
Sets the RenderData to use Cinema 4D default sRGB color profile.
void SetImageColorProfileToDefaultSGray | ( | ) |
Sets the RenderData to use Cinema 4D default sRGB grayscale color profile.
|
virtual |
Gets a clone/copy of the render data.
[in] | flags | Flags for the clone. |
[in] | trn | An alias translator for the operation. Can be nullptr. The caller owns the pointed alias translator. |
Reimplemented from BaseList2D.
|
virtual |
Private.
Reimplemented from BaseList2D.
Private.
Reimplemented from BaseList4D.
Private.
Reimplemented from BaseList4D.
Private.
Reimplemented from BaseList2D.
Private.
Reimplemented from BaseList2D.
|
private |
|
private |
|
private |