Public Member Functions | |
| HRESULT | GetCurrentScene ([out, retval] IRnSpace3D **ppCurrScene) |
| HRESULT | SetCurrentScene ([in] IRnSpace3D *pNewScene) |
| HRESULT | GetCurrentSceneName ([out, retval] BSTR *pbszCurrSceneName) |
| HRESULT | EnumScenes ([out, retval] IRsEnumNodes **ppEnum) |
| HRESULT | RenameCurrentScene ([in] BSTR bszNewSceneName) |
| HRESULT | ReplaceCurrScene ([in] IRnSpace3D *pNewSpace3D) |
| HRESULT | ClearCurrentScene (void) |
| HRESULT | SaveScene ([in] BSTR bstrFileName,[in] BSTR bstrAuthor,[in] BSTR bstrDescr,[in] IRdBitmap *pThumbnail,[in] IRsNode *pScene) |
| HRESULT | SaveSceneNode ([in] IRsFileHandle *pRsFileHandle,[in] IRsNode *pScene) |
| HRESULT | LoadScene ([in] BSTR bstrFileName) |
| HRESULT | LoadSceneNode ([in] IRsFileHandle *pRsFileHandle,[in] IRsNode **ppScene) |
| HRESULT IRfSceneHelper::GetCurrentScene | ( | [out, retval] IRnSpace3D ** | ppCurrScene | ) |
Return the current scene object.
Standard HRESULT processing can be applied to the result.
| HRESULT IRfSceneHelper::SetCurrentScene | ( | [in] IRnSpace3D * | pNewScene | ) |
Set new current scene.
| pNewScene | [in] Pointer to the scene object that will be set as current scene. |
| HRESULT IRfSceneHelper::GetCurrentSceneName | ( | [out, retval] BSTR * | pbszCurrSceneName | ) |
Get current scene's name.
Standard HRESULT processing can be applied to the result.
| HRESULT IRfSceneHelper::EnumScenes | ( | [out, retval] IRsEnumNodes ** | ppEnum | ) |
Return the scene enumerator.
Standard HRESULT processing can be applied to the result.
| HRESULT IRfSceneHelper::RenameCurrentScene | ( | [in] BSTR | bszNewSceneName | ) |
Rename current scene.
| bszNewSceneName | [in] New name for current scene. |
| HRESULT IRfSceneHelper::ReplaceCurrScene | ( | [in] IRnSpace3D * | pNewSpace3D | ) |
Replace current scenes's content by the one from pNewSpace3D scene object.
| pNewSpace3D | [in] The source object that content will be put into current scene object. |
| HRESULT IRfSceneHelper::ClearCurrentScene | ( | void | ) |
Clears the current scene.
| HRESULT IRfSceneHelper::SaveScene | ( | [in] BSTR | bstrFileName, | |
| [in] BSTR | bstrAuthor, | |||
| [in] BSTR | bstrDescr, | |||
| [in] IRdBitmap * | pThumbnail, | |||
| [in] IRsNode * | pScene | |||
| ) |
Save scene to specified file and send all necessary events.
| bstrFileName | [in] Desired filename. | |
| bstrAuthor | [in] Author of the file. | |
| bstrDescr | [in] File description. | |
| pThumbnail | [in] Thumbnail. | |
| pScene | [in] Scene to save. If NULL, the current one will be used. |
| HRESULT IRfSceneHelper::SaveSceneNode | ( | [in] IRsFileHandle * | pRsFileHandle, | |
| [in] IRsNode * | pScene | |||
| ) |
Save scene to specified file handle.
| pRsFileHandle | [in] File handle to which the scene will be written. | |
| pScene | [in] The scene object. |
| HRESULT IRfSceneHelper::LoadScene | ( | [in] BSTR | bstrFileName | ) |
Load scene from specified file.
| bstrFileName | [in] Scene's filename. |
| HRESULT IRfSceneHelper::LoadSceneNode | ( | [in] IRsFileHandle * | pRsFileHandle, | |
| [in] IRsNode ** | ppScene | |||
| ) |
Load scene from specified file handle.
| pRsFileHandle | [in] File handle from which the scene should be read. | |
| ppScene | [in] The scene object if successfully loaded. |
1.5.5