#include <c4d_takesystemhook.h>
Public Types | |
typedef NodeData | SUPER |
![]() | |
typedef PrivateChunk | SUPER |
Static Public Member Functions | |
static NodeData * | Alloc () |
Additional Inherited Members | |
![]() | |
virtual Bool | Execute () |
virtual Int32 | GetDiskType () const |
virtual Bool | TranslateDescID (GeListNode *node, const DescID &id, DescID &res_id, GeListNode *&res_at) |
![]() | |
virtual Bool | HandleSubChunk (HyperFile *hf, Int32 id, Int32 level) |
The SceneHookData that handle the Takes structure and system in a document.
TakeSystemHook | ( | ) |
|
virtual |
Reimplemented from NodeData.
|
virtual |
Called when an instance of a derived node data class needs to be initialized.
Reimplemented from NodeData.
|
virtual |
Reimplemented from NodeData.
Reads the node from a hyper file.
[in] | hf | The hyper file to read from. Cineware SDK owns the pointed hyper file. |
[in] | id | The ID of the node to read. |
[in] | level | The disklevel of the node to read. |
Reimplemented from NodeData.
Reimplemented from PrivateChunk.
|
virtual |
Private.
Reimplemented from NodeData.
|
virtual |
Reimplemented from PrivateChunk.
TAKE_MODE GetMode | ( | ) |
Retrieve the take system global mode, can be TAKE_MODE_MANUAL or TAKE_MODE_AUTO. This mode Affect how the user have to interact with GUI to override parameters.
void SetMode | ( | TAKE_MODE | mode | ) |
Define the take system global mode, can be TAKE_MODE_MANUAL or TAKE_MODE_AUTO. Just for internal use to change mode outside of the take module please use the corresponding Command. This mode affect how the user have to interact with GUI to override parameters.
[in] | mode | The new mode to set. |
void SetAutoSelect | ( | Bool | autoSelect | ) |
Set auto selection state for the document.
[in] | autoSelect | If true selected elements in Take manager will be selected also in other related managers. |
Bool GetAutoSelect | ( | ) |
Gets the state of auto selection for the document.
BaseTake* GetMainTake | ( | BaseDocument * | doc | ) |
Retrieve a pointer to the Main take in doc. Main take is always the first under the header.
[in] | doc | A valid BaseDocument. |
BaseTake* GetcurrentTake | ( | BaseDocument * | doc | ) |
Retrieve a pointer to the current take in doc.
[in] | doc | A valid BaseDocument. |
void SetCurrentTake | ( | BaseDocument * | doc, |
BaseTake * | cTake | ||
) |
Set the current take for this Document.
[in] | doc | A valid BaseDocument. |
[in] | cTake | The new current take for this document. |
BaseTake* AddTake | ( | BaseDocument * | doc, |
const String & | name, | ||
BaseTake * | parent, | ||
BaseTake * | cloneFrom | ||
) |
Create and insert a new take and return a pointer to it. Note: selections have to be handled manually.
[in] | doc | A valid BaseDocument. |
[in] | name | The Name or the new take if pass an empty string default name will be used. |
[in] | parent | Optionally can be passed a parent take otherwise mew take will be added at the end of the list under Main. |
[in] | cloneFrom | NOT SUPPORTED YET (If a another take is passed the new take will be cloned form it). |
void DeleteTake | ( | BaseDocument * | doc, |
BaseTake * | take | ||
) |
Delete passed take and all connected overrides, if take is the current take The main Take will be set as current.
[in] | doc | A Valid BaseDocument. |
[in] | take | The Take To be deleted. |
BaseLinkArray* GetCameraList | ( | ) |
Retrieve a pointer to the Global Camera list for this document. This list is useful in various part of the GUI EG context menu or combo box.
BaseLinkArray* GetRenderdataList | ( | ) |
Retrieve a pointer to the Global RenderData list for this document. This list is useful in various part of the GUI EG context menu or combo box.
OVERRIDEENABLING GetOverrideEnabling | ( | ) |
Gets the Override enabling state.
void SetOverrideEnabling | ( | OVERRIDEENABLING | enabling | ) |
Define the override enabling.
[in] | enabling | The overrides type to be enabled. |
|
static |
void CheckTakeName | ( | BaseTake * | op | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |