SO3Engine
|
SO3::ALNode Class Reference
#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) |
Detailed Description
Constructor & Destructor Documentation
◆ ALNode() [1/2]
SO3::ALNode::ALNode | ( | aiNode * | asNode, |
SNode * | pNode, | ||
ALScene * | alscene, | ||
std::vector< aiCamera * > | camerasNames, | ||
std::vector< aiLight * > | lightsNames | ||
) |
- Parameters
-
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.
◆ ALNode() [2/2]
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.
◆ ~ALNode()
SO3::ALNode::~ALNode | ( | ) |
Destructor
Definition at line 58 of file ALNode.cpp.
Member Function Documentation
◆ convert()
tinyxml2::XMLElement * SO3::ALNode::convert | ( | boost::filesystem::path | expPath | ) |
Definition at line 86 of file ALNode.cpp.
◆ isBone()
bool SO3::ALNode::isBone | ( | aiNode * | node | ) |
Check if a node is a bone.
Definition at line 383 of file ALNode.cpp.
◆ isCamera()
bool SO3::ALNode::isCamera | ( | aiNode * | node | ) |
Check if a node is a camera.
Definition at line 361 of file ALNode.cpp.
◆ isLight()
bool SO3::ALNode::isLight | ( | aiNode * | node | ) |
Check if a node is a light.
Definition at line 372 of file ALNode.cpp.
◆ isMesh()
bool SO3::ALNode::isMesh | ( | aiNode * | node | ) |
Check if a node is a mesh.
Definition at line 356 of file ALNode.cpp.
◆ isSceneDependent()
bool SO3::ALNode::isSceneDependent | ( | aiNode * | node | ) |
Definition at line 388 of file ALNode.cpp.
◆ load()
SNode * SO3::ALNode::load | ( | ) |
Definition at line 265 of file ALNode.cpp.
The documentation for this class was generated from the following files:
- include/SO3SceneLoader/ALNode.h
- src/SO3SceneLoader/ALNode.cpp
Generated by 1.9.8