#include <scriptnode.h>
Public Member Functions | |
| ScriptNode (ScriptScene *_ss, SCENE_ID sid, NODE_ID nid) | |
| NODE_ID | GetID () throw (NodeScriptException, SceneScriptException) |
| const wxString & | GetName () throw (NodeScriptException, SceneScriptException) |
| const wxString & | GetUid () throw (NodeScriptException, SceneScriptException) |
| const MATRIX * | GetLocalTransMatrix () throw (NodeScriptException, SceneScriptException) |
| const MATRIX * | GetWorldTransMatrix () throw (NodeScriptException, SceneScriptException) |
| const SceneNode::NodeIDList * | GetChildren () throw (NodeScriptException, SceneScriptException) |
| NODE_ID | GetParent () throw (NodeScriptException, SceneScriptException) |
| bool | IsValid () throw (NodeScriptException, SceneScriptException) |
| bool | IsActive () throw (NodeScriptException, SceneScriptException) |
| SceneNode::SCENENODE_TYPE | GetType () throw (NodeScriptException, SceneScriptException) |
| bool | IsOfType (SceneNode::SCENENODE_TYPE _type) throw (NodeScriptException, SceneScriptException) |
Private Member Functions | |
| const SceneNode * | getNode () throw (NodeScriptException, SceneScriptException) |
| The method for getting SceneNode which this class accesses. | |
Private Attributes | |
| Kernel * | kernel |
| The Kernel pointer. | |
| ScriptScene * | ss |
| The ScriptScene pointer. | |
| SCENE_ID | sceneID |
| The scene ID. | |
| NODE_ID | nodeID |
| The node ID. | |
Definition at line 24 of file scriptnode.h.
| VRUT::ScriptNode::ScriptNode | ( | ScriptScene * | _ss, | |
| SCENE_ID | sid, | |||
| NODE_ID | nid | |||
| ) | [inline] |
| const SceneNode * ScriptNode::getNode | ( | ) | throw (NodeScriptException, SceneScriptException) [private] |
The method for getting SceneNode which this class accesses.
Definition at line 20 of file scriptnode.cpp.
00021 { 00022 Scene *scene = ss->getScene(); 00023 const SceneNode *node = scene->GetNode(nodeID); 00024 if (!node) 00025 { 00026 ss->deleteScriptNode(nodeID); 00027 throw NodeScriptException(); 00028 } 00029 return node; 00030 }
| NODE_ID VRUT::ScriptNode::GetID | ( | ) | throw (NodeScriptException, SceneScriptException) [inline] |
| const wxString& VRUT::ScriptNode::GetName | ( | ) | throw (NodeScriptException, SceneScriptException) [inline] |
| const wxString& VRUT::ScriptNode::GetUid | ( | ) | throw (NodeScriptException, SceneScriptException) [inline] |
| const MATRIX* VRUT::ScriptNode::GetLocalTransMatrix | ( | ) | throw (NodeScriptException, SceneScriptException) [inline] |
Definition at line 58 of file scriptnode.h.
00059 { 00060 return getNode()->GetLocalTransMatrix(); 00061 }
| const MATRIX* VRUT::ScriptNode::GetWorldTransMatrix | ( | ) | throw (NodeScriptException, SceneScriptException) [inline] |
Definition at line 63 of file scriptnode.h.
00064 { 00065 return getNode()->GetWorldTransMatrix(); 00066 }
| const SceneNode::NodeIDList* VRUT::ScriptNode::GetChildren | ( | ) | throw (NodeScriptException, SceneScriptException) [inline] |
| NODE_ID VRUT::ScriptNode::GetParent | ( | ) | throw (NodeScriptException, SceneScriptException) [inline] |
| bool VRUT::ScriptNode::IsValid | ( | ) | throw (NodeScriptException, SceneScriptException) [inline] |
| bool VRUT::ScriptNode::IsActive | ( | ) | throw (NodeScriptException, SceneScriptException) [inline] |
| SceneNode::SCENENODE_TYPE VRUT::ScriptNode::GetType | ( | ) | throw (NodeScriptException, SceneScriptException) [inline] |
| bool VRUT::ScriptNode::IsOfType | ( | SceneNode::SCENENODE_TYPE | _type | ) | throw (NodeScriptException, SceneScriptException) [inline] |
Definition at line 93 of file scriptnode.h.
00094 { 00095 return getNode()->IsOfType(_type); 00096 }
Kernel* VRUT::ScriptNode::kernel [private] |
ScriptScene* VRUT::ScriptNode::ss [private] |
SCENE_ID VRUT::ScriptNode::sceneID [private] |
NODE_ID VRUT::ScriptNode::nodeID [private] |
1.5.5