SO3Engine
|
#include <ALNode.h>
Public Member Functions | |
ALNode (aiNode *asNode, SNode *pNode, ALScene *alscene, std::vector< aiCamera * > camerasNames, std::vector< aiLight * > lightsNames) | |
ALNode (aiNode *asNode, SNode *pNode, ALScene *alscene, std::vector< aiCamera * > camerasNames, std::vector< aiLight * > lightsNames, tinyxml2::XMLElement *xmlParent) | |
~ALNode () | |
tinyxml2::XMLElement * | convert (boost::filesystem::path expPath) |
SNode * | load () |
bool | isMesh (aiNode *node) |
Check if a node is a mesh. | |
bool | isCamera (aiNode *node) |
Check if a node is a camera. | |
bool | isLight (aiNode *node) |
Check if a node is a light. | |
bool | isBone (aiNode *node) |
Check if a node is a bone. | |
bool | isSceneDependent (aiNode *node) |
SO3::ALNode::ALNode | ( | aiNode * | asNode, |
SNode * | pNode, | ||
ALScene * | alscene, | ||
std::vector< aiCamera * > | camerasNames, | ||
std::vector< aiLight * > | lightsNames | ||
) |
camerasNames | : List of camera, used to check if a node is associated to a camera. |
lightNames | : List of light, used to check if a node is associated to a light. |
exportPath | : Pointer to a path where meshes should be saved. If it's equal to zero, mesh will not be saved. |
Definition at line 9 of file ALNode.cpp.
SO3::ALNode::ALNode | ( | aiNode * | asNode, |
SNode * | pNode, | ||
ALScene * | alscene, | ||
std::vector< aiCamera * > | camerasNames, | ||
std::vector< aiLight * > | lightsNames, | ||
tinyxml2::XMLElement * | xmlParent | ||
) |
Definition at line 33 of file ALNode.cpp.
SO3::ALNode::~ALNode | ( | ) |
Destructor
Definition at line 58 of file ALNode.cpp.
tinyxml2::XMLElement * SO3::ALNode::convert | ( | boost::filesystem::path | expPath | ) |
Definition at line 86 of file ALNode.cpp.
bool SO3::ALNode::isBone | ( | aiNode * | node | ) |
Check if a node is a bone.
Definition at line 383 of file ALNode.cpp.
bool SO3::ALNode::isCamera | ( | aiNode * | node | ) |
Check if a node is a camera.
Definition at line 361 of file ALNode.cpp.
bool SO3::ALNode::isLight | ( | aiNode * | node | ) |
Check if a node is a light.
Definition at line 372 of file ALNode.cpp.
bool SO3::ALNode::isMesh | ( | aiNode * | node | ) |
Check if a node is a mesh.
Definition at line 356 of file ALNode.cpp.
bool SO3::ALNode::isSceneDependent | ( | aiNode * | node | ) |
Definition at line 388 of file ALNode.cpp.
SNode * SO3::ALNode::load | ( | ) |
Definition at line 265 of file ALNode.cpp.